diff options
Diffstat (limited to 'gui')
-rw-r--r-- | gui/newgui.cpp | 4 | ||||
-rw-r--r-- | gui/newgui.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/gui/newgui.cpp b/gui/newgui.cpp index d4edecc5a7..7e98d8d6ed 100644 --- a/gui/newgui.cpp +++ b/gui/newgui.cpp @@ -390,7 +390,7 @@ void NewGui::addDirtyRect(int x, int y, int w, int h) _system->copy_rect_overlay(buf, _screenPitch, x, y, w, h); } -void NewGui::drawChar(const char chr, int xx, int yy, int16 color) +void NewGui::drawChar(const byte chr, int xx, int yy, int16 color) { unsigned int buffer = 0, mask = 0, x, y; byte *tmp; @@ -425,7 +425,7 @@ int NewGui::getStringWidth(const String &str) return space; } -int NewGui::getCharWidth(char c) +int NewGui::getCharWidth(byte c) { return guifont[c+6]; } diff --git a/gui/newgui.h b/gui/newgui.h index d1ba430d0d..078d3984e0 100644 --- a/gui/newgui.h +++ b/gui/newgui.h @@ -126,9 +126,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(char c, int x, int y, int16 color); + void drawChar(byte c, int x, int y, int16 color); int getStringWidth(const String &str); - int getCharWidth(char c); + int getCharWidth(byte c); void drawString(const String &str, int x, int y, int w, int16 color, int align = kTextAlignLeft); void drawBitmap(uint32 bitmap[8], int x, int y, int16 color); |