aboutsummaryrefslogtreecommitdiff
path: root/backends/PalmOS/Src
diff options
context:
space:
mode:
authorChris Apers2005-11-05 10:44:25 +0000
committerChris Apers2005-11-05 10:44:25 +0000
commit62e2b9b081acdc97e0b5a815c9fa163439ccbe66 (patch)
tree29f816f986265dc04cf46730cdffcad2ba360bfe /backends/PalmOS/Src
parentc6bacf3b38dd34b4a9bdb0fadb1fc88638584ec9 (diff)
downloadscummvm-rg350-62e2b9b081acdc97e0b5a815c9fa163439ccbe66.tar.gz
scummvm-rg350-62e2b9b081acdc97e0b5a815c9fa163439ccbe66.tar.bz2
scummvm-rg350-62e2b9b081acdc97e0b5a815c9fa163439ccbe66.zip
Added new items to the menu
svn-id: r19441
Diffstat (limited to 'backends/PalmOS/Src')
-rw-r--r--backends/PalmOS/Src/forms/formmain.cpp20
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;
}
-