home *** CD-ROM | disk | FTP | other *** search
/ Micromanía 87 / CDMM87_1.ISO / Sidrial / data1.cab / Program_Files / sidrial0.pk3 / ui / ingame_savec.menu < prev    next >
Encoding:
Text File  |  2002-01-13  |  2.9 KB  |  170 lines

  1. #include "ui/menudef.h"
  2.  
  3. {
  4. \\ SERVER INFO MENU \\
  5.  
  6. menuDef {
  7.      name "ingame_savec"
  8.      visible 0
  9.      fullscreen 0
  10.     outOfBoundsClick            // this closes the window if it gets a click out of the rectangle
  11.       rect 400 42 120 120
  12.       focusColor 1 1 1 1
  13.       style 1
  14.  
  15. //Background
  16.     itemDef {
  17.         name window2
  18.            rect 2 2 118 115
  19.         style 1
  20.         backcolor 0 0 0 .5
  21.         visible 1
  22.         decoration
  23.     }
  24.     itemDef {
  25.         name window
  26.            rect 2 2 118 115
  27.         style 1
  28.         backcolor .66 1 0 .35
  29.         forecolor 0 0 0 1
  30.         border 1
  31.         bordercolor .66 1 0 1
  32.         visible 1
  33.         decoration
  34.     }
  35. // save //
  36. itemDef {
  37.     name savebar
  38.     style WINDOW_STYLE_FILLED
  39.     rect 17 30 90 20
  40.     backcolor .66 1 0 .7  
  41.     visible 0 
  42. }
  43. itemDef {
  44.     name save
  45.     style 3
  46.     rect 7 28 24 24
  47.     background "ui/sidrial/sub/brace.tga"
  48.     backcolor 0 0 0 0
  49.        forecolor 1 1 1 1
  50.        visible 1
  51.     decoration    
  52. }
  53. itemDef {
  54.     name save
  55.     style 3
  56.     rect 95 28 24 24
  57.     background "ui/sidrial/sub/brace_right.tga"
  58.     backcolor 0 0 0 0
  59.        forecolor 1 1 1 1
  60.        visible 1
  61.     decoration    
  62. }    
  63. itemDef {
  64.     name save
  65.     text "Save"
  66.     textstyle 6
  67.     textscale .27
  68.     rect 17 30 90 20
  69.     type 1
  70.     textalign 1
  71.     textalignx 45
  72.     textaligny 15
  73.     forecolor .66 1 0 1
  74.     visible 1
  75.     action { open ingame_save ; close ingame_savec; }
  76.     mouseEnter { transition savebar 17 40 90 0 17 30 90 20 20 5 }
  77.     mouseExit { transition savebar 17 30 90 20 17 40 90 0 20 5 }
  78.     }
  79. // save //
  80. itemDef {
  81.     name qsavebar
  82.     style WINDOW_STYLE_FILLED
  83.     rect 17 70 90 20
  84.     backcolor .66 1 0 .7  
  85.     visible 0 
  86. }
  87. itemDef {
  88.     name qsave
  89.     style 3
  90.     rect 7 68 24 24
  91.     background "ui/sidrial/sub/brace.tga"
  92.     backcolor 0 0 0 0
  93.        forecolor 1 1 1 1
  94.        visible 1
  95.     decoration    
  96. }
  97. itemDef {
  98.     name qsave
  99.     style 3
  100.     rect 95 68 24 24
  101.     background "ui/sidrial/sub/brace_right.tga"
  102.     backcolor 0 0 0 0
  103.        forecolor 1 1 1 1
  104.        visible 1
  105.     decoration    
  106. }    
  107. itemDef {
  108.     name qsave
  109.     text "Quick Save"
  110.     textstyle 6
  111.     textscale .27
  112.     rect 17 70 90 20
  113.     type 1
  114.     textalign 1
  115.     textalignx 45
  116.     textaligny 15
  117.     forecolor .66 1 0 1
  118.     visible 1
  119.     action { uiScript qsave ; uiScript closeingame; }
  120.     mouseEnter { transition qsavebar 17 80 90 0 17 70 90 20 20 5 }
  121.     mouseExit { transition qsavebar 17 70 90 20 17 80 90 0 20 5 }
  122.     }    
  123.  
  124. //Corners                 
  125. itemDef {
  126.           name corners    
  127.         style 3
  128.           rect 0 0 40 40
  129.          background "ui/sidrial/Popup/ULCorner.tga"
  130.         backcolor 0 0 0 0
  131.           forecolor 1 1 1 1
  132.           visible 1
  133.         decoration    
  134.     }
  135. itemDef {
  136.           name corners    
  137.         style 3
  138.           rect 83 0 40 40
  139.          background "ui/sidrial/Popup/URCorner.tga"
  140.         backcolor 0 0 0 0
  141.           forecolor 1 1 1 1
  142.           visible 1
  143.         decoration    
  144.     }
  145. itemDef {
  146.           name corners    
  147.         style 3
  148.           rect 0 80 40 40
  149.          background "ui/sidrial/Popup/BLCorner.tga"
  150.         backcolor 0 0 0 0
  151.           forecolor 1 1 1 1
  152.           visible 1
  153.         decoration    
  154.     }
  155. itemDef {
  156.           name corners    
  157.         style 3
  158.           rect 83 80 40 40
  159.          background "ui/sidrial/Popup/BRCorner.tga"
  160.         backcolor 0 0 0 0
  161.           forecolor 1 1 1 1
  162.           visible 1
  163.         decoration    
  164.     }
  165.     
  166.  
  167. }
  168. }
  169. }
  170.