Mercurial > mplayer.hg
annotate gui/ui/render.c @ 36916:d41fbe8a8797
Add new dynamic label variable $U.
This is the volume without decimal places (which makes more sense to me
than $V and should have been the output of $V in the first place).
author | ib |
---|---|
date | Thu, 13 Mar 2014 15:51:42 +0000 |
parents | 1db578946152 |
children | e0a0b0846c4e |
rev | line source |
---|---|
26458 | 1 /* |
2 * This file is part of MPlayer. | |
3 * | |
4 * MPlayer is free software; you can redistribute it and/or modify | |
5 * it under the terms of the GNU General Public License as published by | |
6 * the Free Software Foundation; either version 2 of the License, or | |
7 * (at your option) any later version. | |
8 * | |
9 * MPlayer is distributed in the hope that it will be useful, | |
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
12 * GNU General Public License for more details. | |
13 * | |
14 * You should have received a copy of the GNU General Public License along | |
15 * with MPlayer; if not, write to the Free Software Foundation, Inc., | |
16 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | |
17 */ | |
25603
01754b23193e
Rename common.[ch], there are too many files by that name.
diego
parents:
diff
changeset
|
18 |
33123
9566100d88a1
Replace inttypes.h by stdint.h and remove inttypes.h where unneeded.
ib
parents:
32982
diff
changeset
|
19 #include <stdint.h> |
25603
01754b23193e
Rename common.[ch], there are too many files by that name.
diego
parents:
diff
changeset
|
20 #include <stdio.h> |
32963 | 21 #include <stdlib.h> |
25603
01754b23193e
Rename common.[ch], there are too many files by that name.
diego
parents:
diff
changeset
|
22 #include <string.h> |
01754b23193e
Rename common.[ch], there are too many files by that name.
diego
parents:
diff
changeset
|
23 |
33556 | 24 #include "render.h" |
32952 | 25 #include "gui/interface.h" |
26365
10dfbc523184
Add gui/ prefix to some #include paths so that compilation from the
diego
parents:
25603
diff
changeset
|
26 #include "gui/skin/font.h" |
34175 | 27 #include "gui/util/string.h" |
25603
01754b23193e
Rename common.[ch], there are too many files by that name.
diego
parents:
diff
changeset
|
28 |
32963 | 29 #include "libavutil/avstring.h" |
32954 | 30 #include "osdep/timer.h" |
32963 | 31 #include "stream/stream.h" |
25603
01754b23193e
Rename common.[ch], there are too many files by that name.
diego
parents:
diff
changeset
|
32 |
33269 | 33 #define DLABEL_DELAY 2500 // in milliseconds |
34 | |
32963 | 35 static char *image_buffer; |
36 static int image_width; | |
32956 | 37 |
32975
0dc9d64cd64e
Make functions static that are only used inside the file.
ib
parents:
32973
diff
changeset
|
38 static char *Translate(char *str) |
25603
01754b23193e
Rename common.[ch], there are too many files by that name.
diego
parents:
diff
changeset
|
39 { |
32963 | 40 static char trbuf[512]; |
41 char tmp[512]; | |
32972 | 42 unsigned int i, c; |
32963 | 43 int t; |
44 | |
32972 | 45 *trbuf = 0; |
32963 | 46 |
32972 | 47 for (c = 0, i = 0; i < strlen(str); i++) { |
32963 | 48 if (str[i] != '$') { |
32972 | 49 if (c + 1 < sizeof(trbuf)) { |
32973 | 50 trbuf[c++] = str[i]; |
51 trbuf[c] = 0; | |
32972 | 52 } |
32963 | 53 } else { |
54 switch (str[++i]) { | |
55 case 't': | |
33555 | 56 snprintf(tmp, sizeof(tmp), "%02d", guiInfo.Track); |
32963 | 57 av_strlcat(trbuf, tmp, sizeof(trbuf)); |
58 break; | |
59 | |
60 case 'o': | |
61 TranslateFilename(0, tmp, sizeof(tmp)); | |
62 av_strlcat(trbuf, tmp, sizeof(trbuf)); | |
63 break; | |
64 | |
65 case 'f': | |
66 TranslateFilename(1, tmp, sizeof(tmp)); | |
67 av_strlcat(trbuf, tmp, sizeof(trbuf)); | |
68 break; | |
69 | |
70 case 'F': | |
71 TranslateFilename(2, tmp, sizeof(tmp)); | |
72 av_strlcat(trbuf, tmp, sizeof(trbuf)); | |
73 break; | |
74 | |
75 case '6': | |
33897 | 76 t = guiInfo.RunningTime; |
32963 | 77 goto calclengthhhmmss; |
78 | |
79 case '1': | |
33897 | 80 t = guiInfo.ElapsedTime; |
25603
01754b23193e
Rename common.[ch], there are too many files by that name.
diego
parents:
diff
changeset
|
81 calclengthhhmmss: |
32963 | 82 snprintf(tmp, sizeof(tmp), "%02d:%02d:%02d", t / 3600, t / 60 % 60, t % 60); |
83 av_strlcat(trbuf, tmp, sizeof(trbuf)); | |
84 break; | |
85 | |
86 case '7': | |
33897 | 87 t = guiInfo.RunningTime; |
32963 | 88 goto calclengthmmmmss; |
89 | |
90 case '2': | |
33897 | 91 t = guiInfo.ElapsedTime; |
25603
01754b23193e
Rename common.[ch], there are too many files by that name.
diego
parents:
diff
changeset
|
92 calclengthmmmmss: |
32963 | 93 snprintf(tmp, sizeof(tmp), "%04d:%02d", t / 60, t % 60); |
94 av_strlcat(trbuf, tmp, sizeof(trbuf)); | |
95 break; | |
96 | |
97 case '3': | |
33897 | 98 snprintf(tmp, sizeof(tmp), "%02d", guiInfo.ElapsedTime / 3600); |
32963 | 99 av_strlcat(trbuf, tmp, sizeof(trbuf)); |
100 break; | |
101 | |
102 case '4': | |
33897 | 103 snprintf(tmp, sizeof(tmp), "%02d", (guiInfo.ElapsedTime / 60) % 60); |
32963 | 104 av_strlcat(trbuf, tmp, sizeof(trbuf)); |
105 break; | |
106 | |
107 case '5': | |
33897 | 108 snprintf(tmp, sizeof(tmp), "%02d", guiInfo.ElapsedTime % 60); |
32963 | 109 av_strlcat(trbuf, tmp, sizeof(trbuf)); |
110 break; | |
111 | |
112 case '8': | |
33897 | 113 snprintf(tmp, sizeof(tmp), "%01d:%02d:%02d", guiInfo.ElapsedTime / 3600, (guiInfo.ElapsedTime / 60) % 60, guiInfo.ElapsedTime % 60); |
32963 | 114 av_strlcat(trbuf, tmp, sizeof(trbuf)); |
115 break; | |
116 | |
117 case 'v': | |
33555 | 118 snprintf(tmp, sizeof(tmp), "%3.2f%%", guiInfo.Volume); |
32963 | 119 av_strlcat(trbuf, tmp, sizeof(trbuf)); |
120 break; | |
121 | |
122 case 'V': | |
33555 | 123 snprintf(tmp, sizeof(tmp), "%3.1f", guiInfo.Volume); |
32963 | 124 av_strlcat(trbuf, tmp, sizeof(trbuf)); |
125 break; | |
126 | |
36916 | 127 case 'U': |
128 snprintf(tmp, sizeof(tmp), "%3.0f", guiInfo.Volume); | |
129 av_strlcat(trbuf, tmp, sizeof(trbuf)); | |
130 break; | |
131 | |
32963 | 132 case 'b': |
33555 | 133 snprintf(tmp, sizeof(tmp), "%3.2f%%", guiInfo.Balance); |
32963 | 134 av_strlcat(trbuf, tmp, sizeof(trbuf)); |
135 break; | |
136 | |
137 case 'B': | |
33555 | 138 snprintf(tmp, sizeof(tmp), "%3.1f", guiInfo.Balance); |
32963 | 139 av_strlcat(trbuf, tmp, sizeof(trbuf)); |
140 break; | |
141 | |
36914 | 142 case 'D': |
143 snprintf(tmp, sizeof(tmp), "%3.0f", guiInfo.Balance); | |
144 av_strlcat(trbuf, tmp, sizeof(trbuf)); | |
145 break; | |
146 | |
32963 | 147 case 'x': |
33901 | 148 snprintf(tmp, sizeof(tmp), "%d", guiInfo.VideoWidth); |
32963 | 149 av_strlcat(trbuf, tmp, sizeof(trbuf)); |
150 break; | |
151 | |
152 case 'y': | |
33901 | 153 snprintf(tmp, sizeof(tmp), "%d", guiInfo.VideoHeight); |
32963 | 154 av_strlcat(trbuf, tmp, sizeof(trbuf)); |
155 break; | |
156 | |
157 case 'C': | |
35462 | 158 snprintf(tmp, sizeof(tmp), "%s", guiInfo.CodecName ? guiInfo.CodecName : ""); |
32963 | 159 av_strlcat(trbuf, tmp, sizeof(trbuf)); |
160 break; | |
161 | |
162 case 's': | |
33615
1f9a31d4f114
Replace all playback integer constants by their symbolic constants.
ib
parents:
33556
diff
changeset
|
163 if (guiInfo.Playing == GUI_STOP) |
32963 | 164 av_strlcat(trbuf, "s", sizeof(trbuf)); |
165 break; | |
166 | |
33616 | 167 case 'l': // legacy |
168 case 'p': | |
33615
1f9a31d4f114
Replace all playback integer constants by their symbolic constants.
ib
parents:
33556
diff
changeset
|
169 if (guiInfo.Playing == GUI_PLAY) |
32963 | 170 av_strlcat(trbuf, "p", sizeof(trbuf)); |
171 break; | |
172 | |
173 case 'e': | |
33615
1f9a31d4f114
Replace all playback integer constants by their symbolic constants.
ib
parents:
33556
diff
changeset
|
174 if (guiInfo.Playing == GUI_PAUSE) |
32963 | 175 av_strlcat(trbuf, "e", sizeof(trbuf)); |
176 break; | |
177 | |
178 case 'a': | |
33646 | 179 switch (guiInfo.AudioChannels) { |
32963 | 180 case 0: |
181 av_strlcat(trbuf, "n", sizeof(trbuf)); | |
182 break; | |
183 | |
184 case 1: | |
185 av_strlcat(trbuf, "m", sizeof(trbuf)); | |
186 break; | |
187 | |
188 case 2: | |
189 av_strlcat(trbuf, "t", sizeof(trbuf)); | |
190 break; | |
36910
11932adad7a2
Add symbol character 'r' for dynamic label variable $a.
ib
parents:
36909
diff
changeset
|
191 |
11932adad7a2
Add symbol character 'r' for dynamic label variable $a.
ib
parents:
36909
diff
changeset
|
192 default: |
11932adad7a2
Add symbol character 'r' for dynamic label variable $a.
ib
parents:
36909
diff
changeset
|
193 av_strlcat(trbuf, "r", sizeof(trbuf)); |
11932adad7a2
Add symbol character 'r' for dynamic label variable $a.
ib
parents:
36909
diff
changeset
|
194 break; |
32963 | 195 } |
196 break; | |
197 | |
198 case 'T': | |
33555 | 199 switch (guiInfo.StreamType) { |
32963 | 200 case STREAMTYPE_FILE: |
201 av_strlcat(trbuf, "f", sizeof(trbuf)); | |
202 break; | |
203 | |
34077 | 204 case STREAMTYPE_STREAM: |
205 av_strlcat(trbuf, "u", sizeof(trbuf)); | |
206 break; | |
207 | |
34387 | 208 case STREAMTYPE_CDDA: |
209 av_strlcat(trbuf, "a", sizeof(trbuf)); | |
210 break; | |
211 | |
32963 | 212 case STREAMTYPE_VCD: |
213 av_strlcat(trbuf, "v", sizeof(trbuf)); | |
214 break; | |
215 | |
216 case STREAMTYPE_DVD: | |
217 av_strlcat(trbuf, "d", sizeof(trbuf)); | |
218 break; | |
219 | |
36429 | 220 case STREAMTYPE_TV: |
221 case STREAMTYPE_DVB: | |
222 av_strlcat(trbuf, "b", sizeof(trbuf)); | |
223 break; | |
224 | |
32963 | 225 default: |
226 av_strlcat(trbuf, " ", sizeof(trbuf)); | |
227 break; | |
228 } | |
229 break; | |
230 | |
231 case '$': | |
232 av_strlcat(trbuf, "$", sizeof(trbuf)); | |
233 break; | |
234 | |
235 default: | |
236 continue; | |
25603
01754b23193e
Rename common.[ch], there are too many files by that name.
diego
parents:
diff
changeset
|
237 } |
32963 | 238 |
239 c = strlen(trbuf); | |
240 } | |
25603
01754b23193e
Rename common.[ch], there are too many files by that name.
diego
parents:
diff
changeset
|
241 } |
32963 | 242 |
243 return trbuf; | |
25603
01754b23193e
Rename common.[ch], there are too many files by that name.
diego
parents:
diff
changeset
|
244 } |
01754b23193e
Rename common.[ch], there are too many files by that name.
diego
parents:
diff
changeset
|
245 |
33555 | 246 static void PutImage(guiImage *bf, int x, int y, int max, int ofs) |
25603
01754b23193e
Rename common.[ch], there are too many files by that name.
diego
parents:
diff
changeset
|
247 { |
32963 | 248 int i = 0, ix, iy; |
249 uint32_t *buf = NULL; | |
250 uint32_t *drw = NULL; | |
251 register uint32_t tmp; | |
252 | |
253 /* register uint32_t yc; */ | |
25603
01754b23193e
Rename common.[ch], there are too many files by that name.
diego
parents:
diff
changeset
|
254 |
32963 | 255 if (!bf || (bf->Image == NULL)) |
256 return; | |
25603
01754b23193e
Rename common.[ch], there are too many files by that name.
diego
parents:
diff
changeset
|
257 |
32963 | 258 i = bf->Width * (bf->Height / max) * ofs; |
259 buf = (uint32_t *)image_buffer; | |
260 drw = (uint32_t *)bf->Image; | |
25603
01754b23193e
Rename common.[ch], there are too many files by that name.
diego
parents:
diff
changeset
|
261 |
01754b23193e
Rename common.[ch], there are too many files by that name.
diego
parents:
diff
changeset
|
262 #if 1 |
32963 | 263 for (iy = y; iy < (int)(y + bf->Height / max); iy++) |
264 for (ix = x; ix < (int)(x + bf->Width); ix++) { | |
265 tmp = drw[i++]; | |
266 | |
33534 | 267 if (!IS_TRANSPARENT(tmp)) |
32963 | 268 buf[iy * image_width + ix] = tmp; |
269 } | |
25603
01754b23193e
Rename common.[ch], there are too many files by that name.
diego
parents:
diff
changeset
|
270 #else |
32963 | 271 yc = y * image_width; |
272 | |
273 for (iy = y; iy < (int)(y + bf->Height / max); iy++) { | |
274 for (ix = x; ix < (int)(x + bf->Width); ix++) { | |
275 tmp = drw[i++]; | |
276 | |
33534 | 277 if (!IS_TRANSPARENT(tmp)) |
32963 | 278 buf[yc + ix] = tmp; |
279 } | |
280 | |
281 yc += image_width; | |
25603
01754b23193e
Rename common.[ch], there are too many files by that name.
diego
parents:
diff
changeset
|
282 } |
01754b23193e
Rename common.[ch], there are too many files by that name.
diego
parents:
diff
changeset
|
283 #endif |
01754b23193e
Rename common.[ch], there are too many files by that name.
diego
parents:
diff
changeset
|
284 } |
01754b23193e
Rename common.[ch], there are too many files by that name.
diego
parents:
diff
changeset
|
285 |
33555 | 286 static void SimplePotmeterPutImage(guiImage *bf, int x, int y, float frac) |
25603
01754b23193e
Rename common.[ch], there are too many files by that name.
diego
parents:
diff
changeset
|
287 { |
32963 | 288 int i = 0, w, r, ix, iy; |
289 uint32_t *buf = NULL; | |
290 uint32_t *drw = NULL; | |
291 register uint32_t tmp; | |
25603
01754b23193e
Rename common.[ch], there are too many files by that name.
diego
parents:
diff
changeset
|
292 |
32963 | 293 if (!bf || (bf->Image == NULL)) |
294 return; | |
25603
01754b23193e
Rename common.[ch], there are too many files by that name.
diego
parents:
diff
changeset
|
295 |
32963 | 296 buf = (uint32_t *)image_buffer; |
297 drw = (uint32_t *)bf->Image; | |
298 w = bf->Width * frac; | |
299 r = bf->Width - w; | |
300 | |
301 for (iy = y; iy < (int)(y + bf->Height); iy++) { | |
302 for (ix = x; ix < (int)(x + w); ix++) { | |
303 tmp = drw[i++]; | |
304 | |
33534 | 305 if (!IS_TRANSPARENT(tmp)) |
32963 | 306 buf[iy * image_width + ix] = tmp; |
307 } | |
308 | |
309 i += r; | |
310 } | |
25603
01754b23193e
Rename common.[ch], there are too many files by that name.
diego
parents:
diff
changeset
|
311 } |
01754b23193e
Rename common.[ch], there are too many files by that name.
diego
parents:
diff
changeset
|
312 |
35688 | 313 void RenderAll(wsWindow *window, guiItem *Items, int nrItems, char *db) |
25603
01754b23193e
Rename common.[ch], there are too many files by that name.
diego
parents:
diff
changeset
|
314 { |
35688 | 315 guiItem *item; |
33555 | 316 guiImage *image = NULL; |
32963 | 317 int i, ofs; |
318 | |
319 image_buffer = db; | |
320 image_width = window->Width; | |
321 | |
322 for (i = 0; i < nrItems + 1; i++) { | |
323 item = &Items[i]; | |
32966
1f51f39916e1
Replace ternary operator by more intelligible switch statement.
ib
parents:
32965
diff
changeset
|
324 |
1f51f39916e1
Replace ternary operator by more intelligible switch statement.
ib
parents:
32965
diff
changeset
|
325 switch (item->pressed) { |
1f51f39916e1
Replace ternary operator by more intelligible switch statement.
ib
parents:
32965
diff
changeset
|
326 case btnPressed: |
1f51f39916e1
Replace ternary operator by more intelligible switch statement.
ib
parents:
32965
diff
changeset
|
327 ofs = 0; |
1f51f39916e1
Replace ternary operator by more intelligible switch statement.
ib
parents:
32965
diff
changeset
|
328 break; |
1f51f39916e1
Replace ternary operator by more intelligible switch statement.
ib
parents:
32965
diff
changeset
|
329 |
1f51f39916e1
Replace ternary operator by more intelligible switch statement.
ib
parents:
32965
diff
changeset
|
330 case btnReleased: |
1f51f39916e1
Replace ternary operator by more intelligible switch statement.
ib
parents:
32965
diff
changeset
|
331 ofs = 1; |
1f51f39916e1
Replace ternary operator by more intelligible switch statement.
ib
parents:
32965
diff
changeset
|
332 break; |
1f51f39916e1
Replace ternary operator by more intelligible switch statement.
ib
parents:
32965
diff
changeset
|
333 |
1f51f39916e1
Replace ternary operator by more intelligible switch statement.
ib
parents:
32965
diff
changeset
|
334 default: |
1f51f39916e1
Replace ternary operator by more intelligible switch statement.
ib
parents:
32965
diff
changeset
|
335 ofs = 2; |
1f51f39916e1
Replace ternary operator by more intelligible switch statement.
ib
parents:
32965
diff
changeset
|
336 break; |
1f51f39916e1
Replace ternary operator by more intelligible switch statement.
ib
parents:
32965
diff
changeset
|
337 } |
32963 | 338 |
339 switch (item->type) { | |
340 case itButton: | |
35541 | 341 |
32963 | 342 PutImage(&item->Bitmap, item->x, item->y, 3, ofs); |
343 break; | |
25603
01754b23193e
Rename common.[ch], there are too many files by that name.
diego
parents:
diff
changeset
|
344 |
32963 | 345 case itPotmeter: |
35541 | 346 |
32963 | 347 if (item->numphases == 1) |
32970
3673c28ce811
Use double constants for higher precision calculations.
ib
parents:
32969
diff
changeset
|
348 SimplePotmeterPutImage(&item->Bitmap, item->x, item->y, item->value / 100.0); |
32963 | 349 else |
32970
3673c28ce811
Use double constants for higher precision calculations.
ib
parents:
32969
diff
changeset
|
350 PutImage(&item->Bitmap, item->x, item->y, item->numphases, (item->numphases - 1) * (item->value / 100.0)); |
35541 | 351 |
32963 | 352 break; |
353 | |
354 case itHPotmeter: | |
35541 | 355 |
32963 | 356 if (item->numphases == 1) |
32970
3673c28ce811
Use double constants for higher precision calculations.
ib
parents:
32969
diff
changeset
|
357 SimplePotmeterPutImage(&item->Bitmap, item->x, item->y, item->value / 100.0); |
32963 | 358 else |
32970
3673c28ce811
Use double constants for higher precision calculations.
ib
parents:
32969
diff
changeset
|
359 PutImage(&item->Bitmap, item->x, item->y, item->numphases, (item->numphases - 1) * (item->value / 100.0)); |
35541 | 360 |
32970
3673c28ce811
Use double constants for higher precision calculations.
ib
parents:
32969
diff
changeset
|
361 PutImage(&item->Mask, item->x + (item->width - item->pwidth) * (item->value / 100.0), item->y, 3, ofs); |
32963 | 362 break; |
363 | |
364 case itVPotmeter: | |
35541 | 365 |
32970
3673c28ce811
Use double constants for higher precision calculations.
ib
parents:
32969
diff
changeset
|
366 PutImage(&item->Bitmap, item->x, item->y, item->numphases, item->numphases * (1.0 - item->value / 100.0)); |
3673c28ce811
Use double constants for higher precision calculations.
ib
parents:
32969
diff
changeset
|
367 PutImage(&item->Mask, item->x, item->y + (item->height - item->pheight) * (1.0 - item->value / 100.0), 3, ofs); |
32963 | 368 break; |
369 | |
370 case itSLabel: | |
35541 | 371 |
32969 | 372 if (item->width == -1) |
373 item->width = fntTextWidth(item->fontid, item->label); | |
35541 | 374 |
33971 | 375 image = fntTextRender(item, 0, item->label); |
35541 | 376 |
32963 | 377 if (image) |
378 PutImage(image, item->x, item->y, 1, 0); | |
35541 | 379 |
32969 | 380 break; |
25603
01754b23193e
Rename common.[ch], there are too many files by that name.
diego
parents:
diff
changeset
|
381 |
32963 | 382 case itDLabel: |
383 { | |
384 int x; | |
385 unsigned int d; | |
386 char *t = Translate(item->label); | |
387 | |
388 if (!item->text || (strcmp(item->text, t) != 0)) { | |
389 free(item->text); | |
390 item->text = strdup(t); | |
391 item->textwidth = fntTextWidth(item->fontid, t); | |
392 item->starttime = GetTimerMS(); | |
393 item->last_x = 0; | |
32761
3ceeb62a1125
Improve the readability of dynamic labels which scroll.
ib
parents:
32759
diff
changeset
|
394 } |
32963 | 395 |
396 d = GetTimerMS() - item->starttime; | |
397 | |
32964 | 398 if (d < DLABEL_DELAY) |
32963 | 399 x = item->last_x; // don't scroll yet |
400 else { | |
401 int l; | |
402 char c[2]; | |
403 | |
404 l = (item->textwidth ? item->textwidth : item->width); | |
35362 | 405 x = (l ? l - ((d - DLABEL_DELAY) / 20) % l - 1 : 0); |
32963 | 406 c[0] = *item->text; |
407 c[1] = '\0'; | |
408 | |
409 if (x < (fntTextWidth(item->fontid, c) + 1) >> 1) { | |
410 item->starttime = GetTimerMS(); // stop again | |
411 item->last_x = x; // at current x pos | |
412 } | |
32761
3ceeb62a1125
Improve the readability of dynamic labels which scroll.
ib
parents:
32759
diff
changeset
|
413 } |
32963 | 414 |
33971 | 415 image = fntTextRender(item, x, t); |
32963 | 416 } |
417 | |
418 if (image) | |
419 PutImage(image, item->x, item->y, 1, 0); | |
420 | |
421 break; | |
422 } | |
25603
01754b23193e
Rename common.[ch], there are too many files by that name.
diego
parents:
diff
changeset
|
423 } |
32963 | 424 |
35744 | 425 wsImageRender(window, db); |
25603
01754b23193e
Rename common.[ch], there are too many files by that name.
diego
parents:
diff
changeset
|
426 } |