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

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