#textdomain wesnoth-lib ### ### Definition of a toggle button to be used in a tree view as node fold/unfold indicator ### [toggle_button_definition] id = "tree_view_node" description = "Fold/unfold status indicator of a tree view node." [resolution] {GUI_NORMAL__RESOLUTION} min_width = 25 min_height = 19 default_width = 25 default_height = 19 max_width = 25 max_height = 19 [state_enabled] [draw] [image] name = "buttons/unfold-arrow.png" [/image] [/draw] [/state_enabled] [state_disabled] [draw] [image] name = "buttons/unfold-arrow.png~GS()" [/image] [/draw] [/state_disabled] [state_focussed] [draw] [image] name = "buttons/unfold-arrow-pressed.png" [/image] [/draw] [/state_focussed] ### ### Selected ### [state_enabled_selected] [draw] [image] name = "buttons/fold-arrow.png" [/image] [/draw] [/state_enabled_selected] [state_disabled_selected] [draw] [image] name = "buttons/fold-arrow.png~GS()" [/image] [/draw] [/state_disabled_selected] [state_focussed_selected] [draw] [image] name = "buttons/fold-arrow-pressed.png" [/image] [/draw] [/state_focussed_selected] [/resolution] [/toggle_button_definition]