diff options
author | Eugene Sandulenko | 2010-07-23 19:36:47 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2010-07-23 19:36:47 +0000 |
commit | d6695e180cfedb723a670d94d8ed132ed896498d (patch) | |
tree | 488fc9682e3c448fc29d2d98cba7b51b4efe9151 /gui/themes/scummclassic | |
parent | 0e5aa06db03e782137a40942b1d5fe97dfbcfad0 (diff) | |
download | scummvm-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/scummclassic')
-rw-r--r-- | gui/themes/scummclassic/classic_gfx.stx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gui/themes/scummclassic/classic_gfx.stx b/gui/themes/scummclassic/classic_gfx.stx index 8c03aa932c..d672db2540 100644 --- a/gui/themes/scummclassic/classic_gfx.stx +++ b/gui/themes/scummclassic/classic_gfx.stx @@ -142,6 +142,14 @@ /> </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' |