aboutsummaryrefslogtreecommitdiff
path: root/gui/themes/scummmodern/scummmodern_gfx.stx
diff options
context:
space:
mode:
authorEugene Sandulenko2010-06-15 10:48:39 +0000
committerEugene Sandulenko2010-06-15 10:48:39 +0000
commitdc040aa8671797853b0b1f9add3320c6e1f22c33 (patch)
tree5b8382613d784495f128a79573dc5cda07b29fa5 /gui/themes/scummmodern/scummmodern_gfx.stx
parent3fafa07ab0aeb65fedad159fb0cf345cc8f5f278 (diff)
downloadscummvm-rg350-dc040aa8671797853b0b1f9add3320c6e1f22c33.tar.gz
scummvm-rg350-dc040aa8671797853b0b1f9add3320c6e1f22c33.tar.bz2
scummvm-rg350-dc040aa8671797853b0b1f9add3320c6e1f22c33.zip
GUI: Implement radiobuttons.
Implement radiobuttons in GUI. Also closes FR #2821529: "GUI: volume and subtitles speed sliders". Subtitle toggle button is replaced by three radiobuttons grouped by a single group. Updated translations and themes. svn-id: r49767
Diffstat (limited to 'gui/themes/scummmodern/scummmodern_gfx.stx')
-rw-r--r--gui/themes/scummmodern/scummmodern_gfx.stx38
1 files changed, 38 insertions, 0 deletions
diff --git a/gui/themes/scummmodern/scummmodern_gfx.stx b/gui/themes/scummmodern/scummmodern_gfx.stx
index 05316b516f..13f9cd2196 100644
--- a/gui/themes/scummmodern/scummmodern_gfx.stx
+++ b/gui/themes/scummmodern/scummmodern_gfx.stx
@@ -98,6 +98,8 @@
<bitmap filename = 'cursor_small.bmp'/>
<bitmap filename = 'checkbox.bmp'/>
<bitmap filename = 'checkbox_empty.bmp'/>
+ <bitmap filename = 'radiobutton.bmp'/>
+ <bitmap filename = 'radiobutton_empty.bmp'/>
<bitmap filename = 'logo_small.bmp'/>
<bitmap filename = 'search.bmp'/>
</bitmaps>
@@ -595,6 +597,42 @@
/>
</drawdata>
+ <!-- Idle radiobutton -->
+ <drawdata id = 'radiobutton_default' cache = 'false'>
+ <text font = 'text_default'
+ text_color = 'color_normal'
+ vertical_align = 'center'
+ horizontal_align = 'left'
+ />
+ <drawstep func = 'bitmap'
+ file = 'radiobutton_empty.bmp'
+ />
+ </drawdata>
+
+ <!-- Selected radiobutton -->
+ <drawdata id = 'radiobutton_selected' cache = 'false'>
+ <text font = 'text_default'
+ text_color = 'color_normal'
+ vertical_align = 'center'
+ horizontal_align = 'left'
+ />
+ <drawstep func = 'bitmap'
+ file = 'radiobutton.bmp'
+ />
+ </drawdata>
+
+ <!-- Disabled radiobutton -->
+ <drawdata id = 'radiobutton_disabled' cache = 'false'>
+ <text font = 'text_default'
+ text_color = 'color_normal_disabled'
+ vertical_align = 'center'
+ horizontal_align = 'left'
+ />
+ <drawstep func = 'bitmap'
+ file = 'radiobutton_empty.bmp'
+ />
+ </drawdata>
+
<!-- Background of the list widget (the games list and the list in the choosers) -->
<!-- TODO: Have separate options for the games list (with gradient background) and the list in the choosers (without gradient) -->
<drawdata id = 'widget_default' cache = 'false'>