1#textdomain wesnoth-lib 2# Defines the default _horizontal_scrollbar_grid for several widgets. 3 4#define GUI__HORIZONTAL_SCROLLBAR_GRID 5horizontal_grow = true 6[grid] 7 id = "_horizontal_scrollbar_grid" 8 9 [row] 10#ifdef 0 11 [column] 12 13 # note we want a special button definition for this later. 14 [repeating_button] 15 id = "_half_page_up" 16 definition = "scrollbar_left_arrow" 17 [/repeating_button] 18 19 [/column] 20#endif 21 [column] 22 grow_factor = 1 23 horizontal_grow = true 24 25 [horizontal_scrollbar] 26 id = "_horizontal_scrollbar" 27 definition = "default" 28 [/horizontal_scrollbar] 29 30 [/column] 31#ifdef 0 32 [column] 33 34 # note we want a special button definition for this later. 35 [repeating_button] 36 id = "_half_page_down" 37 definition = "scrollbar_right_arrow" 38 [/repeating_button] 39 40 [/column] 41#endif 42 [/row] 43 44[/grid] 45#enddef 46 47#define GUI__HORIZONTAL_SCROLLBAR_GRID_TRANSPARENT 48horizontal_grow = true 49[grid] 50 id = "_horizontal_scrollbar_grid" 51 52 [row] 53#ifdef 0 54 [column] 55 56 # note we want a special button definition for this later. 57 [repeating_button] 58 id = "_half_page_up" 59 definition = "scrollbar_left_arrow_transparent" 60 [/repeating_button] 61 62 [/column] 63#endif 64 [column] 65 grow_factor = 1 66 horizontal_grow = true 67 68 [horizontal_scrollbar] 69 id = "_horizontal_scrollbar" 70 definition = "transparent" 71 [/horizontal_scrollbar] 72 73 [/column] 74#ifdef 0 75 [column] 76 77 # note we want a special button definition for this later. 78 [repeating_button] 79 id = "_half_page_down" 80 definition = "scrollbar_right_arrow_transparent" 81 [/repeating_button] 82 83 [/column] 84#endif 85 [/row] 86 87[/grid] 88#enddef 89