Listbox background by Samual, edited by me (1)
[divverent/nexuiz.git] / data / qcsrc / menu / skin-customizables.inc
1 #if 0
2 "Perl code to convert this to a skinvalues.txt file.";
3 print "title Generic\n";
4 print "author Morphed\n";
5 print "\n";
6 while(<DATA>)
7 {
8         chomp;
9         if(/^\s*(?:SKINFLOAT|SKINVECTOR)\(([A-Z_]+), ([-'0-9. ]+)\);$/)
10         {
11                 printf "%-31s %s\n", $1, $2;
12         }
13         elsif(/^\s*SKINSTRING\(([A-Z_]+), "(.*)"\);$/)
14         {
15                 printf "//   uses \"$2\" images\n";
16         }
17         elsif(/^$/)
18         {
19                 print "\n";
20         }
21         elsif(/^\s+\/\/ (.*)$/)
22         {
23                 print "// $1\n";
24         }
25         elsif(/^SKINBEGIN$|^SKINEND$|^#endif$/)
26         {
27         }
28         else
29         {
30                 print "!!! $_\n";
31         }
32 }
33 __DATA__
34 #endif
35 SKINBEGIN
36         // font sizes (used for everything)
37         SKINFLOAT(FONTSIZE_NORMAL, 12);
38         SKINFLOAT(HEIGHT_NORMAL, 1.5);
39         SKINFLOAT(FONTSIZE_TITLE, 16);
40         SKINFLOAT(HEIGHT_TITLE, 1.5);
41         SKINFLOAT(HEIGHT_ZOOMEDTITLE, -1);
42
43         // tooltips
44         SKINSTRING(GFX_TOOLTIP, "tooltip");
45         SKINVECTOR(MARGIN_TOOLTIP, '5 5 0');
46         SKINVECTOR(BORDER_TOOLTIP, '1 1 0');
47         SKINFLOAT(FONTSIZE_TOOLTIP, 12);
48         SKINFLOAT(ALPHA_TOOLTIP, 0.7);
49         SKINFLOAT(WIDTH_TOOLTIP, 0.3);
50         SKINVECTOR(AVOID_TOOLTIP, '8 8 0');
51
52         // the individual dialog background colors
53         SKINVECTOR(COLOR_DIALOG_MULTIPLAYER, '0.7 0.7 1');
54         SKINVECTOR(COLOR_DIALOG_SETTINGS, '0.7 0.7 1');
55         SKINVECTOR(COLOR_DIALOG_TEAMSELECT, '1 1 1');
56         SKINVECTOR(COLOR_DIALOG_QUIT, '1 0 0');
57         SKINVECTOR(COLOR_DIALOG_ADVANCED, '0.7 0.7 1');
58         SKINVECTOR(COLOR_DIALOG_MUTATORS, '0.7 0.7 1');
59         SKINVECTOR(COLOR_DIALOG_MAPINFO, '0.7 0.7 1');
60         SKINVECTOR(COLOR_DIALOG_USERBIND, '0.7 0.7 1');
61         SKINVECTOR(COLOR_DIALOG_SINGLEPLAYER, '1 1 0.7');
62         SKINVECTOR(COLOR_DIALOG_CREDITS, '0.7 0.7 1');
63         SKINVECTOR(COLOR_DIALOG_WEAPONS, '1 0.7 0.7');
64         SKINVECTOR(COLOR_DIALOG_RADAR, '0.7 0.7 1');
65         SKINVECTOR(COLOR_DIALOG_SERVERINFO, '0.7 0.7 1');
66         SKINVECTOR(COLOR_DIALOG_CVARS, '1 0 0');
67
68         // nexposee positions of windows (they are the scale transformation
69         // centers, NOT the actual positions of the windows!)
70         SKINVECTOR(POSITION_DIALOG_MULTIPLAYER, '0.9 0.5 0');
71         SKINVECTOR(POSITION_DIALOG_SINGLEPLAYER, '0.1 0.1 0');
72         SKINVECTOR(POSITION_DIALOG_SETTINGS, '0.1 0.9 0');
73         SKINVECTOR(POSITION_DIALOG_CREDITS, '0.3 1.2 0');
74         SKINVECTOR(POSITION_DIALOG_QUIT, '0.9 1.2 0');
75
76         // mouse
77         SKINSTRING(GFX_CURSOR, "cursor");
78         SKINVECTOR(SIZE_CURSOR, '32 32 0');
79         SKINVECTOR(OFFSET_CURSOR, '0 0 0');
80         SKINFLOAT(ALPHA_CURSOR_INTRO, 0);
81
82         // general
83         SKINSTRING(GFX_BACKGROUND, "background");
84         SKINSTRING(GFX_BACKGROUND_INGAME, "background_ingame");
85         SKINFLOAT(ALIGN_BACKGROUND, 5);
86         SKINFLOAT(ALIGN_BACKGROUND_INGAME, 5);
87         SKINFLOAT(ALPHA_BACKGROUND_INGAME, 0.7);
88         SKINFLOAT(ALPHA_DISABLED, 0.2);
89         SKINFLOAT(ALPHA_BEHIND, 0.5);
90         SKINFLOAT(ALPHA_TEXT, 0.7);
91
92         // item: button
93         SKINSTRING(GFX_BUTTON, "button");
94         SKINSTRING(GFX_BUTTON_GRAY, "buttongray");
95         SKINSTRING(GFX_BUTTON_BIG, "bigbutton");
96         SKINSTRING(GFX_BUTTON_BIG_GRAY, "bigbuttongray");
97         SKINVECTOR(COLOR_BUTTON_N, '1 1 1');
98         SKINVECTOR(COLOR_BUTTON_C, '1 1 1');
99         SKINVECTOR(COLOR_BUTTON_F, '1 1 1');
100         SKINVECTOR(COLOR_BUTTON_D, '1 1 1');
101
102         // item: campaign
103         SKINFLOAT(ALPHA_CAMPAIGN_SELECTABLE, 0.8);
104         SKINVECTOR(COLOR_CAMPAIGN_SELECTABLE, '1 1 1');
105         SKINFLOAT(ALPHA_CAMPAIGN_CURRENT, 1);
106         SKINVECTOR(COLOR_CAMPAIGN_CURRENT, '1 1 0');
107         SKINFLOAT(ALPHA_CAMPAIGN_FUTURE, 0.2);
108         SKINVECTOR(COLOR_CAMPAIGN_FUTURE, '1 1 1');
109         SKINFLOAT(ALPHA_CAMPAIGN_DESCRIPTION, 0.7);
110
111         // item: checkbox
112         SKINSTRING(GFX_CHECKBOX, "checkbox");
113         SKINVECTOR(COLOR_CHECKBOX_N, '1 1 1');
114         SKINVECTOR(COLOR_CHECKBOX_C, '1 1 1');
115         SKINVECTOR(COLOR_CHECKBOX_F, '1 1 1');
116         SKINVECTOR(COLOR_CHECKBOX_D, '1 1 1');
117
118         // item: color picker
119         SKINSTRING(GFX_COLORPICKER, "colorpicker");
120         SKINVECTOR(MARGIN_COLORPICKER, '0 0 0');
121
122         // item: credits list
123         SKINVECTOR(COLOR_CREDITS_TITLE, '1 1 1');
124         SKINFLOAT(ALPHA_CREDITS_TITLE, 1);
125         SKINVECTOR(COLOR_CREDITS_FUNCTION, '1 1 1');
126         SKINFLOAT(ALPHA_CREDITS_FUNCTION, 0.7);
127         SKINVECTOR(COLOR_CREDITS_PERSON, '0.7 0.7 1');
128         SKINFLOAT(ALPHA_CREDITS_PERSON, 0.7);
129         SKINFLOAT(ROWS_CREDITS, 20);
130         SKINFLOAT(WIDTH_CREDITS, 0.5);
131
132         // item: crosshair button
133         SKINSTRING(GFX_CROSSHAIRBUTTON, "crosshairbutton");
134
135         // item: cvar list
136         SKINFLOAT(ALPHA_CVARLIST_SAVED, 1);
137         SKINFLOAT(ALPHA_CVARLIST_TEMPORARY, 0.7);
138         SKINVECTOR(COLOR_CVARLIST_CHANGED, '1 1 0.4');
139         SKINVECTOR(COLOR_CVARLIST_REVERTBUTTON, '1 0 0');
140         SKINVECTOR(COLOR_CVARLIST_UNCHANGED, '1 1 1');
141
142         // item: dialog
143         SKINSTRING(GFX_DIALOGBORDER, "border");
144         SKINSTRING(GFX_CLOSEBUTTON, "closebutton");
145         SKINFLOAT(MARGIN_TOP, 8);
146         SKINFLOAT(MARGIN_BOTTOM, 8);
147         SKINFLOAT(MARGIN_LEFT, 8);
148         SKINFLOAT(MARGIN_RIGHT, 8);
149         SKINFLOAT(MARGIN_COLUMNS, 4);
150         SKINFLOAT(MARGIN_ROWS, 4);
151         SKINFLOAT(HEIGHT_DIALOGBORDER, 1);
152
153         // item: input box
154         SKINSTRING(GFX_INPUTBOX, "inputbox");
155         SKINVECTOR(COLOR_INPUTBOX_N, '1 1 1');
156         SKINVECTOR(COLOR_INPUTBOX_F, '1 1 1');
157         SKINFLOAT(MARGIN_INPUTBOX_CHARS, 1);
158
159         // item: key grabber
160         SKINVECTOR(COLOR_KEYGRABBER_TITLES, '1 1 1');
161         SKINFLOAT(ALPHA_KEYGRABBER_TITLES, 1);
162         SKINVECTOR(COLOR_KEYGRABBER_KEYS, '1 1 1');
163         SKINFLOAT(ALPHA_KEYGRABBER_KEYS, 0.7);
164
165         // item: list box
166         SKINVECTOR(COLOR_LISTBOX_SELECTED, '0 0 1');
167         SKINFLOAT(ALPHA_LISTBOX_SELECTED, 0.5);
168         SKINVECTOR(COLOR_LISTBOX_WAITING, '1 0 0');
169         SKINFLOAT(ALPHA_LISTBOX_WAITING, 0.5);
170         SKINVECTOR(COLOR_LISTBOX_BACKGROUND, '0 0 0');
171         SKINFLOAT(ALPHA_LISTBOX_BACKGROUND, 0.5);
172
173         // item: map list
174         SKINVECTOR(COLOR_MAPLIST_TITLE, '1 1 1');
175         SKINVECTOR(COLOR_MAPLIST_AUTHOR, '0.4 0.4 0.7');
176         SKINVECTOR(COLOR_MAPLIST_INCLUDEDBG, '0 0 0');
177         SKINFLOAT(ALPHA_MAPLIST_INCLUDEDFG, 1);
178         SKINFLOAT(ALPHA_MAPLIST_INCLUDEDBG, 0.5);
179         SKINFLOAT(ALPHA_MAPLIST_NOTINCLUDEDFG, 0.4);
180
181         // item: nexposee
182         SKINVECTOR(ALPHAS_MAINMENU, '0.6 0.8 0.9');
183
184         // item: player color button
185         SKINSTRING(GFX_COLORBUTTON, "colorbutton");
186         SKINSTRING(GFX_COLORBUTTON_COLOR, "color");
187
188         // item: player model
189         SKINVECTOR(COLOR_MODELTITLE, '1 1 1');
190         SKINFLOAT(ALPHA_MODELTITLE, 1);
191
192         // item: player name editor
193         SKINSTRING(GFX_CHARMAP, "charmap");
194         SKINSTRING(GFX_CHARMAP_SELECTED, "charmapbutton");
195
196         // item: radio button
197         SKINSTRING(GFX_RADIOBUTTON, "radiobutton");
198         SKINVECTOR(COLOR_RADIOBUTTON_N, '1 1 1');
199         SKINVECTOR(COLOR_RADIOBUTTON_C, '1 1 1');
200         SKINVECTOR(COLOR_RADIOBUTTON_F, '1 1 1');
201         SKINVECTOR(COLOR_RADIOBUTTON_D, '1 1 1');
202
203         // item: scrollbar
204         SKINSTRING(GFX_SCROLLBAR, "scrollbar");
205         SKINVECTOR(COLOR_SCROLLBAR_N, '1 1 1');
206         SKINVECTOR(COLOR_SCROLLBAR_F, '1 1 1');
207         SKINVECTOR(COLOR_SCROLLBAR_C, '1 1 1');
208         SKINVECTOR(COLOR_SCROLLBAR_S, '1 1 1');
209         SKINFLOAT(WIDTH_SCROLLBAR, 16);
210
211         // item: server list
212         SKINFLOAT(ALPHA_SERVERLIST_FULL, 0.4);
213         SKINFLOAT(ALPHA_SERVERLIST_EMPTY, 0.7);
214         SKINVECTOR(COLOR_SERVERLIST_LOWPING, '0 1 0');
215         SKINVECTOR(COLOR_SERVERLIST_MEDPING, '1 1 0');
216         SKINVECTOR(COLOR_SERVERLIST_HIGHPING, '1 0 0');
217         SKINFLOAT(ALPHA_SERVERLIST_HIGHPING, 0.4);
218         SKINFLOAT(ALPHA_SERVERLIST_FAVORITE, 0.8);
219         SKINVECTOR(COLOR_SERVERLIST_FAVORITE, '1 1 1');
220
221         // item: server info
222         SKINVECTOR(COLOR_SERVERINFO_NAME, '1 1 1');
223         SKINVECTOR(COLOR_SERVERINFO_IP, '0.4 0.4 0.7');
224
225         // item: skin list
226         SKINVECTOR(COLOR_SKINLIST_TITLE, '1 1 1');
227         SKINVECTOR(COLOR_SKINLIST_AUTHOR, '0.4 0.4 0.7');
228
229         // item: slider
230         SKINSTRING(GFX_SLIDER, "slider");
231         SKINVECTOR(COLOR_SLIDER_N, '1 1 1');
232         SKINVECTOR(COLOR_SLIDER_C, '1 1 1');
233         SKINVECTOR(COLOR_SLIDER_F, '1 1 1');
234         SKINVECTOR(COLOR_SLIDER_D, '1 1 1');
235         SKINVECTOR(COLOR_SLIDER_S, '1 1 1');
236         SKINFLOAT(WIDTH_SLIDERTEXT, 0.333333333333);
237         SKINVECTOR(TOLERANCE_SLIDER, '0.2 2 0');
238 SKINEND