wesnoth/data/gui/macros/horizontal_scrollbar.cfg
2018-03-09 11:37:00 +11:00

89 lines
1.6 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]
#ifdef 0
[column]
# note we want a special button definition for this later.
[repeating_button]
id = "_half_page_up"
definition = "scrollbar_left_arrow"
[/repeating_button]
[/column]
#endif
[column]
grow_factor = 1
horizontal_grow = true
[horizontal_scrollbar]
id = "_horizontal_scrollbar"
definition = "default"
[/horizontal_scrollbar]
[/column]
#ifdef 0
[column]
# note we want a special button definition for this later.
[repeating_button]
id = "_half_page_down"
definition = "scrollbar_right_arrow"
[/repeating_button]
[/column]
#endif
[/row]
[/grid]
#enddef
#define GUI__HORIZONTAL_SCROLLBAR_GRID_TRANSPARENT
horizontal_grow = true
[grid]
id = "_horizontal_scrollbar_grid"
[row]
#ifdef 0
[column]
# note we want a special button definition for this later.
[repeating_button]
id = "_half_page_up"
definition = "scrollbar_left_arrow_transparent"
[/repeating_button]
[/column]
#endif
[column]
grow_factor = 1
horizontal_grow = true
[horizontal_scrollbar]
id = "_horizontal_scrollbar"
definition = "transparent"
[/horizontal_scrollbar]
[/column]
#ifdef 0
[column]
# note we want a special button definition for this later.
[repeating_button]
id = "_half_page_down"
definition = "scrollbar_right_arrow_transparent"
[/repeating_button]
[/column]
#endif
[/row]
[/grid]
#enddef