blob: 767a8d3bfbb48536cc5765cca501aca83f2a189c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
|
#include "ui/menudef.h"
{
\\ score_menu \\
#define W 500
#define H 338
#define BORDER 10
#define TOFF 10
#define SPEC_W 75
#define BAR_H 30
#define LLIST_L 0
#define LLIST_R (W/2)
#define RLIST_L (W/2)
#define RLIST_R W
menuDef
{
name "teamscore_menu"
visible MENU_FALSE
fullscreen MENU_FALSE
rect (320-(W/2)) (260-(H/2)) W H
focusColor 1 .75 0 1
style WINDOW_STYLE_EMPTY
// TEAM NAME //
itemDef
{
name "scoreye"
style WINDOW_STYLE_SHADER
rect -50 40 595 300
visible 1
background "ui/assets/score_baseb"
decoration
}
//flicker light
itemDef
{
name "score_addlight"
style WINDOW_STYLE_SHADER
rect 209 116 50 100
visible 1
background "scripts/scoreaddlight"
decoration
}
itemDef
{
name confirm5
type ITEM_TYPE_BUTTON
text "www.new-edge.org"
style WINDOW_STYLE_EMPTY
textscale .30
rect 1 341 W 20
textalign ALIGN_CENTER
textvalign VALIGN_CENTER
forecolor 1 1 1 1
visible MENU_TRUE
decoration
}
itemDef
{
name "score_add"
style WINDOW_STYLE_SHADER
rect -51 -21 600 397
visible 1
background "scripts/scoreadd"
decoration
}
// TEAM HEADINGS //
itemDef
{
name leftlist
rect -42 (((2*BAR_H)+BORDER)+5) ((W/1.6)+40) (H-((3*BAR_H)+(2*BORDER)))
// rect 255 (((2*BAR_H)+BORDER)+5) ((W/1.6)+40) (H-((3*BAR_H)+(2*BORDER)))
style WINDOW_STYLE_FILLED
backcolor 0.00 1.35 2.55 0
border WINDOW_BORDER_NONE
borderSize 1.0
bordercolor .5 .5 .5 1
forecolor 1 0 0 1
visible MENU_TRUE
type ITEM_TYPE_LISTBOX
elementwidth 140
elementheight 16
textscale .26
textstyle ITEM_TEXTSTYLE_SHADOWED
elementtype LISTBOX_TEXT
feeder FEEDER_ALIENTEAM_LIST
columns 7
10 10 ALIGN_LEFT
23 10 ALIGN_LEFT
5 30 ALIGN_LEFT
55 80 ALIGN_LEFT
138 50 ALIGN_RIGHT
205 29 ALIGN_RIGHT
244 36 ALIGN_RIGHT
}
itemDef
{
name rightlist
// rect -42 (((2*BAR_H)+BORDER)+5) ((W/1.6)+40) (H-((3*BAR_H)+(2*BORDER)))
rect 255 (((2*BAR_H)+BORDER)+5) ((W/1.6)+40) (H-((3*BAR_H)+(2*BORDER)))
style WINDOW_STYLE_FILLED
backcolor 0.00 1.35 2.55 0
border WINDOW_BORDER_NONE
borderSize 1.0
bordercolor .5 .5 .5 1
forecolor 0 0.6 1 1
visible MENU_TRUE
type ITEM_TYPE_LISTBOX
elementwidth 140
elementheight 16
textscale .26
textstyle ITEM_TEXTSTYLE_SHADOWED
elementtype LISTBOX_TEXT
feeder FEEDER_HUMANTEAM_LIST
columns 7
10 10 ALIGN_LEFT
23 10 ALIGN_LEFT
5 30 ALIGN_LEFT
55 80 ALIGN_LEFT
138 50 ALIGN_RIGHT
205 29 ALIGN_RIGHT
244 36 ALIGN_RIGHT
}
itemDef
{
name window
rect -22 ((H-BAR_H)) 540 31
style WINDOW_STYLE_FILLED
backcolor 0.00 1.35 2.55 0
textstyle ITEM_TEXTSTYLE_SHADOWED
forecolor 1 1 1 1
textscale .40
textvalign VALIGN_CENTER
visible MENU_TRUE
ownerdraw CG_SPECTATORS
decoration
}
itemDef
{
name winner
type ITEM_TYPE_TEXT
rect ((W/2)-10) -0 0 0
style WINDOW_STYLE_EMPTY
forecolor 0 0.6 1 1
textscale 0.7
textalign ALIGN_CENTER
textvalign VALIGN_TOP
textstyle ITEM_TEXTSTYLE_SHADOWED
visible MENU_TRUE
cvar "ui_winner"
decoration
}
}
}
|