diff options
Diffstat (limited to 'gui/newgui.h')
-rw-r--r-- | gui/newgui.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gui/newgui.h b/gui/newgui.h index 0df581d31b..f8e085f18a 100644 --- a/gui/newgui.h +++ b/gui/newgui.h @@ -139,7 +139,9 @@ public: void checkerRect(int x, int y, int w, int h, int16 color); void frameRect(int x, int y, int w, int h, int16 color); void addDirtyRect(int x, int y, int w, int h); - void drawChar(const char c, int x, int y, int16 color); + void drawChar(char c, int x, int y, int16 color); + int getStringWidth(const char *str); + int getCharWidth(char c); void drawString(const char *str, int x, int y, int w, int16 color, int align = kTextAlignLeft); void drawBitmap(uint32 bitmap[8], int x, int y, int16 color); |