wesnoth/data/gui/macros/horizontal_scrollbar.cfg
2016-03-20 01:11:10 +11:00

90 lines
1.5 KiB
INI

#textdomain wesnoth-lib
# Defines the default _horizontal_scrollbar_grid for several widgets.
#define GUI__HORIZONTAL_SCROLLBAR_GRID
horizontal_grow = "true"
[grid]
id = "_horizontal_scrollbar_grid"
[row]
[column]
# note we want a special button definition for this later.
[repeating_button]
id = "_half_page_up"
definition = "left_arrow"
[/repeating_button]
[/column]
[column]
grow_factor = 1
horizontal_grow = "true"
[horizontal_scrollbar]
id = "_horizontal_scrollbar"
definition = "default"
[/horizontal_scrollbar]
[/column]
[column]
# note we want a special button definition for this later.
[repeating_button]
id = "_half_page_down"
definition = "right_arrow"
[/repeating_button]
[/column]
[/row]
[/grid]
#enddef
#define GUI__HORIZONTAL_SCROLLBAR_GRID_TRANSPARENT
horizontal_grow = "true"
[grid]
id = "_horizontal_scrollbar_grid"
[row]
[column]
# note we want a special button definition for this later.
[repeating_button]
id = "_half_page_up"
definition = "left_arrow_transparent"
[/repeating_button]
[/column]
[column]
grow_factor = 1
horizontal_grow = "true"
[horizontal_scrollbar]
id = "_horizontal_scrollbar"
definition = "transparent"
[/horizontal_scrollbar]
[/column]
[column]
# note we want a special button definition for this later.
[repeating_button]
id = "_half_page_down"
definition = "right_arrow_transparent"
[/repeating_button]
[/column]
[/row]
[/grid]
#enddef