|
@@ -103,12 +103,13 @@ void DrawCharCentered(WChar c, const Rec
|
|
|
void GfxFillRect(int left, int top, int right, int bottom, int colour, FillRectMode mode = FILLRECT_OPAQUE);
|
|
|
void GfxFillPolygon(const std::vector<Point> &shape, int colour, FillRectMode mode = FILLRECT_OPAQUE);
|
|
|
void GfxDrawLine(int left, int top, int right, int bottom, int colour, int width = 1, int dash = 0);
|
|
|
void DrawBox(int x, int y, int dx1, int dy1, int dx2, int dy2, int dx3, int dy3);
|
|
|
|
|
|
Dimension GetStringBoundingBox(const char *str, FontSize start_fontsize = FS_NORMAL);
|
|
|
Dimension GetStringBoundingBox(const std::string &str, FontSize start_fontsize = FS_NORMAL);
|
|
|
Dimension GetStringBoundingBox(StringID strid);
|
|
|
int GetStringHeight(const char *str, int maxw, FontSize fontsize = FS_NORMAL);
|
|
|
int GetStringHeight(StringID str, int maxw);
|
|
|
int GetStringLineCount(StringID str, int maxw);
|
|
|
Dimension GetStringMultiLineBoundingBox(StringID str, const Dimension &suggestion);
|
|
|
Dimension GetStringMultiLineBoundingBox(const char *str, const Dimension &suggestion);
|