aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Bacca2002-03-15 00:31:51 +0000
committerNicolas Bacca2002-03-15 00:31:51 +0000
commit168d7ed6525b0a3598217249d9d795de8d9ad867 (patch)
tree117137f828a60c559bd3e508bafbb3b131713949
parent2a3fb540aca09c092d158ed8bdd3ab801859b0dc (diff)
downloadscummvm-rg350-168d7ed6525b0a3598217249d9d795de8d9ad867.tar.gz
scummvm-rg350-168d7ed6525b0a3598217249d9d795de8d9ad867.tar.bz2
scummvm-rg350-168d7ed6525b0a3598217249d9d795de8d9ad867.zip
Keyboard issue for WinCE, typo in button type, and reduce the save dialog since random crashes happen when something overlaps the inventory
svn-id: r3759
-rw-r--r--gui.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/gui.cpp b/gui.cpp
index a70bb6c527..62852eded2 100644
--- a/gui.cpp
+++ b/gui.cpp
@@ -362,7 +362,7 @@ const GuiWidget about_dialog[] = {
{GUI_CUSTOMTEXT, 0x01, 0, 30 + 68, 20 + 10 + 15 + 5, 160, 15, 0, 9}, // Build
{GUI_CUSTOMTEXT, 0x01, 0, 30 + 10, 20 + 10 + 15 + 5 + 15, 230, 15, 0, 10}, // ScummVM Url
{GUI_CUSTOMTEXT, 0x01, 0, 30 + 75, 20 + 10 + 15 + 5 + 15 + 15 + 15, 150, 15, 0, 11}, // Lucasarts
- {GUI_CUSTOMTEXT, 0x01, GWF_BUTTON, 30 + 113, 20 + 96, 54, 16, 40, 9 },
+ {GUI_RESTEXT, 0x01, GWF_BUTTON, 30 + 113, 20 + 96, 54, 16, 40, 9 },
{0}
};
@@ -391,7 +391,7 @@ const GuiWidget sound_dialog[] = {
};
const GuiWidget save_load_dialog[] = {
- {GUI_STAT,0xFF,GWF_DEFAULT|GWF_PARENT,30,20,260,150,0,0},
+ {GUI_STAT,0xFF,GWF_DEFAULT|GWF_PARENT,30,20,260,125,0,0},
{GUI_RESTEXT,0x01,0,40,5,128,16,0,1}, /* How may I serve you? */
{GUI_RESTEXT,0x02,0,40,5,128,16,0,2}, /* Select a game to LOAD */
{GUI_RESTEXT,0x04,0,40,5,128,16,0,3}, /* Name your SAVE game */
@@ -774,7 +774,8 @@ void Gui::close() {
_active = false;
#ifdef _WIN32_WCE
- if (_dialog == SAVELOAD_DIALOG) {
+ // Option dialog can be accessed from the file dialog now, always check
+ if (draw_keyboard) {
draw_keyboard = false;
toolbar_drawn = false;
}