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 / macros / vertical_scrollbar.cfg < prev   
Encoding:
Text File  |  2009-12-27  |  1.6 KB  |  106 lines

  1. #textdomain wesnoth-lib
  2. # Defines the default _vertical_scrollbar_grid for several widgets.
  3.  
  4. #define GUI__VERTICAL_SCROLLBAR_GRID
  5. vertical_grow = "true"
  6. [grid]
  7.     id = "_vertical_scrollbar_grid"
  8.  
  9.     [row]
  10.  
  11.         [column]
  12.  
  13.             # note we want a special button definition for this later.
  14.             [repeating_button]
  15.                 id = "_half_page_up"
  16.                 definition = "up_arrow"
  17.             [/repeating_button]
  18.  
  19.         [/column]
  20.  
  21.     [/row]
  22.  
  23.     [row]
  24.  
  25.             grow_factor = 1
  26.         [column]
  27.             vertical_grow = "true"
  28.  
  29.             [vertical_scrollbar]
  30.                 id = "_vertical_scrollbar"
  31.                 definition = "default"
  32.             [/vertical_scrollbar]
  33.  
  34.         [/column]
  35.  
  36.     [/row]
  37.  
  38.     [row]
  39.  
  40.         [column]
  41.  
  42.             # note we want a special button definition for this later.
  43.             [repeating_button]
  44.                 id = "_half_page_down"
  45.                 definition = "down_arrow"
  46.             [/repeating_button]
  47.  
  48.         [/column]
  49.  
  50.     [/row]
  51.  
  52. [/grid]
  53. #enddef
  54.  
  55. #define GUI__VERTICAL_SCROLLBAR_GRID_TRANSPARENT
  56. vertical_grow = "true"
  57. [grid]
  58.     id = "_vertical_scrollbar_grid"
  59.  
  60.     [row]
  61.  
  62.         [column]
  63.  
  64.             # note we want a special button definition for this later.
  65.             [repeating_button]
  66.                 id = "_half_page_up"
  67.                 definition = "up_arrow_transparent"
  68.             [/repeating_button]
  69.  
  70.         [/column]
  71.  
  72.     [/row]
  73.  
  74.     [row]
  75.  
  76.             grow_factor = 1
  77.         [column]
  78.             vertical_grow = "true"
  79.  
  80.             [vertical_scrollbar]
  81.                 id = "_vertical_scrollbar"
  82.                 definition = "transparent"
  83.             [/vertical_scrollbar]
  84.  
  85.         [/column]
  86.  
  87.     [/row]
  88.  
  89.     [row]
  90.  
  91.         [column]
  92.  
  93.             # note we want a special button definition for this later.
  94.             [repeating_button]
  95.                 id = "_half_page_down"
  96.                 definition = "down_arrow_transparent"
  97.             [/repeating_button]
  98.  
  99.         [/column]
  100.  
  101.     [/row]
  102.  
  103. [/grid]
  104. #enddef
  105.  
  106.