Made repeating button use opacity IPF for transparent versions (value set to 65%).
Thanks to bumbadadabum for pointing out I had forgot to do this
This commit is contained in:
parent
73ae565d8d
commit
beb177e09b
1 changed files with 30 additions and 21 deletions
|
@ -4,7 +4,7 @@
|
|||
### - down arrow button for the listbox.
|
||||
### - up arrow button for the listbox.
|
||||
|
||||
#define _GUI_RESOLUTION RESOLUTION SIZE IMAGE IMAGE_OVERLAY
|
||||
#define _GUI_RESOLUTION RESOLUTION SIZE IMAGE IMAGE_OVERLAY IPF
|
||||
[resolution]
|
||||
|
||||
{RESOLUTION}
|
||||
|
@ -25,13 +25,13 @@
|
|||
[image]
|
||||
w = {SIZE}
|
||||
h = {SIZE}
|
||||
name = {IMAGE} + ".png"
|
||||
name = {IMAGE} + ".png{IPF}"
|
||||
[/image]
|
||||
|
||||
[image]
|
||||
w = {SIZE}
|
||||
h = {SIZE}
|
||||
name = {IMAGE_OVERLAY} + ".png"
|
||||
name = {IMAGE_OVERLAY} + ".png{IPF}"
|
||||
[/image]
|
||||
|
||||
[/draw]
|
||||
|
@ -45,13 +45,13 @@
|
|||
[image]
|
||||
w = {SIZE}
|
||||
h = {SIZE}
|
||||
name = {IMAGE} + "-disabled.png"
|
||||
name = {IMAGE} + "-disabled.png{IPF}"
|
||||
[/image]
|
||||
|
||||
[image]
|
||||
w = {SIZE}
|
||||
h = {SIZE}
|
||||
name = {IMAGE_OVERLAY} + ".png~GS()"
|
||||
name = {IMAGE_OVERLAY} + ".png~GS(){IPF}"
|
||||
[/image]
|
||||
|
||||
[/draw]
|
||||
|
@ -65,13 +65,13 @@
|
|||
[image]
|
||||
w = {SIZE}
|
||||
h = {SIZE}
|
||||
name = {IMAGE} + "-pressed.png"
|
||||
name = {IMAGE} + "-pressed.png{IPF}"
|
||||
[/image]
|
||||
|
||||
[image]
|
||||
w = {SIZE}
|
||||
h = {SIZE}
|
||||
name = {IMAGE_OVERLAY} + "-pressed.png"
|
||||
name = {IMAGE_OVERLAY} + "-pressed.png{IPF}"
|
||||
[/image]
|
||||
|
||||
[/draw]
|
||||
|
@ -85,13 +85,13 @@
|
|||
[image]
|
||||
w = {SIZE}
|
||||
h = {SIZE}
|
||||
name = {IMAGE} + "-active.png"
|
||||
name = {IMAGE} + "-active.png{IPF}"
|
||||
[/image]
|
||||
|
||||
[image]
|
||||
w = {SIZE}
|
||||
h = {SIZE}
|
||||
name = {IMAGE_OVERLAY} + "-active.png"
|
||||
name = {IMAGE_OVERLAY} + "-active.png{IPF}"
|
||||
[/image]
|
||||
|
||||
[/draw]
|
||||
|
@ -101,13 +101,13 @@
|
|||
[/resolution]
|
||||
#enddef
|
||||
|
||||
#define _GUI_DEFINITION ID DESCRIPTION IMAGE IMAGE_OVERLAY
|
||||
#define _GUI_DEFINITION ID DESCRIPTION IMAGE IMAGE_OVERLAY IPF
|
||||
[repeating_button_definition]
|
||||
id = {ID}
|
||||
description = {DESCRIPTION}
|
||||
|
||||
{_GUI_RESOLUTION ({GUI_TINY__RESOLUTION}) 12 ({IMAGE}) ({IMAGE_OVERLAY})}
|
||||
{_GUI_RESOLUTION () 25 ({IMAGE}) ({IMAGE_OVERLAY})}
|
||||
{_GUI_RESOLUTION ({GUI_TINY__RESOLUTION}) 12 ({IMAGE}) ({IMAGE_OVERLAY}) ({IPF})}
|
||||
{_GUI_RESOLUTION () 25 ({IMAGE}) ({IMAGE_OVERLAY}) ({IPF})}
|
||||
|
||||
[/repeating_button_definition]
|
||||
#enddef
|
||||
|
@ -118,7 +118,8 @@
|
|||
"default"
|
||||
"Default don't use."
|
||||
"buttons/button_square/button_square_25"
|
||||
""
|
||||
()
|
||||
()
|
||||
}
|
||||
|
||||
# Opaques arrow buttons
|
||||
|
@ -128,6 +129,7 @@
|
|||
"Down arrow button for a scrollbar."
|
||||
"buttons/button_square/button_square_25"
|
||||
"icons/arrows/arrows_ornate_down_25"
|
||||
()
|
||||
}
|
||||
|
||||
{_GUI_DEFINITION
|
||||
|
@ -135,6 +137,7 @@
|
|||
"Up arrow button for a scrollbar."
|
||||
"buttons/button_square/button_square_25"
|
||||
"icons/arrows/arrows_ornate_up_25"
|
||||
()
|
||||
}
|
||||
|
||||
{_GUI_DEFINITION
|
||||
|
@ -142,6 +145,7 @@
|
|||
"Left arrow button for a scrollbar."
|
||||
"buttons/button_square/button_square_25"
|
||||
"icons/arrows/arrows_ornate_left_25"
|
||||
()
|
||||
}
|
||||
|
||||
{_GUI_DEFINITION
|
||||
|
@ -149,6 +153,7 @@
|
|||
"Right arrow button for a scrollbar."
|
||||
"buttons/button_square/button_square_25"
|
||||
"icons/arrows/arrows_ornate_right_25"
|
||||
()
|
||||
}
|
||||
|
||||
# Transparent arrow buttons
|
||||
|
@ -156,29 +161,33 @@
|
|||
{_GUI_DEFINITION
|
||||
"down_arrow_transparent"
|
||||
"Down arrow button for a transparent scrollbar."
|
||||
"buttons/button_square/button_square_25_transparent"
|
||||
"icons/arrows/arrows_ornate_down_25_transparent"
|
||||
"buttons/button_square/button_square_25"
|
||||
"icons/arrows/arrows_ornate_down_25"
|
||||
"~O(65%)"
|
||||
}
|
||||
|
||||
{_GUI_DEFINITION
|
||||
"up_arrow_transparent"
|
||||
"Up arrow button for a transparent scrollbar."
|
||||
"buttons/button_square/button_square_25_transparent"
|
||||
"icons/arrows/arrows_ornate_up_25_transparent"
|
||||
"buttons/button_square/button_square_25"
|
||||
"icons/arrows/arrows_ornate_up_25"
|
||||
"~O(65%)"
|
||||
}
|
||||
|
||||
{_GUI_DEFINITION
|
||||
"left_arrow_transparent"
|
||||
"Left arrow button for a transparent scrollbar."
|
||||
"buttons/button_square/button_square_25_transparent"
|
||||
"icons/arrows/arrows_ornate_left_25_transparent"
|
||||
"buttons/button_square/button_square_25"
|
||||
"icons/arrows/arrows_ornate_left_25"
|
||||
"~O(65%)"
|
||||
}
|
||||
|
||||
{_GUI_DEFINITION
|
||||
"right_arrow_transparent"
|
||||
"Right arrow button for a transparent scrollbar."
|
||||
"buttons/button_square/button_square_25_transparent"
|
||||
"icons/arrows/arrows_ornate_right_25_transparent"
|
||||
"buttons/button_square/button_square_25"
|
||||
"icons/arrows/arrows_ornate_right_25"
|
||||
"~O(65%)"
|
||||
}
|
||||
|
||||
#undef _GUI_DEFINITION
|
||||
|
|
Loading…
Add table
Reference in a new issue