72 void DrawStringRightAlignedUnderline(int x, int y, StringID str, uint16 color); |
72 void DrawStringRightAlignedUnderline(int x, int y, StringID str, uint16 color); |
73 |
73 |
74 void GfxFillRect(int left, int top, int right, int bottom, int color); |
74 void GfxFillRect(int left, int top, int right, int bottom, int color); |
75 void GfxDrawLine(int left, int top, int right, int bottom, int color); |
75 void GfxDrawLine(int left, int top, int right, int bottom, int color); |
76 void DrawFrameRect(int left, int top, int right, int bottom, int color, int flags); |
76 void DrawFrameRect(int left, int top, int right, int bottom, int color, int flags); |
77 uint16 GetDrawStringPlayerColor(PlayerID player); |
|
78 |
77 |
79 int GetStringWidth(const char *str); |
78 int GetStringWidth(const char *str); |
80 void LoadStringWidthTable(void); |
79 void LoadStringWidthTable(void); |
81 void DrawStringMultiCenter(int x, int y, StringID str, int maxw); |
80 void DrawStringMultiCenter(int x, int y, StringID str, int maxw); |
82 void DrawStringMultiLine(int x, int y, StringID str, int maxw); |
81 void DrawStringMultiLine(int x, int y, StringID str, int maxw); |