mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-05 19:21:17 +00:00
113 lines
1.3 KiB
INI
113 lines
1.3 KiB
INI
#textdomain wesnoth-lib
|
|
###
|
|
### Definition of a radio toggle button without a label.
|
|
###
|
|
|
|
#define _GUI_RESOLUTION RESOLUTION WIDTH HEIGHT
|
|
[resolution]
|
|
|
|
{RESOLUTION}
|
|
|
|
min_width = {WIDTH}
|
|
min_height = {HEIGHT}
|
|
|
|
default_width = {WIDTH}
|
|
default_height = {HEIGHT}
|
|
|
|
max_width = 0
|
|
max_height = {HEIGHT}
|
|
|
|
[state]
|
|
[enabled]
|
|
|
|
[draw]
|
|
|
|
[image]
|
|
name = "buttons/radiobox.png"
|
|
[/image]
|
|
|
|
[/draw]
|
|
|
|
[/enabled]
|
|
|
|
[disabled]
|
|
|
|
[draw]
|
|
|
|
[image]
|
|
name = "buttons/radiobox.png~GS()"
|
|
[/image]
|
|
|
|
[/draw]
|
|
|
|
[/disabled]
|
|
|
|
[focused]
|
|
|
|
[draw]
|
|
|
|
[image]
|
|
name = "buttons/radiobox-active.png"
|
|
[/image]
|
|
|
|
[/draw]
|
|
|
|
[/focused]
|
|
[/state]
|
|
|
|
###
|
|
### Selected
|
|
###
|
|
|
|
[state]
|
|
[enabled]
|
|
|
|
[draw]
|
|
|
|
[image]
|
|
name = "buttons/radiobox-pressed.png"
|
|
[/image]
|
|
|
|
[/draw]
|
|
|
|
[/enabled]
|
|
|
|
[disabled]
|
|
|
|
[draw]
|
|
|
|
[image]
|
|
name = "buttons/radiobox-pressed.png~GS()"
|
|
[/image]
|
|
|
|
[/draw]
|
|
|
|
[/disabled]
|
|
|
|
[focused]
|
|
|
|
[draw]
|
|
|
|
[image]
|
|
name = "buttons/radiobox-active-pressed.png"
|
|
[/image]
|
|
|
|
[/draw]
|
|
|
|
[/focused]
|
|
[/state]
|
|
|
|
[/resolution]
|
|
#enddef
|
|
|
|
[toggle_button_definition]
|
|
|
|
id = "radio_no_label"
|
|
description = "Radio button without a text label."
|
|
|
|
{_GUI_RESOLUTION () 20 18}
|
|
|
|
[/toggle_button_definition]
|
|
|
|
#undef _GUI_RESOLUTION
|