aboutsummaryrefslogtreecommitdiff
path: root/backends/PalmOS/Src
diff options
context:
space:
mode:
authorChris Apers2004-11-09 11:33:30 +0000
committerChris Apers2004-11-09 11:33:30 +0000
commit4fb01fd0fddeec12268e9c4cbab03101b5e6e2be (patch)
treea87486897c071b66881d08ae64ad266f1f5ebf10 /backends/PalmOS/Src
parent0f1a0f80b2832ac5299afca9d90cae13cf6bf42a (diff)
downloadscummvm-rg350-4fb01fd0fddeec12268e9c4cbab03101b5e6e2be.tar.gz
scummvm-rg350-4fb01fd0fddeec12268e9c4cbab03101b5e6e2be.tar.bz2
scummvm-rg350-4fb01fd0fddeec12268e9c4cbab03101b5e6e2be.zip
Added Audio button
svn-id: r15762
Diffstat (limited to 'backends/PalmOS/Src')
-rw-r--r--backends/PalmOS/Src/skin.cpp8
-rw-r--r--backends/PalmOS/Src/skin.h3
2 files changed, 10 insertions, 1 deletions
diff --git a/backends/PalmOS/Src/skin.cpp b/backends/PalmOS/Src/skin.cpp
index 1e7ea7360b..852b7966fb 100644
--- a/backends/PalmOS/Src/skin.cpp
+++ b/backends/PalmOS/Src/skin.cpp
@@ -396,6 +396,10 @@ static void SknRedrawTools(DmOpenRef skinDBP) {
SknSetState(skinDBP, skinButtonGameEdit,sknStateDisabled);
SknShowObject(skinDBP, skinButtonGameEdit);
}
+ if (SknGetState(skinDBP, skinButtonGameAudio) == sknStateNormal) {
+ SknSetState(skinDBP, skinButtonGameAudio,sknStateDisabled);
+ SknShowObject(skinDBP, skinButtonGameAudio);
+ }
} else {
if (SknGetState(skinDBP, skinButtonGameDelete) == sknStateDisabled) {
@@ -406,6 +410,10 @@ static void SknRedrawTools(DmOpenRef skinDBP) {
SknSetState(skinDBP, skinButtonGameEdit,sknStateNormal);
SknShowObject(skinDBP, skinButtonGameEdit);
}
+ if (SknGetState(skinDBP, skinButtonGameAudio) == sknStateDisabled) {
+ SknSetState(skinDBP, skinButtonGameAudio,sknStateNormal);
+ SknShowObject(skinDBP, skinButtonGameAudio);
+ }
}
}
diff --git a/backends/PalmOS/Src/skin.h b/backends/PalmOS/Src/skin.h
index 0e7b7550a0..eda810634d 100644
--- a/backends/PalmOS/Src/skin.h
+++ b/backends/PalmOS/Src/skin.h
@@ -61,6 +61,7 @@
#define skinButtonGameParams 3000
#define skinButtonGameAdd 3100
#define skinButtonGameEdit 3200
+#define skinButtonGameAudio 3300
#define skinButtonGameDelete 4000
#define skinButtonGameStart 7000
@@ -123,4 +124,4 @@ UInt8 SknGetDepth(DmOpenRef skinDBP);
extern UInt16 lastIndex;
-#endif \ No newline at end of file
+#endif