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

  1. #include "ui/menudef.h"
  2.  
  3. {
  4. \\ SERVER INFO MENU \\
  5.  
  6. menuDef {
  7.      name "ingame_vote"
  8.      visible 0
  9.      fullscreen 0
  10.     outOfBoundsClick            // this closes the window if it gets a click out of the rectangle
  11.       rect 315 42 120 120
  12.       focusColor 1 1 1 1
  13.       style 1
  14.  
  15. //Background
  16.     itemDef {
  17.         name window2
  18.          rect 2 2 115 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 115 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. itemDef {
  36.        name text
  37.     style 0
  38.     textstyle 6
  39.     text "Vote:"    
  40.        rect 10 15 50 20 
  41.        textalign 1
  42.        textalignx 25
  43.        textaligny 18    
  44.     textscale .3     
  45.        forecolor 1 1 1 1
  46.     decoration
  47.        visible 1 
  48. }
  49. // OKBUTTON //
  50. itemDef {
  51.     name yesbar
  52.     group grpCallVote
  53.     style WINDOW_STYLE_FILLED
  54.     rect 35 50 50 15
  55.     backcolor .66 1 0 .7  
  56.     visible 0 
  57.     action { exec "vote yes" ; uiScript closeingame }
  58. }
  59. itemDef {
  60.     name yes
  61.     group grpVote
  62.     style 3
  63.     rect 27 48 20 20
  64.     background "ui/sidrial/sub/brace.tga"
  65.     backcolor 0 0 0 0
  66.        forecolor 1 1 1 1
  67.        visible 1
  68.     decoration    
  69.     action { exec "vote yes" ; uiScript closeingame }
  70. }
  71. itemDef {
  72.     name yes
  73.     group grpVote
  74.     style 3
  75.     rect 75 48 20 20 
  76.     background "ui/sidrial/sub/brace_right.tga"
  77.     backcolor 0 0 0 0
  78.        forecolor 1 1 1 1
  79.        visible 1
  80.     decoration    
  81.     action { exec "vote yes" ; uiScript closeingame }
  82. }    
  83. itemDef {
  84.     name yes
  85.     group grpVote
  86.     text "Yes"
  87.     textstyle 6
  88.     textscale .25
  89.     rect 35 50 50 15
  90.     type 1
  91.     textalign 1
  92.     textalignx 25
  93.     textaligny 12
  94.     forecolor .66 1 0 1
  95.     visible 1
  96.     action { exec "vote yes" ; uiScript closeingame }
  97.     mouseEnter { transition yesbar 35 57 50 0 35 50 50 15 20 5 }
  98.     mouseExit { transition yesbar 35 50 50 15 35 57 50 0 20 5 }
  99.     }
  100.     
  101. // NOBUTTON //
  102. itemDef {
  103.     name nobar
  104.     group grpCallVote
  105.     style WINDOW_STYLE_FILLED
  106.     rect 35 80 50 15
  107.     backcolor .66 1 0 .7  
  108.     visible 0 
  109.     action { exec "vote no" ; uiScript closeingame }
  110. }
  111. itemDef {
  112.     name no
  113.     group grpVote
  114.     style 3
  115.     rect 27 78 20 20
  116.     background "ui/sidrial/sub/brace.tga"
  117.     backcolor 0 0 0 0
  118.        forecolor 1 1 1 1
  119.        visible 1
  120.     decoration    
  121.     action { exec "vote no" ; uiScript closeingame }
  122. }
  123. itemDef {
  124.     name no
  125.     group grpVote
  126.     style 3
  127.     rect 75 78 20 20 
  128.     background "ui/sidrial/sub/brace_right.tga"
  129.     backcolor 0 0 0 0
  130.        forecolor 1 1 1 1
  131.        visible 1
  132.     decoration    
  133.     action { exec "vote no" ; uiScript closeingame }
  134. }    
  135. itemDef {
  136.     name no
  137.     group grpVote
  138.     text "No"
  139.     textstyle 6
  140.     textscale .25
  141.     rect 35 80 50 15
  142.     type 1
  143.     textalign 1
  144.     textalignx 25
  145.     textaligny 12
  146.     forecolor .66 1 0 1
  147.     visible 1
  148.     action { exec "vote no" ; uiScript closeingame }
  149.     mouseEnter { transition yesbar 35 87 50 0 35 80 50 15 20 5 }
  150.     mouseExit { transition yesbar 35 80 50 15 35 87 50 0 20 5 }
  151.     }    
  152. //Corners                 
  153. itemDef {
  154.           name corners    
  155.         style 3
  156.           rect 0 0 40 40
  157.          background "ui/sidrial/Popup/ULCorner.tga"
  158.         backcolor 0 0 0 0
  159.           forecolor 1 1 1 1
  160.           visible 1
  161.         decoration    
  162.     }
  163. itemDef {
  164.           name corners    
  165.         style 3
  166.           rect 80 0 40 40
  167.          background "ui/sidrial/Popup/URCorner.tga"
  168.         backcolor 0 0 0 0
  169.           forecolor 1 1 1 1
  170.           visible 1
  171.         decoration    
  172.     }
  173. itemDef {
  174.           name corners    
  175.         style 3
  176.           rect 0 80 40 40
  177.          background "ui/sidrial/Popup/BLCorner.tga"
  178.         backcolor 0 0 0 0
  179.           forecolor 1 1 1 1
  180.           visible 1
  181.         decoration    
  182.     }
  183. itemDef {
  184.           name corners    
  185.         style 3
  186.           rect 80 80 40 40
  187.          background "ui/sidrial/Popup/BRCorner.tga"
  188.         backcolor 0 0 0 0
  189.           forecolor 1 1 1 1
  190.           visible 1
  191.         decoration    
  192.     }
  193.     
  194.  
  195. }
  196. }
  197. }
  198.