aboutsummaryrefslogtreecommitdiff
path: root/gui/themes/scummmodern/scummmodern_gfx.stx
diff options
context:
space:
mode:
authordhewg2011-02-23 18:58:59 +0100
committerdhewg2011-02-24 23:18:33 +0100
commit50a682e7e1c69082735a07b2261d1c0c61ac12c9 (patch)
tree9395b3f3af0b82139bef9e57b2950e1b7e9fa33d /gui/themes/scummmodern/scummmodern_gfx.stx
parent0e9b4f3c506d64b0dfd931ac510ed773789f272e (diff)
downloadscummvm-rg350-50a682e7e1c69082735a07b2261d1c0c61ac12c9.tar.gz
scummvm-rg350-50a682e7e1c69082735a07b2261d1c0c61ac12c9.tar.bz2
scummvm-rg350-50a682e7e1c69082735a07b2261d1c0c61ac12c9.zip
GUI: Make the ThemeParser less dumb
Instead of running into assert()s due to dumb parser decisions, use 'less than' and 'greater than' width/height conditions on the 'resolution' tags. Seems better than listing >9000 different android resolutions.
Diffstat (limited to 'gui/themes/scummmodern/scummmodern_gfx.stx')
-rw-r--r--gui/themes/scummmodern/scummmodern_gfx.stx8
1 files changed, 4 insertions, 4 deletions
diff --git a/gui/themes/scummmodern/scummmodern_gfx.stx b/gui/themes/scummmodern/scummmodern_gfx.stx
index cfe00a7016..a325d4982b 100644
--- a/gui/themes/scummmodern/scummmodern_gfx.stx
+++ b/gui/themes/scummmodern/scummmodern_gfx.stx
@@ -108,21 +108,21 @@
<font id = 'text_default'
file = 'helvb12.bdf'
/>
- <font resolution = '320xY, 256x240'
+ <font resolution = 'y<400'
id = 'text_default'
file = 'clR6x12.bdf'
/>
<font id = 'text_button'
file = 'helvb12.bdf'
/>
- <font resolution = '320xY, 256x240'
+ <font resolution = 'y<400'
id = 'text_button'
file = 'clR6x12.bdf'
/>
<font id = 'text_normal'
file = 'helvb12.bdf'
/>
- <font resolution = '320xY, 256x240'
+ <font resolution = 'y<400'
id = 'text_normal'
file = 'clR6x12.bdf'
/>
@@ -178,7 +178,7 @@
<!-- <defaults fill = 'gradient' fg_color = 'white'/> -->
<cursor file = 'cursor.bmp' hotspot = '0, 0' scale = '3'/>
- <cursor resolution = '320xY, 256x240' file = 'cursor_small.bmp' hotspot = '0, 0' scale = '3'/>
+ <cursor resolution = 'y<400' file = 'cursor_small.bmp' hotspot = '0, 0' scale = '3'/>
<!-- Selection (text or list items) -->
<drawdata id = 'text_selection' cache = 'false'>