aboutsummaryrefslogtreecommitdiff
path: root/gui/themes/scummmodern/scummmodern_gfx.stx
diff options
context:
space:
mode:
authorEugene Sandulenko2010-07-23 19:36:47 +0000
committerEugene Sandulenko2010-07-23 19:36:47 +0000
commitd6695e180cfedb723a670d94d8ed132ed896498d (patch)
tree488fc9682e3c448fc29d2d98cba7b51b4efe9151 /gui/themes/scummmodern/scummmodern_gfx.stx
parent0e5aa06db03e782137a40942b1d5fe97dfbcfad0 (diff)
downloadscummvm-rg350-d6695e180cfedb723a670d94d8ed132ed896498d.tar.gz
scummvm-rg350-d6695e180cfedb723a670d94d8ed132ed896498d.tar.bz2
scummvm-rg350-d6695e180cfedb723a670d94d8ed132ed896498d.zip
GUI: Fix tooltip drawing
With help of Tanoku tooltips were switched from widgets to dialogs which helped to fix nasty bug with background not being restored. Although it is basically a hack around inconsistent font backbuffering in our GUI code, for the time being it is feasible. The patch was extended with way to specify tooltip background in the theme file. svn-id: r51217
Diffstat (limited to 'gui/themes/scummmodern/scummmodern_gfx.stx')
-rw-r--r--gui/themes/scummmodern/scummmodern_gfx.stx9
1 files changed, 9 insertions, 0 deletions
diff --git a/gui/themes/scummmodern/scummmodern_gfx.stx b/gui/themes/scummmodern/scummmodern_gfx.stx
index ad41475a96..cfe00a7016 100644
--- a/gui/themes/scummmodern/scummmodern_gfx.stx
+++ b/gui/themes/scummmodern/scummmodern_gfx.stx
@@ -516,6 +516,15 @@
/>
</drawdata>
+ <!-- Tooltip -->
+ <drawdata id = 'tooltip_bg' cache = 'false'>
+ <drawstep func = 'square'
+ fill = 'foreground'
+ fg_color = 'blandyellow'
+ shadow = '3'
+ />
+ </drawdata>
+
<!-- Idle button -->
<drawdata id = 'button_idle' cache = 'false'>
<text font = 'text_button'