diff options
Diffstat (limited to 'backends/PalmOS/Src')
-rw-r--r-- | backends/PalmOS/Src/skin.cpp | 8 | ||||
-rw-r--r-- | backends/PalmOS/Src/skin.h | 3 |
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 |