aboutsummaryrefslogtreecommitdiff
path: root/gui/themes
diff options
context:
space:
mode:
authorJohannes Schickel2006-10-08 18:22:28 +0000
committerJohannes Schickel2006-10-08 18:22:28 +0000
commit3a81941981a6ca5fab229ff9aeb6b05b94a444bc (patch)
tree66499d32b6889b6645f97597e4d63c5cc8cde3d7 /gui/themes
parent4524b49872b238db92922dbe961a8f1aa8430178 (diff)
downloadscummvm-rg350-3a81941981a6ca5fab229ff9aeb6b05b94a444bc.tar.gz
scummvm-rg350-3a81941981a6ca5fab229ff9aeb6b05b94a444bc.tar.bz2
scummvm-rg350-3a81941981a6ca5fab229ff9aeb6b05b94a444bc.zip
- Added dialog for selecting the theme to use
- Added runtime theme switching svn-id: r24213
Diffstat (limited to 'gui/themes')
-rw-r--r--gui/themes/classic.ini6
-rw-r--r--gui/themes/modern.ini6
2 files changed, 12 insertions, 0 deletions
diff --git a/gui/themes/classic.ini b/gui/themes/classic.ini
index c26715343d..91f91b1e80 100644
--- a/gui/themes/classic.ini
+++ b/gui/themes/classic.ini
@@ -178,6 +178,12 @@ globaloptions_themepath=(prev.x2 + 20) (yoffset + glOff) (parent.w - (prev.w + 2
yoffset=(yoffset + buttonHeight + 4)
globaloptions_keysbutton=10 yoffset (buttonWidth + 5) buttonHeight
+# Misc options
+yoffset=vBorder
+glOff=((buttonHeight - kLineHeight) / 2 + 2)
+globaloptions_themebutton2=10 yoffset buttonWidth buttonHeight
+globaloptions_curtheme=(prev.x2 + 20) (yoffset + glOff) (parent.w - (prev.w + 20) - 10) kLineHeight
+
globaloptions_cancel=(parent.w - 2 * (buttonWidth + 10)) (parent.h - buttonHeight - 8) buttonWidth buttonHeight
globaloptions_ok=(prev.x2 + 10) prev.y prev.w prev.h
diff --git a/gui/themes/modern.ini b/gui/themes/modern.ini
index 43aee8d33e..f656ee96fd 100644
--- a/gui/themes/modern.ini
+++ b/gui/themes/modern.ini
@@ -298,6 +298,12 @@ globaloptions_themepath=(prev.x2 + 20) (yoffset + glOff) (parent.w - (prev.w + 2
yoffset=(yoffset + buttonHeight + 12)
globaloptions_keysbutton=5 yoffset buttonWidth buttonHeight
+# Misc options
+yoffset=vBorder
+glOff=((buttonHeight - kLineHeight) / 2 + 2)
+globaloptions_themebutton2=10 yoffset buttonWidth buttonHeight
+globaloptions_curtheme=(prev.x2 + 20) (yoffset + glOff) (parent.w - (prev.w + 20) - 10) kLineHeight
+
globaloptions_cancel=(parent.w - 2 * (buttonWidth + 10)) (parent.h - buttonHeight - 8) buttonWidth buttonHeight
globaloptions_ok=(prev.x2 + 10) prev.y prev.w prev.h