aboutsummaryrefslogtreecommitdiff
path: root/gui/themes/scummmodern
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
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')
-rw-r--r--gui/themes/scummmodern/THEMERC2
-rw-r--r--gui/themes/scummmodern/scummmodern_gfx.stx21
2 files changed, 22 insertions, 1 deletions
diff --git a/gui/themes/scummmodern/THEMERC b/gui/themes/scummmodern/THEMERC
index e6c441d543..326993e98d 100644
--- a/gui/themes/scummmodern/THEMERC
+++ b/gui/themes/scummmodern/THEMERC
@@ -1 +1 @@
-[SCUMMVM_STX0.8.11:ScummVM Modern Theme:No Author]
+[SCUMMVM_STX0.8.12:ScummVM Modern Theme:No Author]
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'