diff options
author | Vicent Marti | 2008-08-15 11:05:25 +0000 |
---|---|---|
committer | Vicent Marti | 2008-08-15 11:05:25 +0000 |
commit | 1b0c29cb015e00d26db44391f994867f15d26f53 (patch) | |
tree | 1a2a386500f556c7e0b0eed46efe84c580881724 /gui/themes | |
parent | 8e60e6c558be96286ad8df3502c69060f9db117c (diff) | |
download | scummvm-rg350-1b0c29cb015e00d26db44391f994867f15d26f53.tar.gz scummvm-rg350-1b0c29cb015e00d26db44391f994867f15d26f53.tar.bz2 scummvm-rg350-1b0c29cb015e00d26db44391f994867f15d26f53.zip |
Added popup widget in Options menu to change GUI renderer on the fly.
svn-id: r33898
Diffstat (limited to 'gui/themes')
-rw-r--r-- | gui/themes/default.inc | 3 | ||||
-rw-r--r-- | gui/themes/scummclassic.zip | bin | 28291 -> 28494 bytes | |||
-rw-r--r-- | gui/themes/scummclassic/classic_layout.stx | 3 | ||||
-rw-r--r-- | gui/themes/scummodern.zip | bin | 122557 -> 123017 bytes | |||
-rw-r--r-- | gui/themes/scummodern/scummodern_layout.stx | 3 | ||||
-rw-r--r-- | gui/themes/scummodern/scummodern_layout_320.stx | 3 | ||||
-rw-r--r-- | gui/themes/scummtheme.py | 2 |
7 files changed, 13 insertions, 1 deletions
diff --git a/gui/themes/default.inc b/gui/themes/default.inc index d87a1f5632..55d1211e24 100644 --- a/gui/themes/default.inc +++ b/gui/themes/default.inc @@ -704,6 +704,9 @@ "height = 'Globals.Line.Height' " "/> " "</layout> " +"<widget name = 'Renderer' " +"type = 'PopUp' " +"/> " "<widget name = 'AutosavePeriod' " "type = 'PopUp' " "/> " diff --git a/gui/themes/scummclassic.zip b/gui/themes/scummclassic.zip Binary files differindex 653f789baf..334d2a2274 100644 --- a/gui/themes/scummclassic.zip +++ b/gui/themes/scummclassic.zip diff --git a/gui/themes/scummclassic/classic_layout.stx b/gui/themes/scummclassic/classic_layout.stx index bfb09a511b..e404aa37da 100644 --- a/gui/themes/scummclassic/classic_layout.stx +++ b/gui/themes/scummclassic/classic_layout.stx @@ -456,6 +456,9 @@ height = 'Globals.Line.Height' /> </layout> + <widget name = 'Renderer' + type = 'PopUp' + /> <widget name = 'AutosavePeriod' type = 'PopUp' /> diff --git a/gui/themes/scummodern.zip b/gui/themes/scummodern.zip Binary files differindex 1cd8471709..3c68cc7df3 100644 --- a/gui/themes/scummodern.zip +++ b/gui/themes/scummodern.zip diff --git a/gui/themes/scummodern/scummodern_layout.stx b/gui/themes/scummodern/scummodern_layout.stx index 808004ab66..4d7d07c51b 100644 --- a/gui/themes/scummodern/scummodern_layout.stx +++ b/gui/themes/scummodern/scummodern_layout.stx @@ -343,6 +343,9 @@ height = 'Globals.Line.Height' /> </layout> + <widget name = 'Renderer' + type = 'PopUp' + /> <widget name = 'AutosavePeriod' type = 'PopUp' /> diff --git a/gui/themes/scummodern/scummodern_layout_320.stx b/gui/themes/scummodern/scummodern_layout_320.stx index 07ea81371f..a84fa97cd7 100644 --- a/gui/themes/scummodern/scummodern_layout_320.stx +++ b/gui/themes/scummodern/scummodern_layout_320.stx @@ -325,6 +325,9 @@ height = 'Globals.Line.Height' /> </layout> + <widget name = 'Renderer' + type = 'PopUp' + /> <widget name = 'AutosavePeriod' type = 'PopUp' /> diff --git a/gui/themes/scummtheme.py b/gui/themes/scummtheme.py index 202372cfea..da0b88cf61 100644 --- a/gui/themes/scummtheme.py +++ b/gui/themes/scummtheme.py @@ -6,7 +6,7 @@ import os import zipfile def buildTheme(themeName): - if not os.path.isdir(themeName): + if not os.path.isdir(themeName) or not os.path.isfile(os.path.join(themeName, "THEMERC")): print "Invalid theme name: " + themeName return |