aboutsummaryrefslogtreecommitdiff
path: root/gui/themes
diff options
context:
space:
mode:
authorVicent Marti2008-08-15 11:05:25 +0000
committerVicent Marti2008-08-15 11:05:25 +0000
commit1b0c29cb015e00d26db44391f994867f15d26f53 (patch)
tree1a2a386500f556c7e0b0eed46efe84c580881724 /gui/themes
parent8e60e6c558be96286ad8df3502c69060f9db117c (diff)
downloadscummvm-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.inc3
-rw-r--r--gui/themes/scummclassic.zipbin28291 -> 28494 bytes
-rw-r--r--gui/themes/scummclassic/classic_layout.stx3
-rw-r--r--gui/themes/scummodern.zipbin122557 -> 123017 bytes
-rw-r--r--gui/themes/scummodern/scummodern_layout.stx3
-rw-r--r--gui/themes/scummodern/scummodern_layout_320.stx3
-rw-r--r--gui/themes/scummtheme.py2
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
index 653f789baf..334d2a2274 100644
--- a/gui/themes/scummclassic.zip
+++ b/gui/themes/scummclassic.zip
Binary files differ
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
index 1cd8471709..3c68cc7df3 100644
--- a/gui/themes/scummodern.zip
+++ b/gui/themes/scummodern.zip
Binary files differ
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