Debian Codegraph @

mp-pak0/ui/teamscore.menu

raw
1 /*
2 ===========================================================================
3 Copyright (C) 2007 Open Arena Team
4
5 This file is part of Open Arena.
6
7 Open Arena is free software; you can redistribute it
8 and/or modify it under the terms of the GNU General Public License as
9 published by the Free Software Foundation; either version 2 of the License,
10 or (at your option) any later version.
11
12 Open Arena is distributed in the hope that it will be
13 useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
16
17 You should have received a copy of the GNU General Public License
18 along with Open Arena; if not, write to the Free Software
19 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
20 ===========================================================================
21 */
22
23 #include "ui/menudef.h"
24
25 {
26 menuDef {
27 name "teamscore_menu"
28 fullscreen 0
29 visible 0
30 focusColor 0.1 0.6 1 1
31 rect 0 0 640 480
32 style 0
33
34 itemDef {
35 name "blueteam"
36 ownerdraw CG_BLUE_NAME
37 textalign 0
38 textscale .2
39 rect 175 100 100 10
40 forecolor 0 0 1 1
41 decoration
42 visible 1
43 }
44
45 itemDef {
46 name "redteam"
47 ownerdraw CG_RED_NAME
48 textalign 2
49 textscale .2
50 rect 400 100 0 10
51 forecolor 1 0 0 1
52 decoration
53 visible 1
54 }
55
56 itemDef {
57 name "status"
58 ownerdraw CG_GAME_STATUS
59 textscale .25
60 rect 240 75 300 10
61 textalign 1
62 backcolor 0 0 0 0
63 forecolor MP_TEXTCOLOR
64 decoration
65 visible 1
66 }
67
68 itemDef {
69 name "blueteam"
70 rect 70 125 250 250
71 forecolor .75 .75 .75 1
72 type ITEM_TYPE_LISTBOX
73 style WINDOW_STYLE_FILLED
74 elementwidth 135
75 elementheight 20
76 textscale .2
77 elementtype LISTBOX_TEXT
78 feeder FEEDER_BLUETEAM_LIST
79 border 1
80 bordercolor 0.25 0.25 0.25 0.7
81 forecolor 1 1 1 1
82 backcolor 0 0 0 0.5
83 outlinecolor 1 0.5 0.1 0.3
84 notselectable
85 visible 1
86 columns 7
87 2 12 12 //botskill + player status
88 18 12 12 //more status
89 34 20 1 //leader
90 50 75 16 //name
91 135 20 20 //score
92 175 20 20 //time
93 200 10 10 //ping
94 }
95
96
97
98 itemDef {
99 name "redteam"
100 rect 320 125 250 250
101 forecolor 1 1 1 1
102 type ITEM_TYPE_LISTBOX
103 style WINDOW_STYLE_FILLED
104 elementwidth 135
105 elementheight 20
106 textscale .2
107 elementtype LISTBOX_TEXT
108 feeder FEEDER_REDTEAM_LIST
109 border 1
110 bordercolor 0.25 0.25 0.25 0.7
111 forecolor 1 1 1 1
112 backcolor 0 0 0 0.5
113 outlinecolor 1 0.5 0.1 0.3
114 notselectable
115 visible 1
116 columns 7
117 2 12 12 //botskill + player status
118 18 12 12 //more status
119 34 20 1 //leader
120 50 75 16 //name
121 135 20 20 //score
122 175 20 20 //time
123 200 10 10 //ping
124 }
125
126
127 }
128 }