aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Apers2004-11-09 11:12:59 +0000
committerChris Apers2004-11-09 11:12:59 +0000
commitef2cc663630bb7beb418032f0b1a1c7b01a3e4b7 (patch)
tree9960f1656b6858ccef5f6639d11b3e2514b863a1
parent3bed649682ad52d0506c75d7e1226d9c89fa32c8 (diff)
downloadscummvm-rg350-ef2cc663630bb7beb418032f0b1a1c7b01a3e4b7.tar.gz
scummvm-rg350-ef2cc663630bb7beb418032f0b1a1c7b01a3e4b7.tar.bz2
scummvm-rg350-ef2cc663630bb7beb418032f0b1a1c7b01a3e4b7.zip
New info panel + new audio skin button
svn-id: r15755
-rw-r--r--backends/PalmOS/Src/forms/formmain.cpp26
1 files changed, 8 insertions, 18 deletions
diff --git a/backends/PalmOS/Src/forms/formmain.cpp b/backends/PalmOS/Src/forms/formmain.cpp
index 3dc90b96b3..7ad5513e14 100644
--- a/backends/PalmOS/Src/forms/formmain.cpp
+++ b/backends/PalmOS/Src/forms/formmain.cpp
@@ -63,17 +63,6 @@ static void MainFormInit()
*
***********************************************************************/
-static void MainFormAbout() {
- FormPtr frmP;
- FormLabelType *versionP;
-
- frmP = FrmInitForm(AboutForm);
- versionP = FrmNewLabel(&frmP, 1120, gScummVMVersion, 4, 126, stdFont);
- versionP = FrmNewLabel(&frmP, 1121, gScummVMBuildDate, 4, 136, stdFont);
- FrmDoDialog (frmP); // Display the About Box.
- FrmDeleteForm (frmP);
-}
-
static Boolean MainFormDoCommand(UInt16 command)
{
Boolean handled = false;
@@ -84,11 +73,6 @@ static Boolean MainFormDoCommand(UInt16 command)
handled = true;
break;
- case MainOptionsViewMemory:
- FrmPopupForm(SystemInfoForm);
- handled = true;
- break;
-
case MainGamesNewEdit:
gFormEditMode = edtModeParams;
FrmPopupForm(GameEditForm);
@@ -103,7 +87,7 @@ static Boolean MainFormDoCommand(UInt16 command)
break;
case MainOptionsAbout:
- MainFormAbout();
+ FrmPopupForm(InfoForm);
handled = true;
break;
@@ -241,7 +225,7 @@ Boolean MainFormHandleEvent(EventPtr eventP)
break;
case MainAboutButton:
- MainFormAbout();
+ FrmPopupForm(InfoForm);
break;
// case MainListTypeSelTrigger:
@@ -272,6 +256,11 @@ Boolean MainFormHandleEvent(EventPtr eventP)
handled = true;
break;
+ case skinButtonGameAudio:
+ FrmPopupForm(MusicForm);
+ handled = true;
+ break;
+
case skinButtonGameEdit:
case skinButtonGameParams:
gFormEditMode = edtModeParams;
@@ -313,6 +302,7 @@ Boolean MainFormHandleEvent(EventPtr eventP)
case skinButtonGameParams:
case skinButtonGameStart:
case skinButtonGameDelete:
+ case skinButtonGameAudio:
SknSetState(skinDBP, sknLastOn, sknStateSelected);
SknShowObject(skinDBP, sknLastOn);
if (gPrefs->soundClick)