wesnoth/data/gui/default/widget/tooltip_default.cfg
Mark de Wever 68c640c5da Make the new tooltips look like the old ones.
Also update the changelog.
2009-03-01 09:40:58 +00:00

61 lines
1.1 KiB
INI

#textdomain wesnoth-lib
###
### Definition of a tooltip.
###
#define _GUI_RESOLUTION RESOLUTION MAX_WIDTH FONT_SIZE
[resolution]
min_width = 0
min_height = 0
default_width = 0
default_height = 0
max_width = {MAX_WIDTH}
max_height = 0
text_font_size = {FONT_SIZE}
[state_enabled]
[draw]
[rectangle]
x = 0
y = 0
w = "(width)"
h = "(height)"
border_thickness = 0
fill_colour = "0, 0, 0, 128"
[/rectangle]
[text]
x = 0
y = 0
w = "(text_width)"
h = "(text_height)"
font_size = {FONT_SIZE}
colour = {GUI__FONT_COLOUR_ENABLED__DEFAULT}
text = "(text)"
[/text]
[/draw]
[/state_enabled]
[/resolution]
#enddef
[tooltip_definition]
id = "default"
description = "small help tooltip"
# Tiny gui sizes haven't been tested yet so might need some tuning.
{_GUI_RESOLUTION ({GUI_TINY__RESOLUTION}) 150 ({GUI_TINY__FONT_SIZE__LARGE}) }
{_GUI_RESOLUTION () 300 ({GUI_NORMAL__FONT_SIZE__LARGE}) }
[/tooltip_definition]
#undef _GUI_RESOLUTION