aboutsummaryrefslogtreecommitdiff
path: root/gui/themes/scummmodern/scummmodern_gfx.stx
diff options
context:
space:
mode:
authorOleksiy Kurochko2012-05-03 19:32:08 +0300
committerEugene Sandulenko2012-05-03 19:32:08 +0300
commite6c317a9226b71af572d2e2004e307c0e895b77c (patch)
tree985d9069de0b156803a306da494ea7fd92d7c5c5 /gui/themes/scummmodern/scummmodern_gfx.stx
parent8d157ae1858c6aab2acc78c732b547dd4e94723a (diff)
downloadscummvm-rg350-e6c317a9226b71af572d2e2004e307c0e895b77c.tar.gz
scummvm-rg350-e6c317a9226b71af572d2e2004e307c0e895b77c.tar.bz2
scummvm-rg350-e6c317a9226b71af572d2e2004e307c0e895b77c.zip
GUI: Implemented pressed state for buttons
Diffstat (limited to 'gui/themes/scummmodern/scummmodern_gfx.stx')
-rw-r--r--gui/themes/scummmodern/scummmodern_gfx.stx21
1 files changed, 21 insertions, 0 deletions
diff --git a/gui/themes/scummmodern/scummmodern_gfx.stx b/gui/themes/scummmodern/scummmodern_gfx.stx
index 403f636fd0..970d78a5ae 100644
--- a/gui/themes/scummmodern/scummmodern_gfx.stx
+++ b/gui/themes/scummmodern/scummmodern_gfx.stx
@@ -740,6 +740,27 @@
/>
</drawdata>
+ <!-- Pressed button -->
+ <drawdata id = 'button_pressed' cache = 'false'>
+ <text font = 'text_button'
+ text_color = 'color_button'
+ vertical_align = 'center'
+ horizontal_align = 'center'
+ />
+ <drawstep func = 'roundedsq'
+ radius = '5'
+ stroke = '1'
+ fill = 'foreground'
+ shadow = '0'
+ factor = '0'
+ fg_color = '120, 40, 16'
+ gradient_start = '255, 0, 0'
+ gradient_end = '255, 0, 0'
+ bevel = '1'
+ bevel_color = 'black'
+ />
+ </drawdata>
+
<!-- Idle button -->
<drawdata id = 'button_idle' cache = 'false'>
<text font = 'text_button'