Skip to content

Commit

Permalink
Moved scrollbar images to their own folder
Browse files Browse the repository at this point in the history
  • Loading branch information
Vultraz committed Feb 22, 2016
1 parent 04d510a commit 5aa86c4
Show file tree
Hide file tree
Showing 38 changed files with 12 additions and 12 deletions.
12 changes: 6 additions & 6 deletions data/gui/default/widget/horizontal_scrollbar_default.cfg
Expand Up @@ -14,7 +14,7 @@
# 4 pixels wide
x = 0
y = 0
name = "buttons/scrollgroove-left.png{IPF}"
name = "buttons/scrollbars/scrollgroove-left.png{IPF}"
[/image]

[image]
Expand All @@ -24,14 +24,14 @@
, 0, width - {GROOVE_LEFT} - {GROOVE_RIGHT}))"
h = 0
resize_mode = "stretch"
name = "buttons/scrollgroove-horizontal.png{IPF}"
name = "buttons/scrollbars/scrollgroove-horizontal.png{IPF}"
[/image]

[image]
# 5 pixels wide
x = "(width - {GROOVE_RIGHT})"
y = 0
name = "buttons/scrollgroove-right.png{IPF}"
name = "buttons/scrollbars/scrollgroove-right.png{IPF}"
[/image]

#
Expand All @@ -42,7 +42,7 @@
# 5 pixels wide
x = "(positioner_offset)"
y = 0
name = "buttons/scrollleft{IMAGE_SUFFIX}{IPF}"
name = "buttons/scrollbars/scrollleft{IMAGE_SUFFIX}{IPF}"
[/image]

[image]
Expand All @@ -52,14 +52,14 @@
if(positioner_length - {POSITIONER_LEFT} - {POSITIONER_RIGHT} < 0
, 0, positioner_length - {POSITIONER_LEFT} - {POSITIONER_RIGHT}))"
resize_mode = "stretch"
name = "buttons/scrollhorizontal{IMAGE_SUFFIX}{IPF}"
name = "buttons/scrollbars/scrollhorizontal{IMAGE_SUFFIX}{IPF}"
[/image]

[image]
# 5 pixels wide
x = "(positioner_offset + positioner_length - {POSITIONER_RIGHT})"
y = 0
name = "buttons/scrollright{IMAGE_SUFFIX}{IPF}"
name = "buttons/scrollbars/scrollright{IMAGE_SUFFIX}{IPF}"
[/image]

[/draw]
Expand Down
12 changes: 6 additions & 6 deletions data/gui/default/widget/vertical_scrollbar_default.cfg
Expand Up @@ -14,7 +14,7 @@
# 4 pixels high
x = 0
y = 0
name = "buttons/scrollgroove-top.png{IPF}"
name = "buttons/scrollbars/scrollgroove-top.png{IPF}"
[/image]

[image]
Expand All @@ -23,14 +23,14 @@
h = "(if(height - {GROOVE_TOP} - {GROOVE_BOTTOM} < 0
, 0, height - {GROOVE_TOP} - {GROOVE_BOTTOM}))"
resize_mode = "stretch"
name = "buttons/scrollgroove-mid.png{IPF}"
name = "buttons/scrollbars/scrollgroove-mid.png{IPF}"
[/image]

[image]
# 5 pixels high
x = 0
y = "(height - {GROOVE_BOTTOM})"
name = "buttons/scrollgroove-bottom.png{IPF}"
name = "buttons/scrollbars/scrollgroove-bottom.png{IPF}"
[/image]

#
Expand All @@ -41,7 +41,7 @@
# 5 pixels high
x = 0
y = "(positioner_offset)"
name = "buttons/scrolltop{IMAGE_SUFFIX}{IPF}"
name = "buttons/scrollbars/scrolltop{IMAGE_SUFFIX}{IPF}"
[/image]

[image]
Expand All @@ -51,14 +51,14 @@
if(positioner_length - {POSITIONER_TOP} - {POSITIONER_BOTTOM} < 0
, 0, positioner_length - {POSITIONER_TOP} - {POSITIONER_BOTTOM}))"
resize_mode = "stretch"
name = "buttons/scrollmid{IMAGE_SUFFIX}{IPF}"
name = "buttons/scrollbars/scrollmid{IMAGE_SUFFIX}{IPF}"
[/image]

[image]
# 5 pixels high
x = 0
y = "(positioner_offset + positioner_length - {POSITIONER_BOTTOM})"
name = "buttons/scrollbottom{IMAGE_SUFFIX}{IPF}"
name = "buttons/scrollbars/scrollbottom{IMAGE_SUFFIX}{IPF}"
[/image]

[/draw]
Expand Down
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes

0 comments on commit 5aa86c4

Please sign in to comment.