diff options
author | Tim Angus <tim@ngus.net> | 2002-04-01 15:10:34 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2002-04-01 15:10:34 +0000 |
commit | 980ea0250159a10c8e14e11f580e5c97b81b6263 (patch) | |
tree | c85f8bba78f88dd730a9377cd83fb30b65541b16 /ui | |
parent | 944a6bd6d99e66bb0d4cc3b5d53ff7322c7e6837 (diff) |
Partial infopanes implementation
Diffstat (limited to 'ui')
-rw-r--r-- | ui/menudef.h | 17 | ||||
-rw-r--r-- | ui/tremulous_teamselect.menu | 18 |
2 files changed, 18 insertions, 17 deletions
diff --git a/ui/menudef.h b/ui/menudef.h index 4f808a1c..7f3afe57 100644 --- a/ui/menudef.h +++ b/ui/menudef.h @@ -256,16 +256,17 @@ #define UI_SERVERREFRESHDATE 247 #define UI_SERVERMOTD 248 #define UI_GLINFO 249 -#define UI_KEYBINDSTATUS 250 -#define UI_CLANCINEMATIC 251 -#define UI_MAP_TIMETOBEAT 252 -#define UI_JOINGAMETYPE 253 -#define UI_PREVIEWCINEMATIC 254 -#define UI_STARTMAPCINEMATIC 255 -#define UI_MAPS_SELECTION 256 +#define UI_KEYBINDSTATUS 250 +#define UI_CLANCINEMATIC 251 +#define UI_MAP_TIMETOBEAT 252 +#define UI_JOINGAMETYPE 253 +#define UI_PREVIEWCINEMATIC 254 +#define UI_STARTMAPCINEMATIC 255 +#define UI_MAPS_SELECTION 256 //TA: -#define UI_DIALOG 257 +#define UI_DIALOG 257 +#define UI_TEAMINFOPANE 258 #define VOICECHAT_GETFLAG "getflag" // command someone to get the flag #define VOICECHAT_OFFENSE "offense" // command someone to go on offense diff --git a/ui/tremulous_teamselect.menu b/ui/tremulous_teamselect.menu index e385c4df..d501f7a5 100644 --- a/ui/tremulous_teamselect.menu +++ b/ui/tremulous_teamselect.menu @@ -33,18 +33,18 @@ itemDef { - name "infopane" - text "Put some info here based on selection" - textalignx 5 - textaligny 15 + name infopane + ownerdraw UI_TEAMINFOPANE + textstyle ITEM_TEXTSTYLE_NORMAL + style WINDOW_STYLE_FILLED rect 170 10 220 155 - type ITEM_TYPE_TEXT - style WINDOW_STYLE_FILLED + textalignx 5 + textaligny 18 textscale .25 forecolor 1 1 1 1 - backcolor 0 0 .5 .25 - outlinecolor .1 .1 .7 .5 - visible 1 + backcolor .5 0 0 .25 + visible 1 + decoration } itemDef |