summaryrefslogtreecommitdiff
path: root/assets/ui/teamscoreb.menu
blob: 93579e17fcd5bf976ebf1c92e9ee14374e38dbc5 (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
#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 "teamscoreb_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 -110 40 720 300
      visible 1
	  background "ui/assets/score_baseb"
      decoration
    }	
	

	itemDef
    {
      name "score_add"
      style WINDOW_STYLE_SHADER
      rect -120 -21 740 396
      visible 1
	  background "scripts/scoreadd"
      decoration
    }	
	
    //  TEAM HEADINGS  //
	
    itemDef
    {
      name leftlist
      rect -110 (((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
        20             10            ALIGN_LEFT
         5             30            ALIGN_LEFT
        55             155            ALIGN_LEFT
        215            50            ALIGN_RIGHT
        273            30            ALIGN_RIGHT
        308            36            ALIGN_RIGHT
    }

    itemDef
    {
      name rightlist
      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
        13             10            ALIGN_LEFT
        20             10            ALIGN_LEFT
         5             30            ALIGN_LEFT
        55             155            ALIGN_LEFT
        215            50            ALIGN_RIGHT
        273            30            ALIGN_RIGHT
        308            36            ALIGN_RIGHT
    }

    itemDef
    {
      name window
      rect -86 ((H-BAR_H)) 676 31
      style WINDOW_STYLE_FILLED
	  textstyle   ITEM_TEXTSTYLE_SHADOWED
	  backcolor 0.00 1.35 2.55 0
      forecolor 1 1 1 1
      textscale .40
      textvalign VALIGN_CENTER
      visible MENU_TRUE
      ownerdraw CG_SPECTATORS
      decoration
    }

	

  }
}