src/gfx_func.h
branchNewGRF_ports
changeset 10184 fcf5fb2548eb
parent 6878 7d1ff2f621c7
child 10724 68a692eacf22
equal deleted inserted replaced
10179:eec5a7dcbf61 10184:fcf5fb2548eb
    97 
    97 
    98 int DrawStringRightAligned(int x, int y, StringID str, uint16 color);
    98 int DrawStringRightAligned(int x, int y, StringID str, uint16 color);
    99 void DrawStringRightAlignedTruncated(int x, int y, StringID str, uint16 color, uint maxw);
    99 void DrawStringRightAlignedTruncated(int x, int y, StringID str, uint16 color, uint maxw);
   100 void DrawStringRightAlignedUnderline(int x, int y, StringID str, uint16 color);
   100 void DrawStringRightAlignedUnderline(int x, int y, StringID str, uint16 color);
   101 
   101 
       
   102 void DrawCharCentered(uint32 c, int x, int y, uint16 color);
       
   103 
   102 void GfxFillRect(int left, int top, int right, int bottom, int color);
   104 void GfxFillRect(int left, int top, int right, int bottom, int color);
   103 void GfxDrawLine(int left, int top, int right, int bottom, int color);
   105 void GfxDrawLine(int left, int top, int right, int bottom, int color);
   104 void DrawBox(int x, int y, int dx1, int dy1, int dx2, int dy2, int dx3, int dy3);
   106 void DrawBox(int x, int y, int dx1, int dy1, int dx2, int dy2, int dx3, int dy3);
   105 
   107 
   106 Dimension GetStringBoundingBox(const char *str);
   108 Dimension GetStringBoundingBox(const char *str);