home *** CD-ROM | disk | FTP | other *** search
- #include "ui/menudef.h"
-
- {
- \\ SERVER INFO MENU \\
-
- menuDef {
- name "ingame_savec"
- visible 0
- fullscreen 0
- outOfBoundsClick // this closes the window if it gets a click out of the rectangle
- rect 400 42 120 120
- focusColor 1 1 1 1
- style 1
-
- //Background
- itemDef {
- name window2
- rect 2 2 118 115
- style 1
- backcolor 0 0 0 .5
- visible 1
- decoration
- }
- itemDef {
- name window
- rect 2 2 118 115
- style 1
- backcolor .66 1 0 .35
- forecolor 0 0 0 1
- border 1
- bordercolor .66 1 0 1
- visible 1
- decoration
- }
- // save //
- itemDef {
- name savebar
- style WINDOW_STYLE_FILLED
- rect 17 30 90 20
- backcolor .66 1 0 .7
- visible 0
- }
- itemDef {
- name save
- 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 save
- 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 save
- text "Save"
- 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_save ; close ingame_savec; }
- mouseEnter { transition savebar 17 40 90 0 17 30 90 20 20 5 }
- mouseExit { transition savebar 17 30 90 20 17 40 90 0 20 5 }
- }
- // save //
- itemDef {
- name qsavebar
- style WINDOW_STYLE_FILLED
- rect 17 70 90 20
- backcolor .66 1 0 .7
- visible 0
- }
- itemDef {
- name qsave
- 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 qsave
- 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 qsave
- text "Quick Save"
- 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 qsave ; uiScript closeingame; }
- mouseEnter { transition qsavebar 17 80 90 0 17 70 90 20 20 5 }
- mouseExit { transition qsavebar 17 70 90 20 17 80 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 80 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 80 40 40
- background "ui/sidrial/Popup/BRCorner.tga"
- backcolor 0 0 0 0
- forecolor 1 1 1 1
- visible 1
- decoration
- }
-
-
- }
- }
- }
-