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

  1. #include "ui/menudef.h"
  2.  
  3. {
  4. \\ VID_RESTART POPUP MENU \\
  5.  
  6. menuDef {
  7.     name "ingame_quit_confirm"
  8.         visible 0
  9.         fullscreen 0
  10.     rect 0 0 640 480
  11.     outOfBoundsClick            // this closes the window if it gets a click out of the rectangle
  12.         focusColor 1 1 1 1
  13.     popup
  14.     onESC { close ingame_quit_confirm ; open ingame_main ; hide greenhue }
  15. //QUIT STUFF
  16.      itemDef {
  17.         name quitwords
  18.         group quit
  19.         type 0
  20.           text "Exit Back to Main Menu?"
  21.           style 0    
  22.         textstyle 6
  23.           rect 300 170 80 30
  24.            forecolor .66 1 0 1
  25.         textalignx 35
  26.         textaligny 20
  27.           textalign 1
  28.         textscale .45        
  29.           visible 1     
  30.         decoration
  31.     }
  32.  
  33.     itemDef {
  34.         name yesbar
  35.         style WINDOW_STYLE_FILLED
  36.         rect 260 230 60 21
  37.         backcolor .66 1 0 .7  
  38.         visible 0 
  39.         action { play "sound/UI/menu3.wav" ;
  40.                  close ingame_quit_confirm ; 
  41.                  close ingame_main;
  42.                  uiScript leave }  
  43.  
  44.     }
  45.     itemDef {
  46.           name button        
  47.         group quit
  48.         style 3
  49.           rect 245 225 30 30 
  50.          background "ui/sidrial/sub/brace.tga"
  51.         backcolor 0 0 0 0
  52.           forecolor 1 1 1 1
  53.           visible 1
  54.         decoration    
  55.         action { play "sound/UI/menu3.wav" ;
  56.                  close ingame_quit_confirm ; 
  57.                  close ingame_main;
  58.                  uiScript leave }  
  59.     
  60.     }
  61.     itemDef {
  62.           name button    
  63.         group quit
  64.         style 3
  65.           rect 305 225 30 30 
  66.          background "ui/sidrial/sub/brace_right.tga"
  67.         backcolor 0 0 0 0
  68.           forecolor 1 1 1 1
  69.           visible 1
  70.         decoration    
  71.         action { play "sound/UI/menu3.wav" ;
  72.                  close ingame_quit_confirm ; 
  73.                  close ingame_main;
  74.                  uiScript leave }  
  75.  
  76.     }
  77.      itemDef {
  78.         name quitwords
  79.         group quit
  80.         type 1
  81.           text "Yes"
  82.           style 0    
  83.         textstyle 6
  84.           rect 245 225 90 30
  85.            forecolor .66 1 0 1
  86.         textalignx 45
  87.         textaligny 20
  88.           textalign 1
  89.         textscale .3        
  90.           visible 1     
  91.         mouseEnter { transition yesbar 260 240 60 0 260 230 60 21 20 5 ; }
  92.         mouseExit { transition yesbar 260 230 60 21 260 240 60 0 20 5 ; }
  93.         action { play "sound/UI/menu3.wav" ;
  94.                  close ingame_main;
  95.                  close ingame_quit_confirm ; 
  96.                  uiScript leave }  
  97.     }
  98.  
  99.  
  100.     itemDef {
  101.         name nobar
  102.         style WINDOW_STYLE_FILLED
  103.         rect 340 230 60 21
  104.         backcolor .66 1 0 .7  
  105.         visible 0 
  106.         action { play "sound/UI/menu3.wav" ;
  107.                  open ingame_main;
  108.                  close ingame_quit_confirm }
  109.     }
  110.     itemDef {
  111.           name button    
  112.         group quit
  113.         style 3
  114.           rect 325 225 30 30 
  115.          background "ui/sidrial/sub/brace.tga"
  116.         backcolor 0 0 0 0
  117.           forecolor 1 1 1 1
  118.           visible 1
  119.         decoration    
  120.         action { play "sound/UI/menu3.wav" ;
  121.                  open ingame_main;
  122.                  close ingame_quit_confirm }
  123.     }
  124.     itemDef {
  125.           name button    
  126.         group quit
  127.         style 3
  128.           rect 385 225 30 30 
  129.          background "ui/sidrial/sub/brace_right.tga"
  130.         backcolor 0 0 0 0
  131.           forecolor 1 1 1 1
  132.           visible 1
  133.         decoration    
  134.         action { play "sound/UI/menu3.wav" ;
  135.                  open ingame_main;
  136.                  close ingame_quit_confirm; }
  137.     }
  138.     itemDef {
  139.         name quitwords
  140.         group quit
  141.         type 1
  142.           text "No"
  143.           style 0    
  144.         textstyle 6
  145.           rect 325 225 90 30
  146.            forecolor .66 1 0 1
  147.         textalignx 45
  148.         textaligny 20
  149.           textalign 1
  150.         textscale .3        
  151.           visible 1    
  152.         mouseEnter { transition nobar 340 240 60 0 340 230 60 21 20 5 ; }
  153.         mouseExit { transition nobar 340 230 60 21 340 240 60 0 20 5 ; }
  154.         action { play "sound/UI/menu3.wav" ;
  155.                  open ingame_main;
  156.                  close ingame_quit_confirm; }
  157.     }
  158.  
  159.  
  160.  
  161.  
  162.  
  163. }
  164. }
  165.  
  166.  
  167.