#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.
			[button]
				id = "_half_page_up"
				definition = "left_arrow"
			[/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.
			[button]
				id = "_half_page_down"
				definition = "right_arrow"
			[/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.
			[button]
				id = "_half_page_up"
				definition = "left_arrow_transparent"
			[/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.
			[button]
				id = "_half_page_down"
				definition = "right_arrow_transparent"
			[/button]

		[/column]

	[/row]

[/grid]
#enddef

