aboutsummaryrefslogtreecommitdiff
path: root/gui/themes/default.inc
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/default.inc
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/default.inc')
-rw-r--r--gui/themes/default.inc7
1 files changed, 7 insertions, 0 deletions
diff --git a/gui/themes/default.inc b/gui/themes/default.inc
index 086fecc123..915ec55dca 100644
--- a/gui/themes/default.inc
+++ b/gui/themes/default.inc
@@ -877,6 +877,13 @@
"bevel='2' "
"/> "
"</drawdata> "
+"<drawdata id='tooltip_bg' cache='false'> "
+"<drawstep func='bevelsq' "
+"bevel='2' "
+"fill='foreground' "
+"fg_color='black' "
+"/> "
+"</drawdata> "
"<drawdata id='separator' cache='false'> "
"<drawstep func='square' "
"fill='foreground' "