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

  1. #include "ui/menudef.h"
  2.  
  3. {
  4. \\ DEFAULT MENU \\
  5.  
  6. menuDef {
  7.         name "configdefault"
  8.         visible 0
  9.         fullscreen 0
  10.         //background "blank"
  11.         rect 186 60 400 355
  12.         focusColor 1 1 1 1
  13.         style 1
  14.         border 1
  15.     onOpen { 
  16.         play "sound/UI/menu1.wav" ;
  17.         show grpdefault ; 
  18.         hide grpfinish
  19.     }
  20.     onEsc { close configdefault ; close confignav ; open main }
  21.  
  22.     itemDef {
  23.               name default
  24.         group grpdefault
  25.               style 0
  26.         text "This will set your Controls,"
  27.         rect 0 110 443 20
  28.               textalign ITEM_ALIGN_CENTER
  29.               textalignx 221
  30.               textaligny 20
  31.         textscale .25        
  32.               forecolor .66 1 0 1
  33.               visible 1 
  34.         decoration
  35.             }
  36.     itemDef {
  37.               name default
  38.         group grpdefault
  39.               style 0
  40.         text "Graphics and game Options"
  41.         rect 0 130 443 20
  42.               textalign ITEM_ALIGN_CENTER
  43.               textalignx 221
  44.               textaligny 20
  45.         textscale .25        
  46.               forecolor .66 1 0 1
  47.               visible 1
  48.         decoration 
  49.             }
  50.     itemDef {
  51.               name default
  52.         group grpdefault
  53.               style 0
  54.         text "to their original defaults."
  55.         rect 0 150 443 20
  56.               textalign ITEM_ALIGN_CENTER
  57.               textalignx 221
  58.               textaligny 20
  59.         textscale .25        
  60.               forecolor .66 1 0 1
  61.               visible 1 
  62.         decoration
  63.             }
  64.     itemDef {
  65.               name default
  66.         group grpdefault
  67.               style 0
  68.         text "Are you sure?"
  69.         rect 0 190 443 20
  70.               textalign ITEM_ALIGN_CENTER
  71.               textalignx 221
  72.               textaligny 20
  73.         textscale .25        
  74.               forecolor .66 1 0 1
  75.               visible 1 
  76.         decoration
  77.             }
  78.  
  79.  
  80.  
  81. itemDef {
  82.     name yesbar
  83.     style WINDOW_STYLE_FILLED
  84.     rect 135 220 70 26
  85.     backcolor .66 1 0 .7  
  86.     visible 0 
  87.     action { play "sound/misc/nomenu.wav" ; 
  88.     hide grpdefault ; 
  89.     show grpfinish ; 
  90.     uiScript resetDefaults }
  91. }
  92. itemDef {
  93.     name yes
  94.     group grpdefault
  95.     style 3
  96.     rect 120 216 34 34 
  97.     background "ui/sidrial/sub/brace.tga"
  98.     backcolor 0 0 0 0
  99.        forecolor 1 1 1 1
  100.        visible 1
  101.     decoration    
  102.     action { play "sound/misc/nomenu.wav" ; 
  103.     hide grpdefault ; 
  104.     show grpfinish ; 
  105.     uiScript resetDefaults }
  106. }
  107. itemDef {
  108.     name yes
  109.     group grpdefault
  110.     style 3
  111.     rect 189 216 34 34 
  112.     background "ui/sidrial/sub/brace_right.tga"
  113.     backcolor 0 0 0 0
  114.        forecolor 1 1 1 1
  115.        visible 1
  116.     decoration    
  117.     action { play "sound/misc/nomenu.wav" ; 
  118.     hide grpdefault ; 
  119.     show grpfinish ; 
  120.     uiScript resetDefaults }
  121. }
  122. itemDef {
  123.     name yes
  124.     group grpdefault
  125.     text "YES"
  126.     type 1
  127.     textscale .3
  128.     textstyle 6
  129.     group grpSystem
  130.     style WINDOW_STYLE_FILLED
  131.     rect 135 220 70 26
  132.     textalign 1
  133.     textalignx 35
  134.     textaligny 20
  135.     forecolor .66 1 0 1
  136.     visible 1
  137.     action { play "sound/misc/nomenu.wav" ; 
  138.     hide grpdefault ; 
  139.     show grpfinish ; 
  140.     uiScript resetDefaults }
  141.     mouseEnter { transition yesbar 135 233 70 0 135 220 70 26 20 5 } 
  142.     mouseExit { transition yesbar 135 220 70 26 135 233 70 0 20 5} 
  143. }
  144.  
  145.     
  146. itemDef {
  147.     name nobar
  148.     style WINDOW_STYLE_FILLED
  149.     rect 235 220 70 26
  150.     backcolor .66 1 0 .7  
  151.     visible 0 
  152.     action { play "sound/misc/nomenu.wav" ; 
  153.     close configdefault ; open configcontrols }
  154. }
  155. itemDef {
  156.     name no
  157.     group grpdefault
  158.     style 3
  159.     rect 220 216 34 34 
  160.     background "ui/sidrial/sub/brace.tga"
  161.     backcolor 0 0 0 0
  162.        forecolor 1 1 1 1
  163.        visible 1
  164.     decoration    
  165.     action { play "sound/misc/nomenu.wav" ; 
  166.     close configdefault ; open configcontrols }
  167. }
  168. itemDef {
  169.     name no
  170.     group grpdefault
  171.     style 3
  172.     rect 289 216 34 34 
  173.     background "ui/sidrial/sub/brace_right.tga"
  174.     backcolor 0 0 0 0
  175.        forecolor 1 1 1 1
  176.        visible 1
  177.     decoration    
  178.     action { play "sound/misc/nomenu.wav" ; 
  179.     close configdefault ; open configcontrols }
  180. }
  181. itemDef {
  182.     name no
  183.     group grpdefault
  184.     text "NO"
  185.     type 1
  186.     textscale .3
  187.     group grpSystem
  188.     textstyle 6
  189.     style WINDOW_STYLE_FILLED
  190.     rect 235 220 70 26
  191.     textalign 1
  192.     textalignx 35
  193.     textaligny 20
  194.     forecolor .66 1 0 1
  195.     visible 1
  196.     action { play "sound/misc/nomenu.wav" ; 
  197.     close configdefault ; open configcontrols }
  198.     mouseEnter { transition nobar 235 233 70 0 235 220 70 26 20 5 } 
  199.     mouseExit { transition nobar 235 220 70 26 235 233 70 0 20 5} 
  200. }
  201.     
  202.  
  203. itemDef {
  204.               name finish_message 
  205.         group grpfinish
  206.               style 0
  207.         text "Your settings are now set"
  208.         rect 0 130 443 20
  209.               textalign ITEM_ALIGN_CENTER
  210.               textalignx 221
  211.               textaligny 20
  212.         textscale .25        
  213.               forecolor .66 1 0 1
  214.               visible 0 
  215.         decoration
  216.             }
  217.     itemDef {
  218.               name finish_message 
  219.         group grpfinish
  220.               style 0
  221.         text "to their original default values."
  222.         rect 0 150 443 20
  223.               textalign ITEM_ALIGN_CENTER
  224.               textalignx 221
  225.               textaligny 20
  226.         textscale .25        
  227.               forecolor .66 1 0 1
  228.               visible 0 
  229.         decoration
  230.             }
  231.  
  232. }
  233.