diff options
Diffstat (limited to 'backends/PalmOS/Src')
-rw-r--r-- | backends/PalmOS/Src/forms/formmain.cpp | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/backends/PalmOS/Src/forms/formmain.cpp b/backends/PalmOS/Src/forms/formmain.cpp index 0ffeeccb15..d363003d91 100644 --- a/backends/PalmOS/Src/forms/formmain.cpp +++ b/backends/PalmOS/Src/forms/formmain.cpp @@ -8,7 +8,7 @@ #include "globals.h" #include "common/stdafx.h" -#include "version.h" +#include "base/version.h" #include "formEditGame.h" #include "formUtil.h" @@ -25,7 +25,7 @@ static Err BeamMe() { err = SendDatabase(0, dbID, "ScummVM.prc", "\nPlay your favorite LucasArts games"); else err = DmGetLastErr(); - + return err; } @@ -73,11 +73,22 @@ static Boolean MainFormDoCommand(UInt16 command) handled = true; break; - case MainGamesNewEdit: - gFormEditMode = edtModeParams; + case MainGamesNew: + gFormEditMode = edtModeAdd; + FrmPopupForm(GameEditForm); + handled = true; + break; + + case MainGamesEdit: + gFormEditMode = edtModeEdit; FrmPopupForm(GameEditForm); handled = true; break; + + case MainGamesDelete: + EditGameFormDelete(true); + handled = true; + break; case MainOptionsBeam: BeamMe(); @@ -326,4 +337,3 @@ Boolean MainFormHandleEvent(EventPtr eventP) return handled; } - |