diff options
author | Nicolas Bacca | 2003-12-14 10:46:08 +0000 |
---|---|---|
committer | Nicolas Bacca | 2003-12-14 10:46:08 +0000 |
commit | ab05c3fe729a9f01938ac6051bcaf5ccef63535d (patch) | |
tree | cee98c7d91b1d2542240408786b771665e6bb596 /scumm | |
parent | 00bc1d241f525f7164addd06e83da0876e077fa9 (diff) | |
download | scummvm-rg350-ab05c3fe729a9f01938ac6051bcaf5ccef63535d.tar.gz scummvm-rg350-ab05c3fe729a9f01938ac6051bcaf5ccef63535d.tar.bz2 scummvm-rg350-ab05c3fe729a9f01938ac6051bcaf5ccef63535d.zip |
WinCE GUI fixes
svn-id: r11630
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/dialogs.cpp | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/scumm/dialogs.cpp b/scumm/dialogs.cpp index 4ad25cc1b9..4124a0d477 100644 --- a/scumm/dialogs.cpp +++ b/scumm/dialogs.cpp @@ -415,16 +415,15 @@ ConfigDialog::ConfigDialog(ScummEngine *scumm) : GUI::OptionsDialog("", 40, 30, 240, 124), _scumm(scumm) { #else ConfigDialog::ConfigDialog(ScummEngine *scumm) - : GUI::OptionsDialog("", 40, 30, 240, 124 + kButtonHeight + 4), _scumm(scumm) { + : GUI::OptionsDialog("", 40, 30, 240, 124 + 4), _scumm(scumm) { #endif // // Add the buttons // #ifdef _WIN32_WCE - addButton(_w - kButtonWidth - 8, _h - 24 - kButtonHeight - 4, "OK", GUI::OptionsDialog::kOKCmd, 'O'); - addButton(_w - 2 * kButtonWidth - 12, _h - 24 - kButtonHeight - 4, "Cancel", kCloseCmd, 'C'); - - addButton(kButtonWidth+12, _h - 24, "Keys", kKeysCmd, 'K'); + addButton(_w - kButtonWidth - 8, _h - 24 - 4, "OK", GUI::OptionsDialog::kOKCmd, 'O'); + addButton(_w - 2 * kButtonWidth - 12, _h - 24 - 4, "Cancel", kCloseCmd, 'C'); + addButton(_w - 3 * kButtonWidth - 16, _h - 24 - 4, "Keys", kKeysCmd, 'K'); #else addButton(_w - kButtonWidth-8, _h - 24, "OK", GUI::OptionsDialog::kOKCmd, 'O'); addButton(_w - 2 * kButtonWidth-12, _h - 24, "Cancel", kCloseCmd, 'C'); @@ -626,6 +625,11 @@ void ConfirmExitDialog::handleKeyDown(uint16 ascii, int keycode, int modifiers) #pragma mark - +using GUI::ListWidget; +using GUI::kListNumberingZero; +using GUI::WIDGET_CLEARBG; +using GUI::kListSelectionChangedCmd; + enum { kMapCmd = 'map ' }; |