aboutsummaryrefslogtreecommitdiff
path: root/gui/ThemeLayout.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2014-05-09 23:16:02 +0300
committerEugene Sandulenko2016-06-01 13:16:12 +0200
commita612b0a173eefc80d635a2711cd9f20e4601839d (patch)
tree28d08b6fe96c5d57ae5c351e0b4c187ee1c8d0f1 /gui/ThemeLayout.cpp
parentc7ad2155fc9153b700d55aea08eafa03d7343fc8 (diff)
downloadscummvm-rg350-a612b0a173eefc80d635a2711cd9f20e4601839d.tar.gz
scummvm-rg350-a612b0a173eefc80d635a2711cd9f20e4601839d.tar.bz2
scummvm-rg350-a612b0a173eefc80d635a2711cd9f20e4601839d.zip
GRAPHICS: Restore layout debugging capabilities
Diffstat (limited to 'gui/ThemeLayout.cpp')
-rw-r--r--gui/ThemeLayout.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/ThemeLayout.cpp b/gui/ThemeLayout.cpp
index 6a6fd9e343..71e4b2c9fd 100644
--- a/gui/ThemeLayout.cpp
+++ b/gui/ThemeLayout.cpp
@@ -123,7 +123,7 @@ int16 ThemeLayoutStacked::getParentHeight() {
#ifdef LAYOUT_DEBUG_DIALOG
void ThemeLayout::debugDraw(Graphics::Surface *screen, const Graphics::Font *font) {
- uint16 color = 0xFFFF;
+ uint32 color = 0xFFFFFFFF;
font->drawString(screen, getName(), _x, _y, _w, color, Graphics::kTextAlignRight, 0, true);
screen->hLine(_x, _y, _x + _w, color);
screen->hLine(_x, _y + _h, _x + _w , color);