wesnoth/data/gui/default/widget/button_25x25.cfg

215 lines
3.7 KiB
INI

#textdomain wesnoth-lib
###
### Definition of buttons which have a 25 x 25 pixels image.
### - down arrow button for the listbox.
### - up arrow button for the listbox.
#define _GUI_RESOLUTION RESOLUTION SIZE IMAGE IMAGE_OVERLAY IPF
[resolution]
{RESOLUTION}
min_width = {SIZE}
min_height = {SIZE}
default_width = {SIZE}
default_height = {SIZE}
max_width = {SIZE}
max_height = {SIZE}
[state_enabled]
[draw]
[image]
w = {SIZE}
h = {SIZE}
name = {IMAGE} + ".png{IPF}"
[/image]
[image]
w = {SIZE}
h = {SIZE}
name = {IMAGE_OVERLAY} + ".png{IPF}"
[/image]
[/draw]
[/state_enabled]
[state_disabled]
[draw]
[image]
w = {SIZE}
h = {SIZE}
name = {IMAGE} + "-disabled.png{IPF}"
[/image]
[image]
w = {SIZE}
h = {SIZE}
name = {IMAGE_OVERLAY} + ".png~GS(){IPF}"
[/image]
[/draw]
[/state_disabled]
[state_pressed]
[draw]
[image]
w = {SIZE}
h = {SIZE}
name = {IMAGE} + "-pressed.png{IPF}"
[/image]
[image]
w = {SIZE}
h = {SIZE}
name = {IMAGE_OVERLAY} + "-pressed.png{IPF}"
[/image]
[/draw]
[/state_pressed]
[state_focussed]
[draw]
[image]
w = {SIZE}
h = {SIZE}
name = {IMAGE} + "-active.png{IPF}"
[/image]
[image]
w = {SIZE}
h = {SIZE}
name = {IMAGE_OVERLAY} + "-active.png{IPF}"
[/image]
[/draw]
[/state_focussed]
[/resolution]
#enddef
#define _GUI_DEFINITION ID DESCRIPTION IMAGE IMAGE_OVERLAY IPF
[button_definition]
id = {ID}
description = {DESCRIPTION}
{_GUI_RESOLUTION ({GUI_TINY__RESOLUTION}) 12 ({IMAGE}) ({IMAGE_OVERLAY}) ({IPF})}
{_GUI_RESOLUTION () 25 ({IMAGE}) ({IMAGE_OVERLAY}) ({IPF})}
[/button_definition]
#enddef
{_GUI_DEFINITION
"down_arrow"
"Down arrow button for a scrollbar."
"buttons/button_square/button_square_25"
"icons/arrows/arrows_ornate_down_25"
()
}
{_GUI_DEFINITION
"up_arrow"
"Up arrow button for a scrollbar."
"buttons/button_square/button_square_25"
"icons/arrows/arrows_ornate_up_25"
()
}
{_GUI_DEFINITION
"left_arrow"
"Left arrow button for a scrollbar."
"buttons/button_square/button_square_25"
"icons/arrows/arrows_ornate_left_25"
()
}
{_GUI_DEFINITION
"right_arrow"
"Right arrow button for a scrollbar."
"buttons/button_square/button_square_25"
"icons/arrows/arrows_ornate_right_25"
()
}
{_GUI_DEFINITION
"add"
"Addition button."
"buttons/button_square/button_square_25"
"icons/action/ornate_add_25"
()
}
{_GUI_DEFINITION
"delete"
"Deletion button."
"buttons/button_square/button_square_25"
"icons/action/ornate_delete_25"
()
}
# The transparent version
{_GUI_DEFINITION
"down_arrow_transparent"
"Down arrow button for a transparent scrollbar."
"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"
"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"
"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"
"icons/arrows/arrows_ornate_right_25"
"~O(65%)"
}
{_GUI_DEFINITION
"add_transparent"
"Transparent addition button."
"buttons/button_square/button_square_25"
"icons/action/ornate_add_25"
"~O(65%)"
}
{_GUI_DEFINITION
"delete_transparent"
"Transparent deletion button."
"buttons/button_square/button_square_25"
"icons/action/ornate_delete_25"
"~O(65%)"
}
#undef _GUI_DEFINITION
#undef _GUI_RESOLUTION