From 9e3c939685e597864eb964c327700999ad271639 Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Sat, 26 Jan 2002 17:33:32 +0000 Subject: Initial revision --- ui/tremulous_alienclass.menu | 101 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 101 insertions(+) create mode 100644 ui/tremulous_alienclass.menu (limited to 'ui/tremulous_alienclass.menu') diff --git a/ui/tremulous_alienclass.menu b/ui/tremulous_alienclass.menu new file mode 100644 index 00000000..cdd856b7 --- /dev/null +++ b/ui/tremulous_alienclass.menu @@ -0,0 +1,101 @@ +#include "ui/menudef.h" + +{ + menuDef + { + name "tremulous_alienclass" + visible 1 + fullscreen 0 + outOfBoundsClick + rect 120 140 400 200 + focusColor 1 .75 0 1 + style WINDOW_STYLE_FILLED + disableColor .5 .5 .5 0 + backcolor 0 .5 0 .25 + onOpen { uiScript LoadAlienClasses } + + itemDef + { + name "list" + rect 10 10 150 180 + type ITEM_TYPE_LISTBOX + style WINDOW_STYLE_FILLED + elementwidth 120 + elementheight 15 + textscale .25 + elementtype LISTBOX_TEXT + feeder FEEDER_TREMALIENCLASSES + forecolor 1 1 1 1 + backcolor 0 0 .5 .25 + outlinecolor .1 .1 .7 .5 + visible 1 + } + + itemDef + { + name "infopane" + text "Put some info here based on selection" + textalignx 5 + textaligny 15 + rect 170 10 220 155 + type ITEM_TYPE_TEXT + style WINDOW_STYLE_FILLED + textscale .25 + forecolor 1 1 1 1 + backcolor 0 0 .5 .25 + outlinecolor .1 .1 .7 .5 + visible 1 + } + + itemDef + { + name "Back" + text "< Back" + type ITEM_TYPE_BUTTON + style WINDOW_STYLE_FILLED + rect 170 176 40 14 + textalign ITEM_ALIGN_LEFT + textalignx 5 + textaligny 12 + textscale .25 + forecolor 1 1 1 1 + backcolor .5 0 0 .25 + visible 1 + action { close tremulous_alienclass; open tremulous_teamselect } + } + + itemDef + { + name "OKCancel" + text "OK" + type ITEM_TYPE_BUTTON + style WINDOW_STYLE_FILLED + rect 320 176 20 14 + textalign ITEM_ALIGN_LEFT + textalignx 5 + textaligny 12 + textscale .25 + forecolor 1 1 1 1 + backcolor .5 0 0 .25 + visible 1 + action { uiScript SpawnAsAlienClass; close tremulous_alienclass } + } + + itemDef + { + name "OKCancel" + text "Cancel" + type ITEM_TYPE_BUTTON + style WINDOW_STYLE_FILLED + rect 350 176 40 14 + textalign ITEM_ALIGN_LEFT + textalignx 6 + textaligny 12 + textscale .25 + forecolor 1 1 1 1 + backcolor .5 0 0 .25 + visible 1 + action { close tremulous_alienclass } + } + } +} -- cgit