home *** CD-ROM | disk | FTP | other *** search
- #include "ui/menudef.h"
-
- {
- \\ Server Information Popup Menu \\
-
- menuDef {
- name "error_popmenu"
- visible 0
- fullscreen 0
- rect 158 80 320 345
- focusColor 1 1 1 1
- style 1
- border 1
- popup
- onClose { uiScript clearError }
- onOpen { }
- onESC { close error_popmenu ; open main }
-
- //Background
- itemDef {
- name window
- rect 10 15 300 320
- style 1
- backcolor 0 0 0 .6
- forecolor 0 0 0 1
- visible 1
- decoration
- }
- itemDef {
- name window
- rect 10 15 300 320
- style 1
- backcolor .66 1 0 .6
- forecolor 0 0 0 1
- border 1
- bordercolor .66 1 0 1
- visible 1
- decoration
- }
- //Content
- itemDef {
- name errorinfo
- rect 0 20 320 20
- text "Error:"
- textstyle 6
- textalign 1
- textscale .4
- textalignx 160
- textaligny 20
- forecolor 1 1 1 1
- visible 1
- decoration
- }
- itemDef {
- name window
- rect 30 50 260 230
- style 1
- backcolor 0 .3 0 .5
- forecolor 0 0 0 1
- border 1
- bordercolor .66 1 0 1
- visible 1
- decoration
- }
- itemDef {
- name errorinfo
- rect 30 50 240 210
- type ITEM_TYPE_TEXT
- style 0
- textstyle 3
- autowrapped
- cvar "com_errorMessage"
- textalign 0
- textalignx 10
- textaligny 20
- textscale .25
- backcolor 1 1 1 1
- forecolor 1 1 1 1
- visible 1
- decoration
- }
- //Button//
- //Exit
- itemDef {
- name exitbar
- style WINDOW_STYLE_FILLED
- rect 135 300 60 21
- backcolor .66 1 0 .7
- visible 0
- action { play "sound/ui/menu2.wav" ;
- close error_popmenu ;
- open main;}
- }
- itemDef {
- name button
- style 3
- rect 120 295 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/menu2.wav" ;
- close error_popmenu ;
- open main;}
- }
- itemDef {
- name button
- style 3
- rect 180 295 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/menu2.wav" ;
- close error_popmenu ;
- open main;}
- }
- itemDef {
- name exitwords
- type 1
- text "Exit"
- style 0
- textstyle 6
- rect 120 295 80 30
- forecolor .66 1 0 1
- textalignx 45
- textaligny 20
- textalign 1
- textscale .3
- visible 1
- mouseEnter { transition exitbar 135 310 60 0 135 300 60 21 20 5 ; }
- mouseExit { transition exitbar 135 300 60 21 135 310 60 0 20 5 ; }
- action { play "sound/ui/menu2.wav" ;
- close error_popmenu ;
- open main;}
- }
-
- //Corners
- itemDef {
- name corners
- style 3
- rect 7 12 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 273 12 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 7 298 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 273 298 40 40
- background "ui/sidrial/Popup/BRCorner.tga"
- backcolor 0 0 0 0
- forecolor 1 1 1 1
- visible 1
- decoration
- }
-
-
-
- }
-
-
- }
-
-
-