home *** CD-ROM | disk | FTP | other *** search
/ Maximum CD 2010 July / maximum-cd-2010-07.iso / DiscContents / wesnoth-1.8-win32.exe / data / gui / default / window / unit_create.cfg < prev    next >
Encoding:
Text File  |  2009-12-27  |  4.5 KB  |  228 lines

  1. #textdomain wesnoth-lib
  2. ###
  3. ### Definition of the window to create units in debug mode.
  4. ###
  5.  
  6. [window]
  7.     id = "unit_create"
  8.     description = "Debug-mode unit creation dialog."
  9.  
  10.     [resolution]
  11.         definition = "default"
  12.         automatic_placement = "true"
  13.         vertical_placement = "center"
  14.         horizontal_placement = "center"
  15.  
  16.         [linked_group]
  17.             id = "race"
  18.             fixed_width = "true"
  19.         [/linked_group]
  20.         [linked_group]
  21.             id = "unit_type"
  22.             fixed_width = "true"
  23.         [/linked_group]
  24.  
  25.         [grid]
  26.             [row]
  27.                 grow_factor = 0
  28.  
  29.                 [column]
  30.                     grow_factor = 1
  31.                     border = "all"
  32.                     border_size = 5
  33.                     horizontal_alignment = "left"
  34.  
  35.                     [label]
  36.                         definition = "title"
  37.                         label = _ "Create Unit (Debug!)"
  38.                     [/label]
  39.  
  40.                 [/column]
  41.             [/row]
  42.  
  43.             [row]
  44.                 grow_factor = 0
  45.  
  46.                 [column]
  47.                     grow_factor = 1
  48.                     horizontal_grow = "true"
  49.                     [grid]
  50.                         [row]
  51.                             grow_factor=0
  52.                             [column]
  53.                                 border = "all"
  54.                                 border_size = 5
  55.                                 horizontal_alignment = "left"
  56.  
  57.                                 [label]
  58.                                     definition = "default"
  59.                                     label= _ "Gender:"
  60.                                 [/label]
  61.                             [/column]
  62.  
  63.                             [column]
  64.                                 horizontal_alignment = "right"
  65.  
  66.                                 [toggle_button]
  67.                                     id = "male_toggle"
  68.                                     definition = "default"
  69.                                     label= _ "Male"
  70.                                 [/toggle_button]
  71.                             [/column]
  72.  
  73.                             [column]
  74.                                 horizontal_alignment = "right"
  75.  
  76.                                 [toggle_button]
  77.                                     id = "female_toggle"
  78.                                     definition = "default"
  79.                                     label= _ "Female"
  80.                                 [/toggle_button]
  81.  
  82.                             [/column]
  83.                         [/row]
  84.                     [/grid]
  85.                 [/column]
  86.             [/row]
  87.  
  88.             [row]
  89.                 grow_factor = 0
  90.  
  91.                 [column]
  92.                     horizontal_alignment = "right"
  93.  
  94.                     [toggle_button]
  95.                         id = "namegen_toggle"
  96.                         definition = "default"
  97.                         label= _ "Generate name"
  98.                     [/toggle_button]
  99.  
  100.                 [/column]
  101.             [/row]
  102.  
  103.             [row]
  104.                 grow_factor = 0
  105.  
  106.                 [column]
  107.                     grow_factor = 1
  108.                     border = "all"
  109.                     border_size = 5
  110.                     horizontal_alignment = "left"
  111.  
  112.                     [listbox]
  113.                         id = "unit_type_list"
  114.                         definition = "default"
  115.                         [header]
  116.                             [row]
  117.                                 [column]
  118.                                     grow_factor = 1
  119.                                      horizontal_grow = "true"
  120.                                     border = "all"
  121.                                     border_size = 5
  122.                                     [label]
  123.                                         id = "race"
  124.                                         definition = "default"
  125.                                         linked_group = "race"
  126.                                         label = _ "Race"
  127.                                     [/label]
  128.                                  [/column]
  129.                                 [column]
  130.                                     grow_factor = 1
  131.                                      horizontal_grow = "true"
  132.                                     border = "all"
  133.                                     border_size = 5
  134.                                     [label]
  135.                                         id = "unit_type"
  136.                                         definition = "default"
  137.                                         linked_group = "unit_type"
  138.                                         label = _ "Type"
  139.                                     [/label]
  140.                                 [/column]
  141.                             [/row]
  142.                         [/header]
  143.  
  144.                         [list_definition]
  145.                             [row]
  146.                                 [column]
  147.                                      vertical_grow = "true"
  148.                                      horizontal_grow = "true"
  149.  
  150.                                     [toggle_panel]
  151.                                         definition = "default"
  152.  
  153.                                         return_value_id = "ok"
  154.                                         [grid]
  155.                                             [row]
  156.                                                 [column]
  157.                                                     grow_factor = 1
  158.                                                     horizontal_grow = "true"
  159.                                                     border = "all"
  160.                                                     border_size = 5
  161.                                                     [label]
  162.                                                         id = "race"
  163.                                                         definition = "default"
  164.                                                         linked_group = "race"
  165.                                                     [/label]
  166.                                                 [/column]
  167.                                                 [column]
  168.                                                     grow_factor = 1
  169.                                                     horizontal_grow = "true"
  170.                                                     border = "all"
  171.                                                     border_size = 5
  172.                                                     [label]
  173.                                                         id = "unit_type"
  174.                                                         definition = "default"
  175.                                                         linked_group = "unit_type"
  176.                                                     [/label]
  177.                                                 [/column]
  178.                                             [/row]
  179.                                         [/grid]
  180.                                     [/toggle_panel]
  181.                                 [/column]
  182.                             [/row]
  183.                         [/list_definition]
  184.                     [/listbox]
  185.  
  186.                 [/column]
  187.             [/row]
  188.  
  189.             [row]
  190.                 grow_factor = 0
  191.  
  192.                 [column]
  193.                     grow_factor = 0
  194.                     [grid]
  195.                         [row]
  196.                             grow_factor=0
  197.                             [column]
  198.                                 border = "all"
  199.                                 border_size = 5
  200.                                 horizontal_alignment = "left"
  201.                                 [button]
  202.                                     id = "ok"
  203.                                     definition = "default"
  204.                                     size_text = _ "OK"
  205.                                     label = _ "OK"
  206.                                 [/button]
  207.                             [/column]
  208.  
  209.                             [column]
  210.                                 border = "all"
  211.                                 border_size = 5
  212.                                 horizontal_alignment = "right"
  213.                                 [button]
  214.                                     id = "cancel"
  215.                                     definition = "default"
  216.                                     size_text = _ "Cancel"
  217.                                     label = _ "Cancel"
  218.                                 [/button]
  219.                             [/column]
  220.                         [/row]
  221.                     [/grid]
  222.                 [/column]
  223.             [/row]
  224.         [/grid]
  225.     [/resolution]
  226.  
  227. [/window]
  228.