From 097793461a0f1f6e124f335e79d99a0f4573a769 Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Thu, 8 Dec 2005 18:23:29 +0000 Subject: Added tremulous-manual and tremulous_ui from sf CVS repository. --- tremulous_ui/tremulous_humandialogs.menu | 85 ++++++++++++++++++++++++++++++++ 1 file changed, 85 insertions(+) create mode 100644 tremulous_ui/tremulous_humandialogs.menu (limited to 'tremulous_ui/tremulous_humandialogs.menu') diff --git a/tremulous_ui/tremulous_humandialogs.menu b/tremulous_ui/tremulous_humandialogs.menu new file mode 100644 index 00000000..824d2cf0 --- /dev/null +++ b/tremulous_ui/tremulous_humandialogs.menu @@ -0,0 +1,85 @@ +#include "ui/menudef.h" + +{ + menuDef + { + name "tremulous_human_dialog" + visible 0 + fullscreen 0 + outOfBoundsClick + rect 185 140 280 190 + focusColor 1 .75 0 1 + style WINDOW_STYLE_EMPTY + popup + + itemDef + { + name window + rect 0 0 280 190 + style WINDOW_STYLE_FILLED + backcolor 0 0 0 1 + visible 1 + decoration + + border WINDOW_BORDER_FULL + borderSize 1.0 + borderColor 0.5 0.5 0.5 1 + } + + itemDef + { + name human_dialog + text "Error" + type ITEM_TYPE_TEXT + textstyle ITEM_TEXTSTYLE_NORMAL + style WINDOW_STYLE_EMPTY + rect 115 10 50 20 + textalign ITEM_ALIGN_LEFT + textalignx 5 + textaligny 18 + textscale .4 + forecolor 1 1 1 1 + backcolor .5 0 0 .25 + visible 1 + decoration + } + + itemDef + { + name human_dialog + textstyle ITEM_TEXTSTYLE_NORMAL + style WINDOW_STYLE_EMPTY + rect 10 50 250 80 + cvar "ui_dialog" + autowrapped + textalignx 5 + textaligny 18 + textscale .33 + forecolor 1 1 1 1 + backcolor .5 0 0 .25 + visible 1 + decoration + } + + itemDef + { + name human_dialog + text "OK" + type ITEM_TYPE_BUTTON + style WINDOW_STYLE_EMPTY + rect 242 150 28 20 + textalign ITEM_ALIGN_LEFT + textalignx 5 + textaligny 18 + textscale .4 + forecolor 1 1 1 1 + backcolor .5 0 0 .25 + visible 1 + action + { + play "sound/misc/menu1.wav"; + close tremulous_human_dialog + } + } + } +} -- cgit