Skip to content

Commit

Permalink
Revert "gui2: dropped repeating buttons from scrollbars"
Browse files Browse the repository at this point in the history
This reverts commit 04d510a.
  • Loading branch information
irydacea committed Feb 22, 2016
1 parent 2b65666 commit 7497321
Show file tree
Hide file tree
Showing 2 changed files with 98 additions and 0 deletions.
41 changes: 41 additions & 0 deletions data/gui/default/macros/horizontal_scrollbar.cfg
Expand Up @@ -8,6 +8,16 @@ horizontal_grow = "true"

[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"
Expand All @@ -19,6 +29,16 @@ horizontal_grow = "true"

[/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]
Expand All @@ -31,6 +51,16 @@ horizontal_grow = "true"

[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"
Expand All @@ -42,7 +72,18 @@ horizontal_grow = "true"

[/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

57 changes: 57 additions & 0 deletions data/gui/default/macros/vertical_scrollbar.cfg
Expand Up @@ -6,6 +6,20 @@ vertical_grow = "true"
[grid]
id = "_vertical_scrollbar_grid"

[row]

[column]

# note we want a special button definition for this later.
[repeating_button]
id = "_half_page_up"
definition = "up_arrow"
[/repeating_button]

[/column]

[/row]

[row]

grow_factor = 1
Expand All @@ -21,6 +35,20 @@ vertical_grow = "true"

[/row]

[row]

[column]

# note we want a special button definition for this later.
[repeating_button]
id = "_half_page_down"
definition = "down_arrow"
[/repeating_button]

[/column]

[/row]

[/grid]
#enddef

Expand All @@ -29,6 +57,20 @@ vertical_grow = "true"
[grid]
id = "_vertical_scrollbar_grid"

[row]

[column]

# note we want a special button definition for this later.
[repeating_button]
id = "_half_page_up"
definition = "up_arrow_transparent"
[/repeating_button]

[/column]

[/row]

[row]

grow_factor = 1
Expand All @@ -44,5 +86,20 @@ vertical_grow = "true"

[/row]

[row]

[column]

# note we want a special button definition for this later.
[repeating_button]
id = "_half_page_down"
definition = "down_arrow_transparent"
[/repeating_button]

[/column]

[/row]

[/grid]
#enddef

0 comments on commit 7497321

Please sign in to comment.