home *** CD-ROM | disk | FTP | other *** search
- #include "ui/menudef.h"
-
- {
- \\ DEFAULT MENU \\
-
- menuDef {
- name "configdefault"
- visible 0
- fullscreen 0
- //background "blank"
- rect 186 60 400 355
- focusColor 1 1 1 1
- style 1
- border 1
- onOpen {
- play "sound/UI/menu1.wav" ;
- show grpdefault ;
- hide grpfinish
- }
- onEsc { close configdefault ; close confignav ; open main }
-
- itemDef {
- name default
- group grpdefault
- style 0
- text "This will set your Controls,"
- rect 0 110 443 20
- textalign ITEM_ALIGN_CENTER
- textalignx 221
- textaligny 20
- textscale .25
- forecolor .66 1 0 1
- visible 1
- decoration
- }
- itemDef {
- name default
- group grpdefault
- style 0
- text "Graphics and game Options"
- rect 0 130 443 20
- textalign ITEM_ALIGN_CENTER
- textalignx 221
- textaligny 20
- textscale .25
- forecolor .66 1 0 1
- visible 1
- decoration
- }
- itemDef {
- name default
- group grpdefault
- style 0
- text "to their original defaults."
- rect 0 150 443 20
- textalign ITEM_ALIGN_CENTER
- textalignx 221
- textaligny 20
- textscale .25
- forecolor .66 1 0 1
- visible 1
- decoration
- }
- itemDef {
- name default
- group grpdefault
- style 0
- text "Are you sure?"
- rect 0 190 443 20
- textalign ITEM_ALIGN_CENTER
- textalignx 221
- textaligny 20
- textscale .25
- forecolor .66 1 0 1
- visible 1
- decoration
- }
-
-
-
- itemDef {
- name yesbar
- style WINDOW_STYLE_FILLED
- rect 135 220 70 26
- backcolor .66 1 0 .7
- visible 0
- action { play "sound/misc/nomenu.wav" ;
- hide grpdefault ;
- show grpfinish ;
- uiScript resetDefaults }
- }
- itemDef {
- name yes
- group grpdefault
- style 3
- rect 120 216 34 34
- background "ui/sidrial/sub/brace.tga"
- backcolor 0 0 0 0
- forecolor 1 1 1 1
- visible 1
- decoration
- action { play "sound/misc/nomenu.wav" ;
- hide grpdefault ;
- show grpfinish ;
- uiScript resetDefaults }
- }
- itemDef {
- name yes
- group grpdefault
- style 3
- rect 189 216 34 34
- background "ui/sidrial/sub/brace_right.tga"
- backcolor 0 0 0 0
- forecolor 1 1 1 1
- visible 1
- decoration
- action { play "sound/misc/nomenu.wav" ;
- hide grpdefault ;
- show grpfinish ;
- uiScript resetDefaults }
- }
- itemDef {
- name yes
- group grpdefault
- text "YES"
- type 1
- textscale .3
- textstyle 6
- group grpSystem
- style WINDOW_STYLE_FILLED
- rect 135 220 70 26
- textalign 1
- textalignx 35
- textaligny 20
- forecolor .66 1 0 1
- visible 1
- action { play "sound/misc/nomenu.wav" ;
- hide grpdefault ;
- show grpfinish ;
- uiScript resetDefaults }
- mouseEnter { transition yesbar 135 233 70 0 135 220 70 26 20 5 }
- mouseExit { transition yesbar 135 220 70 26 135 233 70 0 20 5}
- }
-
-
- itemDef {
- name nobar
- style WINDOW_STYLE_FILLED
- rect 235 220 70 26
- backcolor .66 1 0 .7
- visible 0
- action { play "sound/misc/nomenu.wav" ;
- close configdefault ; open configcontrols }
- }
- itemDef {
- name no
- group grpdefault
- style 3
- rect 220 216 34 34
- background "ui/sidrial/sub/brace.tga"
- backcolor 0 0 0 0
- forecolor 1 1 1 1
- visible 1
- decoration
- action { play "sound/misc/nomenu.wav" ;
- close configdefault ; open configcontrols }
- }
- itemDef {
- name no
- group grpdefault
- style 3
- rect 289 216 34 34
- background "ui/sidrial/sub/brace_right.tga"
- backcolor 0 0 0 0
- forecolor 1 1 1 1
- visible 1
- decoration
- action { play "sound/misc/nomenu.wav" ;
- close configdefault ; open configcontrols }
- }
- itemDef {
- name no
- group grpdefault
- text "NO"
- type 1
- textscale .3
- group grpSystem
- textstyle 6
- style WINDOW_STYLE_FILLED
- rect 235 220 70 26
- textalign 1
- textalignx 35
- textaligny 20
- forecolor .66 1 0 1
- visible 1
- action { play "sound/misc/nomenu.wav" ;
- close configdefault ; open configcontrols }
- mouseEnter { transition nobar 235 233 70 0 235 220 70 26 20 5 }
- mouseExit { transition nobar 235 220 70 26 235 233 70 0 20 5}
- }
-
-
- itemDef {
- name finish_message
- group grpfinish
- style 0
- text "Your settings are now set"
- rect 0 130 443 20
- textalign ITEM_ALIGN_CENTER
- textalignx 221
- textaligny 20
- textscale .25
- forecolor .66 1 0 1
- visible 0
- decoration
- }
- itemDef {
- name finish_message
- group grpfinish
- style 0
- text "to their original default values."
- rect 0 150 443 20
- textalign ITEM_ALIGN_CENTER
- textalignx 221
- textaligny 20
- textscale .25
- forecolor .66 1 0 1
- visible 0
- decoration
- }
-
- }
-