diff options
author | Gregory Montoir | 2007-01-21 22:06:54 +0000 |
---|---|---|
committer | Gregory Montoir | 2007-01-21 22:06:54 +0000 |
commit | 3341f494296ddab50aa81ab9d996154f321a421e (patch) | |
tree | 003199fa28dde53fdecc89a6101f5bef5bad11ce /engines/touche/ui.cpp | |
parent | d3b0ff8ade3a147aa3ce78399fd66fb340b07584 (diff) | |
download | scummvm-rg350-3341f494296ddab50aa81ab9d996154f321a421e.tar.gz scummvm-rg350-3341f494296ddab50aa81ab9d996154f321a421e.tar.bz2 scummvm-rg350-3341f494296ddab50aa81ab9d996154f321a421e.zip |
cleanup
svn-id: r25157
Diffstat (limited to 'engines/touche/ui.cpp')
-rw-r--r-- | engines/touche/ui.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/engines/touche/ui.cpp b/engines/touche/ui.cpp index bbfec64675..8506c1b608 100644 --- a/engines/touche/ui.cpp +++ b/engines/touche/ui.cpp @@ -149,7 +149,7 @@ void ToucheEngine::drawButton(void *button) { if (b->data != 0) { const char *str = getString(b->data); const int w = getStringWidth(b->data); - const int h = 16; + const int h = kTextHeight; const int x = b->x + (b->w - w) / 2; const int y = b->y + (b->h - h) / 2; Graphics::drawString16(_offscreenBuffer, kScreenWidth, 0xFF, x, y, str); @@ -514,18 +514,18 @@ void ToucheEngine::drawConversationPanel() { } void ToucheEngine::printStatusString(const char *str) { - Graphics::fillRect(_offscreenBuffer, kScreenWidth, 0, 0, kScreenWidth, 16, 0xD7); - Graphics::drawRect(_offscreenBuffer, kScreenWidth, 0, 0, kScreenWidth, 16, 0xD6, 0xD8); + Graphics::fillRect(_offscreenBuffer, kScreenWidth, 0, 0, kScreenWidth, kTextHeight, 0xD7); + Graphics::drawRect(_offscreenBuffer, kScreenWidth, 0, 0, kScreenWidth, kTextHeight, 0xD6, 0xD8); Graphics::drawString16(_offscreenBuffer, kScreenWidth, 0xFF, 0, 0, str); - updateScreenArea(0, 0, kScreenWidth, 16); + updateScreenArea(0, 0, kScreenWidth, kTextHeight); _system->updateScreen(); } void ToucheEngine::clearStatusString() { Graphics::copyRect(_offscreenBuffer, kScreenWidth, 0, 0, _backdropBuffer, _currentBitmapWidth, _flagsTable[614], _flagsTable[615], - kScreenWidth, 16); - updateScreenArea(0, 0, kScreenWidth, 16); + kScreenWidth, kTextHeight); + updateScreenArea(0, 0, kScreenWidth, kTextHeight); } int ToucheEngine::displayQuitDialog() { |