diff options
author | Jordi Vilalta Prat | 2008-12-22 10:31:01 +0000 |
---|---|---|
committer | Jordi Vilalta Prat | 2008-12-22 10:31:01 +0000 |
commit | 2ec51ef3585d9450ddf21cff9212c0bc7f0b6a3f (patch) | |
tree | 46e6a311cdb21e5faf81dad895872ba4780bed15 /gui/themes | |
parent | 1ccce41c8fde4430671acc835c5f2f7b8caba2fb (diff) | |
download | scummvm-rg350-2ec51ef3585d9450ddf21cff9212c0bc7f0b6a3f.tar.gz scummvm-rg350-2ec51ef3585d9450ddf21cff9212c0bc7f0b6a3f.tar.bz2 scummvm-rg350-2ec51ef3585d9450ddf21cff9212c0bc7f0b6a3f.zip |
Allow the disabled state of the popup widget to be themed
svn-id: r35480
Diffstat (limited to 'gui/themes')
-rw-r--r-- | gui/themes/default.inc | 19 | ||||
-rw-r--r-- | gui/themes/scummclassic.zip | bin | 46658 -> 45355 bytes | |||
-rw-r--r-- | gui/themes/scummclassic/classic_gfx.stx | 21 | ||||
-rw-r--r-- | gui/themes/scummmodern.zip | bin | 144122 -> 144629 bytes | |||
-rw-r--r-- | gui/themes/scummmodern/scummmodern_gfx.stx | 24 |
5 files changed, 62 insertions, 2 deletions
diff --git a/gui/themes/default.inc b/gui/themes/default.inc index 986d832bd9..144e019a9b 100644 --- a/gui/themes/default.inc +++ b/gui/themes/default.inc @@ -193,6 +193,25 @@ "horizontal_align='left' " "/> " "</drawdata> " +"<drawdata id='popup_disabled' cache='false'> " +"<drawstep func='bevelsq' " +"bevel='2' " +"fill='none' " +"/> " +"<drawstep func='triangle' " +"fg_color='lightgrey' " +"fill='foreground' " +"width='height' " +"height='auto' " +"xpos='right' " +"ypos='center' " +"orientation='bottom' " +"/> " +"<text font='text_disabled' " +"vertical_align='center' " +"horizontal_align='left' " +"/> " +"</drawdata> " "<drawdata id='popup_hover' cache='false'> " "<drawstep func='bevelsq' " "bevel='2' " diff --git a/gui/themes/scummclassic.zip b/gui/themes/scummclassic.zip Binary files differindex 377aeb2265..d82bb8e399 100644 --- a/gui/themes/scummclassic.zip +++ b/gui/themes/scummclassic.zip diff --git a/gui/themes/scummclassic/classic_gfx.stx b/gui/themes/scummclassic/classic_gfx.stx index cbf8f8f448..911ef585aa 100644 --- a/gui/themes/scummclassic/classic_gfx.stx +++ b/gui/themes/scummclassic/classic_gfx.stx @@ -238,6 +238,25 @@ /> </drawdata> + <drawdata id = 'popup_disabled' cache = 'false'> + <drawstep func = 'bevelsq' + bevel = '2' + fill = 'none' + /> + <drawstep func = 'triangle' + fg_color = 'lightgrey' + fill = 'foreground' + width = 'height' + height = 'auto' + xpos = 'right' + ypos = 'center' + orientation = 'bottom' + /> + <text font = 'text_disabled' + vertical_align = 'center' + horizontal_align = 'left' + /> + </drawdata> <drawdata id = 'popup_hover' cache = 'false'> <drawstep func = 'bevelsq' @@ -361,4 +380,4 @@ bevel = '2' /> </drawdata> -</render_info>
\ No newline at end of file +</render_info> diff --git a/gui/themes/scummmodern.zip b/gui/themes/scummmodern.zip Binary files differindex 4e18963deb..26945f091b 100644 --- a/gui/themes/scummmodern.zip +++ b/gui/themes/scummmodern.zip diff --git a/gui/themes/scummmodern/scummmodern_gfx.stx b/gui/themes/scummmodern/scummmodern_gfx.stx index 48d01d38f4..16688a34d2 100644 --- a/gui/themes/scummmodern/scummmodern_gfx.stx +++ b/gui/themes/scummmodern/scummmodern_gfx.stx @@ -306,6 +306,28 @@ /> </drawdata> + <drawdata id = 'popup_disabled' cache = 'false'> + <drawstep func = 'roundedsq' + stroke = '0' + radius = '4' + fill = 'foreground' + fg_color = '250, 237, 190' + shadow = '2' + /> + <drawstep func = 'triangle' + fg_color = '63, 60, 52' + fill = 'foreground' + width = 'height' + height = 'auto' + xpos = 'right' + ypos = 'center' + orientation = 'bottom' + /> + <text font = 'text_default' + vertical_align = 'center' + horizontal_align = 'left' + /> + </drawdata> <drawdata id = 'popup_hover' cache = 'false'> <drawstep func = 'roundedsq' @@ -486,4 +508,4 @@ shadow = '3' /> </drawdata> -</render_info>
\ No newline at end of file +</render_info> |