mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-04 11:35:58 +00:00
439 lines
8.4 KiB
INI
439 lines
8.4 KiB
INI
#textdomain wesnoth-lib
|
|
###
|
|
### Definition of the window to create units in debug mode.
|
|
###
|
|
|
|
[window]
|
|
id = "unit_create"
|
|
description = "Debug-mode unit creation dialog."
|
|
|
|
[resolution]
|
|
definition = "default"
|
|
automatic_placement = "true"
|
|
vertical_placement = "center"
|
|
horizontal_placement = "center"
|
|
|
|
maximum_height = 800
|
|
|
|
[linked_group]
|
|
id = "race"
|
|
fixed_width = "true"
|
|
[/linked_group]
|
|
[linked_group]
|
|
id = "unit_type"
|
|
fixed_width = "true"
|
|
[/linked_group]
|
|
|
|
[tooltip]
|
|
id = "tooltip_large"
|
|
[/tooltip]
|
|
|
|
[helptip]
|
|
id = "tooltip_large"
|
|
[/helptip]
|
|
|
|
[grid]
|
|
[row]
|
|
grow_factor = 0
|
|
|
|
[column]
|
|
grow_factor = 1
|
|
border = "all"
|
|
border_size = 5
|
|
horizontal_alignment = "left"
|
|
|
|
[label]
|
|
definition = "title"
|
|
label = _ "Create Unit (Debug!)"
|
|
[/label]
|
|
|
|
[/column]
|
|
|
|
[/row]
|
|
|
|
[row]
|
|
grow_factor = 1
|
|
|
|
[column]
|
|
horizontal_grow = "true"
|
|
vertical_grow = "true"
|
|
|
|
[grid]
|
|
|
|
[row]
|
|
|
|
[column]
|
|
vertical_alignment = "top"
|
|
|
|
[grid]
|
|
|
|
[row]
|
|
|
|
[column]
|
|
border = "all"
|
|
border_size = 5
|
|
vertical_grow = "true"
|
|
horizontal_alignment = "left"
|
|
|
|
[label]
|
|
id = "type_name"
|
|
wrap = "true"
|
|
[/label]
|
|
|
|
[/column]
|
|
|
|
[/row]
|
|
|
|
[row]
|
|
grow_factor = 1
|
|
|
|
[column]
|
|
border = "all"
|
|
border_size = 5
|
|
horizontal_alignment = "center"
|
|
vertical_alignment = "center"
|
|
|
|
[image]
|
|
id = "type_image"
|
|
definition = "default"
|
|
[/image]
|
|
|
|
[/column]
|
|
|
|
[/row]
|
|
|
|
[row]
|
|
|
|
[column]
|
|
border = "all"
|
|
border_size = 5
|
|
horizontal_alignment = "center"
|
|
|
|
[button]
|
|
id = "type_profile"
|
|
definition = "default"
|
|
|
|
label = _ "Profile"
|
|
[/button]
|
|
|
|
[/column]
|
|
|
|
[/row]
|
|
|
|
[row]
|
|
|
|
[column]
|
|
horizontal_grow = "true"
|
|
|
|
[grid]
|
|
|
|
[row]
|
|
grow_factor = 1
|
|
|
|
[column]
|
|
border = "all"
|
|
border_size = 5
|
|
horizontal_alignment = "left"
|
|
|
|
[label]
|
|
id = "type_level"
|
|
[/label]
|
|
|
|
[/column]
|
|
|
|
[column]
|
|
border = "all"
|
|
border_size = 5
|
|
horizontal_alignment = "left"
|
|
|
|
[image]
|
|
id = "type_race"
|
|
[/image]
|
|
|
|
[/column]
|
|
|
|
[column]
|
|
border = "all"
|
|
border_size = 5
|
|
horizontal_alignment = "left"
|
|
|
|
[image]
|
|
id = "type_alignment"
|
|
[/image]
|
|
|
|
[/column]
|
|
|
|
[/row]
|
|
|
|
[/grid]
|
|
|
|
[/column]
|
|
|
|
[/row]
|
|
|
|
[row]
|
|
|
|
[column]
|
|
border = "all"
|
|
border_size = 5
|
|
vertical_grow = "true"
|
|
horizontal_alignment = "left"
|
|
|
|
[label]
|
|
id = "type_details"
|
|
definition = "default_small"
|
|
wrap = "true"
|
|
[/label]
|
|
|
|
[/column]
|
|
|
|
[/row]
|
|
|
|
[/grid]
|
|
|
|
[/column]
|
|
|
|
[column]
|
|
|
|
[grid]
|
|
|
|
[row]
|
|
|
|
[column]
|
|
horizontal_alignment = "left"
|
|
|
|
[grid]
|
|
|
|
[row]
|
|
grow_factor = 1
|
|
|
|
[column]
|
|
border = "all"
|
|
border_size = 5
|
|
vertical_alignment = "center"
|
|
|
|
[label]
|
|
definition = "default"
|
|
label = _ "Filter"
|
|
[/label]
|
|
|
|
[/column]
|
|
|
|
[column]
|
|
border = "all"
|
|
border_size = 5
|
|
|
|
[text_box]
|
|
id = "filter_box"
|
|
definition = "default"
|
|
label = ""
|
|
[/text_box]
|
|
|
|
[/column]
|
|
|
|
[/row]
|
|
|
|
[/grid]
|
|
|
|
[/column]
|
|
|
|
[/row]
|
|
|
|
[row]
|
|
|
|
[column]
|
|
grow_factor = 1
|
|
border = "all"
|
|
border_size = 5
|
|
horizontal_alignment = "left"
|
|
|
|
[listbox]
|
|
id = "unit_type_list"
|
|
definition = "default"
|
|
[header]
|
|
[row]
|
|
[column]
|
|
grow_factor = 1
|
|
horizontal_grow = "true"
|
|
border = "all"
|
|
border_size = 5
|
|
|
|
[toggle_button]
|
|
id = "sort_0"
|
|
definition = "listbox_header"
|
|
linked_group = "race"
|
|
|
|
label = _ "Race"
|
|
[/toggle_button]
|
|
[/column]
|
|
[column]
|
|
grow_factor = 1
|
|
horizontal_grow = "true"
|
|
border = "all"
|
|
border_size = 5
|
|
|
|
[toggle_button]
|
|
id = "sort_1"
|
|
definition = "listbox_header"
|
|
linked_group = "unit_type"
|
|
|
|
label = _ "Type"
|
|
[/toggle_button]
|
|
[/column]
|
|
[/row]
|
|
[/header]
|
|
|
|
[list_definition]
|
|
[row]
|
|
[column]
|
|
vertical_grow = "true"
|
|
horizontal_grow = "true"
|
|
|
|
[toggle_panel]
|
|
definition = "default"
|
|
|
|
return_value_id = "ok"
|
|
[grid]
|
|
[row]
|
|
[column]
|
|
grow_factor = 1
|
|
horizontal_grow = "true"
|
|
border = "all"
|
|
border_size = 5
|
|
[label]
|
|
id = "race"
|
|
definition = "default"
|
|
linked_group = "race"
|
|
[/label]
|
|
[/column]
|
|
[column]
|
|
grow_factor = 1
|
|
horizontal_grow = "true"
|
|
border = "all"
|
|
border_size = 5
|
|
[label]
|
|
id = "unit_type"
|
|
definition = "default"
|
|
linked_group = "unit_type"
|
|
[/label]
|
|
[/column]
|
|
[/row]
|
|
[/grid]
|
|
[/toggle_panel]
|
|
[/column]
|
|
[/row]
|
|
[/list_definition]
|
|
[/listbox]
|
|
|
|
[/column]
|
|
|
|
[/row]
|
|
|
|
[row]
|
|
grow_factor = 0
|
|
|
|
[column]
|
|
grow_factor = 1
|
|
horizontal_grow = "true"
|
|
[grid]
|
|
[row]
|
|
grow_factor=0
|
|
[column]
|
|
border = "all"
|
|
border_size = 5
|
|
horizontal_alignment = "left"
|
|
|
|
[label]
|
|
definition = "default"
|
|
label= _ "Gender:"
|
|
[/label]
|
|
[/column]
|
|
|
|
[column]
|
|
border = "all"
|
|
border_size = 5
|
|
horizontal_alignment = "right"
|
|
|
|
[toggle_button]
|
|
id = "male_toggle"
|
|
definition = "radio"
|
|
label= _ "Male"
|
|
[/toggle_button]
|
|
[/column]
|
|
|
|
[column]
|
|
border = "all"
|
|
border_size = 5
|
|
horizontal_alignment = "right"
|
|
|
|
[toggle_button]
|
|
id = "female_toggle"
|
|
definition = "radio"
|
|
label= _ "Female"
|
|
[/toggle_button]
|
|
|
|
[/column]
|
|
[/row]
|
|
|
|
[/grid]
|
|
|
|
[/column]
|
|
|
|
[/row]
|
|
|
|
[/grid]
|
|
|
|
[/column]
|
|
|
|
[/row]
|
|
|
|
[/grid]
|
|
|
|
[/column]
|
|
|
|
[/row]
|
|
|
|
[row]
|
|
grow_factor = 0
|
|
|
|
[column]
|
|
grow_factor = 0
|
|
horizontal_alignment = "right"
|
|
[grid]
|
|
[row]
|
|
grow_factor=0
|
|
[column]
|
|
border = "all"
|
|
border_size = 5
|
|
horizontal_alignment = "right"
|
|
[button]
|
|
id = "ok"
|
|
definition = "default"
|
|
size_text = _ "OK"
|
|
label = _ "OK"
|
|
[/button]
|
|
[/column]
|
|
|
|
[column]
|
|
border = "all"
|
|
border_size = 5
|
|
horizontal_alignment = "right"
|
|
[button]
|
|
id = "cancel"
|
|
definition = "default"
|
|
size_text = _ "Cancel"
|
|
label = _ "Cancel"
|
|
[/button]
|
|
[/column]
|
|
[/row]
|
|
[/grid]
|
|
[/column]
|
|
|
|
[/row]
|
|
|
|
[/grid]
|
|
|
|
[/resolution]
|
|
|
|
[/window]
|