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

  1. #include "ui/menudef.h"
  2.  
  3. {
  4. \\ VID_RESTART POPUP MENU \\
  5.  
  6. menuDef {
  7.     name "ingame_vid_restart_popmenu"
  8.         visible 0
  9.         fullscreen 0
  10.     rect 204 122 235 195
  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_vid_restart_popmenu ; 
  15.     open ingame_confignav ;  
  16.     open ingame_configsystem }
  17. //Background//
  18. //Background
  19.     itemDef {
  20.         name window
  21.          rect 2 2 233 193
  22.         style 1
  23.         backcolor 0 0 0 .6
  24.         visible 1
  25.         decoration
  26.     }
  27.     itemDef {
  28.         name window
  29.            rect 2 2 233 193
  30.         style 1
  31.         backcolor 0 0 0 .5
  32.         forecolor 0 0 0 1
  33.         border 0
  34.         visible 1
  35.         decoration
  36.         }
  37.     itemDef {
  38.         name window
  39.            rect 2 2 233 193
  40.         style 1
  41.         backcolor .66 1 0 .6
  42.         forecolor 0 0 0 1
  43.         border 1
  44.         bordercolor .66 1 0 1
  45.         visible 1
  46.         decoration
  47.         }
  48.  
  49.     // VID_RESTART    //
  50.  
  51. itemDef {
  52.     name confirm
  53.     text "This will apply video"
  54.     style 0
  55.     textscale .25 
  56.     textstyle 6
  57.     rect 0 55 80 20
  58.     textalign 1
  59.     textalignx 117
  60.     textaligny 15
  61.     decoration
  62.     forecolor 1 1 1 1
  63.     visible 1
  64.     }
  65. itemDef {
  66.     name confirm
  67.     text "settings and return"
  68.     style 0
  69.     textscale .25 
  70.     textstyle 6
  71.     rect 0 70 80 20
  72.     textalign 1
  73.     textalignx 117
  74.     textaligny 15
  75.     decoration
  76.     forecolor 1 1 1 1
  77.     visible 1
  78.     }
  79. itemDef {
  80.     name confirm
  81.     text "to the Main Menu." 
  82.     style 0
  83.     textscale .25 
  84.     textstyle 6
  85.     rect 0 85 80 20
  86.     textalign 1
  87.     textalignx 117
  88.     textaligny 15
  89.     decoration
  90.     forecolor 1 1 1 1
  91.     visible 1
  92.     }
  93.  
  94. itemDef {
  95.     name yesbar
  96.     style WINDOW_STYLE_FILLED
  97.     rect 73 110 40 20
  98.     backcolor .66 1 0 .7  
  99.     visible 0 
  100.     action { play "sound/UI/menu3.wav" ; 
  101.     close ingame_vid_restart_popmenu ; 
  102.     exec "vid_restart" }
  103. }
  104. itemDef {
  105.     name yes
  106.     style 3
  107.     rect 61 106 26 26
  108.     background "ui/sidrial/sub/brace.tga"
  109.     backcolor 0 0 0 0
  110.        forecolor 1 1 1 1
  111.        visible 1
  112.     decoration    
  113.     action { play "sound/UI/menu3.wav" ; 
  114.     close ingame_vid_restart_popmenu ; 
  115.     exec "vid_restart" }
  116. }
  117. itemDef {
  118.     name yes
  119.     style 3
  120.     rect 98 106 26 26
  121.     background "ui/sidrial/sub/brace_right.tga"
  122.     backcolor 0 0 0 0
  123.        forecolor 1 1 1 1
  124.        visible 1
  125.     decoration    
  126.     action { play "sound/UI/menu3.wav" ; 
  127.     close ingame_vid_restart_popmenu ; 
  128.     exec "vid_restart" }
  129. }
  130. itemDef {
  131.     name yes
  132.     text "YES"
  133.     type 1
  134.     textscale .25
  135.     textstyle 6
  136.     group grpSystem
  137.     style WINDOW_STYLE_FILLED
  138.     rect 73 110 40 20
  139.     textalign 1
  140.     textalignx 20
  141.     textaligny 13
  142.     forecolor .66 1 0 1
  143.     visible 1
  144.     action { play "sound/UI/menu3.wav" ; 
  145.     close ingame_vid_restart_popmenu ; 
  146.     exec "vid_restart" }
  147.     mouseEnter { transition yesbar 73 120 40 0 73 110 40 20 20 5 } 
  148.     mouseExit { transition yesbar 73 110 40 20 73 120 40 0 20 5} 
  149. }    
  150.  
  151. itemDef {
  152.     name nobar
  153.     style WINDOW_STYLE_FILLED
  154.     rect 117 110 40 20
  155.     backcolor .66 1 0 .7  
  156.     visible 0 
  157.     action { play "sound/UI/menu3.wav" ; 
  158.     close ingame_vid_restart_popmenu ;  
  159.     open ingame_confignav ; 
  160.     open ingame_configsystem }
  161. }
  162. itemDef {
  163.     name no
  164.     style 3
  165.     rect 105 106 26 26
  166.     background "ui/sidrial/sub/brace.tga"
  167.     backcolor 0 0 0 0
  168.        forecolor 1 1 1 1
  169.        visible 1
  170.     decoration    
  171.     action { play "sound/UI/menu3.wav" ; 
  172.     close ingame_vid_restart_popmenu ;  
  173.     open ingame_confignav ; 
  174.     open ingame_configsystem }
  175. }
  176. itemDef {
  177.     name no
  178.     style 3
  179.     rect 142 106 26 26
  180.     background "ui/sidrial/sub/brace_right.tga"
  181.     backcolor 0 0 0 0
  182.        forecolor 1 1 1 1
  183.        visible 1
  184.     decoration    
  185.     action { play "sound/UI/menu3.wav" ; 
  186.     close ingame_vid_restart_popmenu ;  
  187.     open ingame_confignav ; 
  188.     open ingame_configsystem }
  189. }
  190. itemDef {
  191.     name no
  192.     text "No"
  193.     type 1
  194.     textscale .25
  195.     textstyle 6
  196.     group grpSystem
  197.     style WINDOW_STYLE_FILLED
  198.     rect 117 110 40 20
  199.     textalign 1
  200.     textalignx 20
  201.     textaligny 13
  202.     forecolor .66 1 0 1
  203.     visible 1
  204.     action { play "sound/UI/menu3.wav" ; 
  205.     close ingame_vid_restart_popmenu ;  
  206.     open ingame_confignav ; 
  207.     open ingame_configsystem }
  208.     mouseEnter { transition nobar 117 120 40 0 117 110 40 20 20 5 } 
  209.     mouseExit { transition nobar 117 110 40 20 117 120 40 0 20 5} 
  210. }
  211. //Corners                235 195 
  212. itemDef {
  213.           name corners    
  214.         style 3
  215.           rect 0 0 40 40
  216.          background "ui/sidrial/Popup/ULCorner.tga"
  217.         backcolor 0 0 0 0
  218.           forecolor 1 1 1 1
  219.           visible 1
  220.         decoration    
  221.     }
  222. itemDef {
  223.           name corners    
  224.         style 3
  225.           rect 199 0 40 40
  226.          background "ui/sidrial/Popup/URCorner.tga"
  227.         backcolor 0 0 0 0
  228.           forecolor 1 1 1 1
  229.           visible 1
  230.         decoration    
  231.     }
  232. itemDef {
  233.           name corners    
  234.         style 3
  235.           rect 0 159 40 40
  236.          background "ui/sidrial/Popup/BLCorner.tga"
  237.         backcolor 0 0 0 0
  238.           forecolor 1 1 1 1
  239.           visible 1
  240.         decoration    
  241.     }
  242. itemDef {
  243.           name corners    
  244.         style 3
  245.           rect 199 159 40 40
  246.          background "ui/sidrial/Popup/BRCorner.tga"
  247.         backcolor 0 0 0 0
  248.           forecolor 1 1 1 1
  249.           visible 1
  250.         decoration    
  251.     }
  252.  
  253.  
  254.  
  255.  
  256.  
  257.  
  258. }
  259. }
  260.  
  261.  
  262.