home *** CD-ROM | disk | FTP | other *** search
- #include "ui/menudef.h"
-
- {
- \\ VID_RESTART POPUP MENU \\
-
- menuDef {
- name "ingame_quit_confirm"
- visible 0
- fullscreen 0
- rect 0 0 640 480
- outOfBoundsClick // this closes the window if it gets a click out of the rectangle
- focusColor 1 1 1 1
- popup
- onESC { close ingame_quit_confirm ; open ingame_main ; hide greenhue }
- //QUIT STUFF
- itemDef {
- name quitwords
- group quit
- type 0
- text "Exit Back to Main Menu?"
- style 0
- textstyle 6
- rect 300 170 80 30
- forecolor .66 1 0 1
- textalignx 35
- textaligny 20
- textalign 1
- textscale .45
- visible 1
- decoration
- }
-
- itemDef {
- name yesbar
- style WINDOW_STYLE_FILLED
- rect 260 230 60 21
- backcolor .66 1 0 .7
- visible 0
- action { play "sound/UI/menu3.wav" ;
- close ingame_quit_confirm ;
- close ingame_main;
- uiScript leave }
-
- }
- itemDef {
- name button
- group quit
- style 3
- rect 245 225 30 30
- background "ui/sidrial/sub/brace.tga"
- backcolor 0 0 0 0
- forecolor 1 1 1 1
- visible 1
- decoration
- action { play "sound/UI/menu3.wav" ;
- close ingame_quit_confirm ;
- close ingame_main;
- uiScript leave }
-
- }
- itemDef {
- name button
- group quit
- style 3
- rect 305 225 30 30
- background "ui/sidrial/sub/brace_right.tga"
- backcolor 0 0 0 0
- forecolor 1 1 1 1
- visible 1
- decoration
- action { play "sound/UI/menu3.wav" ;
- close ingame_quit_confirm ;
- close ingame_main;
- uiScript leave }
-
- }
- itemDef {
- name quitwords
- group quit
- type 1
- text "Yes"
- style 0
- textstyle 6
- rect 245 225 90 30
- forecolor .66 1 0 1
- textalignx 45
- textaligny 20
- textalign 1
- textscale .3
- visible 1
- mouseEnter { transition yesbar 260 240 60 0 260 230 60 21 20 5 ; }
- mouseExit { transition yesbar 260 230 60 21 260 240 60 0 20 5 ; }
- action { play "sound/UI/menu3.wav" ;
- close ingame_main;
- close ingame_quit_confirm ;
- uiScript leave }
- }
-
-
- itemDef {
- name nobar
- style WINDOW_STYLE_FILLED
- rect 340 230 60 21
- backcolor .66 1 0 .7
- visible 0
- action { play "sound/UI/menu3.wav" ;
- open ingame_main;
- close ingame_quit_confirm }
- }
- itemDef {
- name button
- group quit
- style 3
- rect 325 225 30 30
- background "ui/sidrial/sub/brace.tga"
- backcolor 0 0 0 0
- forecolor 1 1 1 1
- visible 1
- decoration
- action { play "sound/UI/menu3.wav" ;
- open ingame_main;
- close ingame_quit_confirm }
- }
- itemDef {
- name button
- group quit
- style 3
- rect 385 225 30 30
- background "ui/sidrial/sub/brace_right.tga"
- backcolor 0 0 0 0
- forecolor 1 1 1 1
- visible 1
- decoration
- action { play "sound/UI/menu3.wav" ;
- open ingame_main;
- close ingame_quit_confirm; }
- }
- itemDef {
- name quitwords
- group quit
- type 1
- text "No"
- style 0
- textstyle 6
- rect 325 225 90 30
- forecolor .66 1 0 1
- textalignx 45
- textaligny 20
- textalign 1
- textscale .3
- visible 1
- mouseEnter { transition nobar 340 240 60 0 340 230 60 21 20 5 ; }
- mouseExit { transition nobar 340 230 60 21 340 240 60 0 20 5 ; }
- action { play "sound/UI/menu3.wav" ;
- open ingame_main;
- close ingame_quit_confirm; }
- }
-
-
-
-
-
- }
- }
-
-
-