home *** CD-ROM | disk | FTP | other *** search
- #include "ui/menudef.h"
-
- {
- \\ VID_RESTART POPUP MENU \\
-
- menuDef {
- name "ingame_vid_restart_popmenu"
- visible 0
- fullscreen 0
- rect 204 122 235 195
- outOfBoundsClick // this closes the window if it gets a click out of the rectangle
- focusColor 1 1 1 1
- popup
- onESC { close ingame_vid_restart_popmenu ;
- open ingame_confignav ;
- open ingame_configsystem }
- //Background//
- //Background
- itemDef {
- name window
- rect 2 2 233 193
- style 1
- backcolor 0 0 0 .6
- visible 1
- decoration
- }
- itemDef {
- name window
- rect 2 2 233 193
- style 1
- backcolor 0 0 0 .5
- forecolor 0 0 0 1
- border 0
- visible 1
- decoration
- }
- itemDef {
- name window
- rect 2 2 233 193
- style 1
- backcolor .66 1 0 .6
- forecolor 0 0 0 1
- border 1
- bordercolor .66 1 0 1
- visible 1
- decoration
- }
-
- // VID_RESTART //
-
- itemDef {
- name confirm
- text "This will apply video"
- style 0
- textscale .25
- textstyle 6
- rect 0 55 80 20
- textalign 1
- textalignx 117
- textaligny 15
- decoration
- forecolor 1 1 1 1
- visible 1
- }
- itemDef {
- name confirm
- text "settings and return"
- style 0
- textscale .25
- textstyle 6
- rect 0 70 80 20
- textalign 1
- textalignx 117
- textaligny 15
- decoration
- forecolor 1 1 1 1
- visible 1
- }
- itemDef {
- name confirm
- text "to the Main Menu."
- style 0
- textscale .25
- textstyle 6
- rect 0 85 80 20
- textalign 1
- textalignx 117
- textaligny 15
- decoration
- forecolor 1 1 1 1
- visible 1
- }
-
- itemDef {
- name yesbar
- style WINDOW_STYLE_FILLED
- rect 73 110 40 20
- backcolor .66 1 0 .7
- visible 0
- action { play "sound/UI/menu3.wav" ;
- close ingame_vid_restart_popmenu ;
- exec "vid_restart" }
- }
- itemDef {
- name yes
- style 3
- rect 61 106 26 26
- 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_vid_restart_popmenu ;
- exec "vid_restart" }
- }
- itemDef {
- name yes
- style 3
- rect 98 106 26 26
- 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_vid_restart_popmenu ;
- exec "vid_restart" }
- }
- itemDef {
- name yes
- text "YES"
- type 1
- textscale .25
- textstyle 6
- group grpSystem
- style WINDOW_STYLE_FILLED
- rect 73 110 40 20
- textalign 1
- textalignx 20
- textaligny 13
- forecolor .66 1 0 1
- visible 1
- action { play "sound/UI/menu3.wav" ;
- close ingame_vid_restart_popmenu ;
- exec "vid_restart" }
- mouseEnter { transition yesbar 73 120 40 0 73 110 40 20 20 5 }
- mouseExit { transition yesbar 73 110 40 20 73 120 40 0 20 5}
- }
-
- itemDef {
- name nobar
- style WINDOW_STYLE_FILLED
- rect 117 110 40 20
- backcolor .66 1 0 .7
- visible 0
- action { play "sound/UI/menu3.wav" ;
- close ingame_vid_restart_popmenu ;
- open ingame_confignav ;
- open ingame_configsystem }
- }
- itemDef {
- name no
- style 3
- rect 105 106 26 26
- 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_vid_restart_popmenu ;
- open ingame_confignav ;
- open ingame_configsystem }
- }
- itemDef {
- name no
- style 3
- rect 142 106 26 26
- 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_vid_restart_popmenu ;
- open ingame_confignav ;
- open ingame_configsystem }
- }
- itemDef {
- name no
- text "No"
- type 1
- textscale .25
- textstyle 6
- group grpSystem
- style WINDOW_STYLE_FILLED
- rect 117 110 40 20
- textalign 1
- textalignx 20
- textaligny 13
- forecolor .66 1 0 1
- visible 1
- action { play "sound/UI/menu3.wav" ;
- close ingame_vid_restart_popmenu ;
- open ingame_confignav ;
- open ingame_configsystem }
- mouseEnter { transition nobar 117 120 40 0 117 110 40 20 20 5 }
- mouseExit { transition nobar 117 110 40 20 117 120 40 0 20 5}
- }
- //Corners 235 195
- itemDef {
- name corners
- style 3
- rect 0 0 40 40
- background "ui/sidrial/Popup/ULCorner.tga"
- backcolor 0 0 0 0
- forecolor 1 1 1 1
- visible 1
- decoration
- }
- itemDef {
- name corners
- style 3
- rect 199 0 40 40
- background "ui/sidrial/Popup/URCorner.tga"
- backcolor 0 0 0 0
- forecolor 1 1 1 1
- visible 1
- decoration
- }
- itemDef {
- name corners
- style 3
- rect 0 159 40 40
- background "ui/sidrial/Popup/BLCorner.tga"
- backcolor 0 0 0 0
- forecolor 1 1 1 1
- visible 1
- decoration
- }
- itemDef {
- name corners
- style 3
- rect 199 159 40 40
- background "ui/sidrial/Popup/BRCorner.tga"
- backcolor 0 0 0 0
- forecolor 1 1 1 1
- visible 1
- decoration
- }
-
-
-
-
-
-
- }
- }
-
-
-