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 / widget / toggle_button_tree_view_node.cfg < prev    next >
Encoding:
Text File  |  2010-02-10  |  1.4 KB  |  104 lines

  1. #textdomain wesnoth-lib
  2. ###
  3. ### Definition of a toggle button to be used in a tree view as node fold/unfold indicator
  4. ###
  5.  
  6. [toggle_button_definition]
  7.  
  8.     id = "tree_view_node"
  9.     description = "Fold/unfold status indicator of a tree view node."
  10.  
  11.     [resolution]
  12.  
  13.         {GUI_NORMAL__RESOLUTION} 
  14.  
  15.         min_width = 25
  16.         min_height = 19
  17.  
  18.         default_width = 25
  19.         default_height = 19
  20.  
  21.         max_width = 25
  22.         max_height = 19
  23.  
  24.         [state_enabled]
  25.  
  26.             [draw]
  27.  
  28.                 [image]
  29.                     name = "buttons/unfold-arrow.png"
  30.                 [/image]
  31.  
  32.             [/draw]
  33.  
  34.         [/state_enabled]
  35.  
  36.         [state_disabled]
  37.  
  38.             [draw]
  39.  
  40.                 [image]
  41.                     name = "buttons/unfold-arrow-active.png"
  42.                 [/image]
  43.  
  44.             [/draw]
  45.  
  46.         [/state_disabled]
  47.  
  48.         [state_focussed]
  49.  
  50.             [draw]
  51.  
  52.                 [image]
  53.                     name = "buttons/unfold-arrow-pressed.png"
  54.                 [/image]
  55.  
  56.             [/draw]
  57.  
  58.         [/state_focussed]
  59.  
  60. ###
  61. ### Selected
  62. ###
  63.  
  64.         [state_enabled_selected]
  65.  
  66.             [draw]
  67.  
  68.                 [image]
  69.                     name = "buttons/fold-arrow.png"
  70.                 [/image]
  71.  
  72.             [/draw]
  73.  
  74.         [/state_enabled_selected]
  75.  
  76.         [state_disabled_selected]
  77.  
  78.             [draw]
  79.  
  80.                 [image]
  81.                     name = "buttons/fold-arrow-active.png"
  82.                 [/image]
  83.  
  84.             [/draw]
  85.  
  86.         [/state_disabled_selected]
  87.  
  88.         [state_focussed_selected]
  89.  
  90.             [draw]
  91.  
  92.                 [image]
  93.                     name = "buttons/fold-arrow-pressed.png"
  94.                 [/image]
  95.  
  96.             [/draw]
  97.  
  98.         [/state_focussed_selected]
  99.  
  100.     [/resolution]
  101.  
  102. [/toggle_button_definition]
  103.  
  104.