home *** CD-ROM | disk | FTP | other *** search
- #include "ui/menudef.h"
-
- {
- \\ SERVER INFO MENU \\
-
- menuDef {
- name "ingame_loadc"
- visible 0
- fullscreen 0
- outOfBoundsClick // this closes the window if it gets a click out of the rectangle
- rect 315 42 120 220
- focusColor 1 1 1 1
- style 1
-
- //Background
- itemDef {
- name window2
- rect 2 2 118 160
- style 1
- backcolor 0 0 0 .5
- visible 1
- decoration
- }
- itemDef {
- name window
- rect 2 2 118 160
- style 1
- backcolor .66 1 0 .35
- forecolor 0 0 0 1
- border 1
- bordercolor .66 1 0 1
- visible 1
- decoration
- }
- // Load //
- itemDef {
- name loadbar
- style WINDOW_STYLE_FILLED
- rect 17 30 90 20
- backcolor .66 1 0 .7
- visible 0
- }
- itemDef {
- name load
- style 3
- rect 7 28 24 24
- background "ui/sidrial/sub/brace.tga"
- backcolor 0 0 0 0
- forecolor 1 1 1 1
- visible 1
- decoration
- }
- itemDef {
- name load
- style 3
- rect 95 28 24 24
- background "ui/sidrial/sub/brace_right.tga"
- backcolor 0 0 0 0
- forecolor 1 1 1 1
- visible 1
- decoration
- }
- itemDef {
- name load
- text "Load"
- textstyle 6
- textscale .27
- rect 17 30 90 20
- type 1
- textalign 1
- textalignx 45
- textaligny 15
- forecolor .66 1 0 1
- visible 1
- action { open ingame_load ; close ingame_loadc; }
- mouseEnter { transition loadbar 17 40 90 0 17 30 90 20 20 5 }
- mouseExit { transition loadbar 17 30 90 20 17 40 90 0 20 5 }
- }
- // Load //
- itemDef {
- name qloadbar
- style WINDOW_STYLE_FILLED
- rect 17 70 90 20
- backcolor .66 1 0 .7
- visible 0
- }
- itemDef {
- name qload
- style 3
- rect 7 68 24 24
- background "ui/sidrial/sub/brace.tga"
- backcolor 0 0 0 0
- forecolor 1 1 1 1
- visible 1
- decoration
- }
- itemDef {
- name qload
- style 3
- rect 95 68 24 24
- background "ui/sidrial/sub/brace_right.tga"
- backcolor 0 0 0 0
- forecolor 1 1 1 1
- visible 1
- decoration
- }
- itemDef {
- name qload
- text "Quick Load"
- textstyle 6
- textscale .27
- rect 17 70 90 20
- type 1
- textalign 1
- textalignx 45
- textaligny 15
- forecolor .66 1 0 1
- visible 1
- action { uiScript qload ; uiScript closeingame; }
- mouseEnter { transition qloadbar 17 80 90 0 17 70 90 20 20 5 }
- mouseExit { transition qloadbar 17 70 90 20 17 80 90 0 20 5 }
- }
- // Restart Map //
- itemDef {
- name restartbar
- style WINDOW_STYLE_FILLED
- rect 17 110 90 20
- backcolor .66 1 0 .7
- visible 0
- }
- itemDef {
- name restart
- style 3
- rect 7 108 24 24
- background "ui/sidrial/sub/brace.tga"
- backcolor 0 0 0 0
- forecolor 1 1 1 1
- visible 1
- decoration
- }
- itemDef {
- name restart
- style 3
- rect 95 108 24 24
- background "ui/sidrial/sub/brace_right.tga"
- backcolor 0 0 0 0
- forecolor 1 1 1 1
- visible 1
- decoration
- }
- itemDef {
- name restart
- text "Restart"
- textstyle 6
- textscale .27
- rect 17 110 90 20
- type 1
- textalign 1
- textalignx 45
- textaligny 15
- forecolor .66 1 0 1
- visible 1
- action { uiScript resetmap ; uiScript closeingame; }
- mouseEnter { transition qloadbar 17 120 90 0 17 110 90 20 20 5 }
- mouseExit { transition qloadbar 17 110 90 20 17 120 90 0 20 5 }
- }
-
- //Corners
- 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 83 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 125 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 83 125 40 40
- background "ui/sidrial/Popup/BRCorner.tga"
- backcolor 0 0 0 0
- forecolor 1 1 1 1
- visible 1
- decoration
- }
-
-
- }
- }
- }
-