GUI: Fix compilation with LAYOUT_DEBUG_DIALOG enabled
This commit is contained in:
parent
f0f213ca6b
commit
b9a2753c2c
3 changed files with 20 additions and 10 deletions
|
@ -146,7 +146,7 @@ int16 ThemeLayoutStacked::getParentHeight() {
|
|||
}
|
||||
|
||||
#ifdef LAYOUT_DEBUG_DIALOG
|
||||
void ThemeLayout::debugDraw(Graphics::Surface *screen, const Graphics::Font *font) {
|
||||
void ThemeLayout::debugDraw(Graphics::ManagedSurface *screen, const Graphics::Font *font) {
|
||||
uint32 color = 0xFFFFFFFF;
|
||||
font->drawString(screen, getName(), _x, _y, _w, color, Graphics::kTextAlignRight, 0, true);
|
||||
screen->hLine(_x, _y, _x + _w, color);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue