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); |