home *** CD-ROM | disk | FTP | other *** search
- #include "ui/menudef.h"
-
- {
- \\ Server Information Popup Menu \\
-
- menuDef {
- name "serverinfo_popmenu"
- visible 0
- fullscreen 0
- popup
- rect 158 80 320 345
- outOfBoundsClick
- focusColor 1 1 1 1
- onOpen { uiScript ServerStatus }
- onESC { close serverinfo_popmenu ; open multiplayer ; }
-
- //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 0 0 0 0.5
- forecolor 0 0 0 1
- border 0
- 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 serverinfo
- rect 0 20 320 20
- text "Server Information:"
- textstyle 3
- textalign 1
- textscale .4
- textalignx 160
- textaligny 20
- forecolor 1 1 1 1
- visible 1
- decoration
- }
- itemDef {
- name serverinfo
- rect 20 55 280 230
- type ITEM_TYPE_LISTBOX
- style WINDOW_STYLE_FILLED
- elementwidth 120
- elementheight 16
- textscale .225
- backcolor 0 .3 0 .5
- border 1
- bordersize 1
- bordercolor .66 1 0 1
- elementtype LISTBOX_TEXT
- feeder FEEDER_SERVERSTATUS
- notselectable
- visible 1
- columns 4 2 40 20
- 40 40 10
- 90 40 10
- 135 40 20
- mouseenter { setitemcolor serverinfo bordercolor 1 1 1 1 ; }
- mouseexit { setitemcolor serverinfo bordercolor .66 1 0 1 ; }
- }
- //Button//
- //Exit
- itemDef {
- name exitbar
- style WINDOW_STYLE_FILLED
- rect 95 300 60 21
- backcolor .66 1 0 .7
- visible 0
- action { play "sound/ui/menu2.wav" ;
- close serverinfo_popmenu ;
- open multiplayer ;
- hide greenhue ;}
- }
- itemDef {
- name button
- style 3
- rect 80 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 serverinfo_popmenu ;
- open multiplayer ;
- hide greenhue ;}
- }
- itemDef {
- name button
- style 3
- rect 140 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 serverinfo_popmenu ;
- open multiplayer ;
- hide greenhue ;}
- }
- itemDef {
- name exitwords
- type 1
- text "Exit"
- style 0
- textstyle 6
- rect 80 295 80 30
- forecolor .66 1 0 1
- textalignx 45
- textaligny 20
- textalign 1
- textscale .3
- visible 1
- mouseEnter { transition exitbar 95 310 60 0 95 300 60 21 20 5 ; }
- mouseExit { transition exitbar 95 300 60 21 95 310 60 0 20 5 ; }
- action { play "sound/ui/menu2.wav" ;
- close serverinfo_popmenu ;
- open multiplayer ;
- hide greenhue ;}
- }
- //Refresh
- itemDef {
- name refreshbar
- style WINDOW_STYLE_FILLED
- rect 175 300 60 21
- backcolor .66 1 0 .7
- visible 0
- action { uiScript ServerStatus }
- }
- itemDef {
- name button
- style 3
- rect 160 295 30 30
- background "ui/sidrial/sub/brace.tga"
- backcolor 0 0 0 0
- forecolor 1 1 1 1
- visible 1
- decoration
- action { uiScript ServerStatus }
- }
- itemDef {
- name button
- style 3
- rect 220 295 30 30
- background "ui/sidrial/sub/brace_right.tga"
- backcolor 0 0 0 0
- forecolor 1 1 1 1
- visible 1
- decoration
- action { uiScript ServerStatus }
- }
- itemDef {
- name refreshwords
- type 1
- text "Refresh"
- style 0
- textstyle 6
- rect 175 295 65 30
- forecolor .66 1 0 1
- textalignx 29
- textaligny 20
- textalign 1
- textscale .3
- visible 1
- mouseEnter { transition refreshbar 175 310 60 0 175 300 60 21 20 5 ; }
- mouseExit { transition refreshbar 175 300 60 21 175 310 60 0 20 5 ; }
- action { uiScript ServerStatus }
- }
- //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
- }
-
-
-
- }
-
-
- }
-
-
-