diff options
author | Eugene Sandulenko | 2010-06-15 10:52:35 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2010-06-15 10:52:35 +0000 |
commit | 01f9006ee7e8d0fd153f42fb00afbc25c4804d2b (patch) | |
tree | 774725290301c00c9e362a38fd917ea9b28db978 /gui/themes/scummclassic | |
parent | ea7405d7ef177a547d840424497d2f7ffd72626b (diff) | |
download | scummvm-rg350-01f9006ee7e8d0fd153f42fb00afbc25c4804d2b.tar.gz scummvm-rg350-01f9006ee7e8d0fd153f42fb00afbc25c4804d2b.tar.bz2 scummvm-rg350-01f9006ee7e8d0fd153f42fb00afbc25c4804d2b.zip |
GUI: Implement tooltips. FR #2821513.
FR #2821513: "GUI: add tooltips".
Added tooltips for Add Game button, clear field buttons and couple
other.
Current problem: Only first call correctly restores text. I could
not find where restore information gets lost.
svn-id: r49774
Diffstat (limited to 'gui/themes/scummclassic')
-rw-r--r-- | gui/themes/scummclassic/classic_gfx.stx | 9 | ||||
-rw-r--r-- | gui/themes/scummclassic/classic_layout.stx | 4 | ||||
-rw-r--r-- | gui/themes/scummclassic/classic_layout_lowres.stx | 4 |
3 files changed, 17 insertions, 0 deletions
diff --git a/gui/themes/scummclassic/classic_gfx.stx b/gui/themes/scummclassic/classic_gfx.stx index e107c1f04d..05040751f9 100644 --- a/gui/themes/scummclassic/classic_gfx.stx +++ b/gui/themes/scummclassic/classic_gfx.stx @@ -52,6 +52,9 @@ <font id = 'text_normal' file = 'default' /> + <font id = 'tooltip_normal' + file = 'builtinConsole' + /> <text_color id = 'color_normal' color = 'green' @@ -486,4 +489,10 @@ bevel = '2' /> </drawdata> + + <drawdata id = 'widget_small' cache = 'false'> + <drawstep func = 'square' + stroke = '0' + /> + </drawdata> </render_info> diff --git a/gui/themes/scummclassic/classic_layout.stx b/gui/themes/scummclassic/classic_layout.stx index 9f241c06e5..e4a31e0971 100644 --- a/gui/themes/scummclassic/classic_layout.stx +++ b/gui/themes/scummclassic/classic_layout.stx @@ -41,6 +41,10 @@ <def var = 'KeyMapper.LabelWidth' value = '100'/> <def var = 'KeyMapper.ButtonWidth' value = '80'/> + <def var = 'Tooltip.MaxWidth' value = '100'/> + <def var = 'Tooltip.XDelta' value = '16'/> <!-- basically cursor size --> + <def var = 'Tooltip.YDelta' value = '16'/> + <widget name = 'OptionsLabel' size = '110, Globals.Line.Height' textalign = 'right' diff --git a/gui/themes/scummclassic/classic_layout_lowres.stx b/gui/themes/scummclassic/classic_layout_lowres.stx index 19fbb2d0bd..c994968677 100644 --- a/gui/themes/scummclassic/classic_layout_lowres.stx +++ b/gui/themes/scummclassic/classic_layout_lowres.stx @@ -42,6 +42,10 @@ <def var = 'KeyMapper.LabelWidth' value = '80'/> <def var = 'KeyMapper.ButtonWidth' value = '60'/> + <def var = 'Tooltip.MaxWidth' value = '70'/> + <def var = 'Tooltip.XDelta' value = '8'/> <!-- basically cursor size --> + <def var = 'Tooltip.YDelta' value = '8'/> + <widget name = 'Button' size = '72, 16' /> |