Mercurial > mplayer.hg
annotate gui/cfg.h @ 32734:cc58a1e919d9
Allow character in the font description file to be in UTF-8.
A character defined in the font description file can be either
an ASCII character, any character in the range of 0x80 to 0xFF
or - to avoid character set problems, and that is recommended -
a character in UTF-8 encoding now.
Non-ASCII characters will be stored in the nonASCIIidx array.
The indices 0..127 of this array correspond to the indices
128..255 of the Fnt array.
(This also settles the "Translate messages shown in the GUI window(s)
from UTF-8" issue.)
author | ib |
---|---|
date | Thu, 27 Jan 2011 18:04:19 +0000 |
parents | 00c918779261 |
children | 218edd8fc782 |
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 */ | |
18 | |
26029 | 19 #ifndef MPLAYER_GUI_CFG_H |
20 #define MPLAYER_GUI_CFG_H | |
23077 | 21 |
30162
00c918779261
Add missing config.h #include; remove a redundant one.
diego
parents:
28051
diff
changeset
|
22 #include "config.h" |
00c918779261
Add missing config.h #include; remove a redundant one.
diego
parents:
28051
diff
changeset
|
23 |
23077 | 24 extern int gtkEnableAudioEqualizer; |
25 | |
26 extern int gtkVfPP; | |
27 extern int gtkVfLAVC; | |
28 | |
29 extern int gtkAONorm; | |
30 extern int gtkAOFakeSurround; | |
31 extern int gtkAOExtraStereo; | |
32 extern float gtkAOExtraStereoMul; | |
33 extern char * gtkAOOSSMixer; | |
34 extern char * gtkAOOSSMixerChannel; | |
35 extern char * gtkAOOSSDevice; | |
36 extern char * gtkAOALSAMixer; | |
37 extern char * gtkAOALSAMixerChannel; | |
38 extern char * gtkAOALSADevice; | |
39 extern char * gtkAOSDLDriver; | |
40 extern char * gtkAOESDDevice; | |
41 extern char * gtkDXR3Device; | |
42 | |
43 extern int gtkCacheOn; | |
44 extern int gtkCacheSize; | |
45 | |
46 extern int gtkAutoSyncOn; | |
47 extern int gtkAutoSync; | |
48 | |
49 extern int gtkSubDumpMPSub; | |
50 extern int gtkSubDumpSrt; | |
51 | |
52 extern char * gtkEquChannel1; | |
53 extern char * gtkEquChannel2; | |
54 extern char * gtkEquChannel3; | |
55 extern char * gtkEquChannel4; | |
56 extern char * gtkEquChannel5; | |
57 extern char * gtkEquChannel6; | |
58 extern int gtkLoadFullscreen; | |
59 extern int gtkShowVideoWindow; | |
60 extern int gtkEnablePlayBar; | |
61 | |
62 extern int gui_save_pos; | |
63 extern int gui_main_pos_x; | |
64 extern int gui_main_pos_y; | |
65 extern int gui_sub_pos_x; | |
66 extern int gui_sub_pos_y; | |
67 | |
27341
e7c989f7a7c9
Start unifying names of internal preprocessor directives.
diego
parents:
26458
diff
changeset
|
68 #ifdef CONFIG_ASS |
23077 | 69 typedef struct { |
70 int enabled; | |
71 int use_margins; | |
72 int top_margin; | |
73 int bottom_margin; | |
74 } gtkASS_t; | |
75 extern gtkASS_t gtkASS; | |
76 #endif | |
77 | |
28051 | 78 int cfg_read( void ); |
79 int cfg_write( void ); | |
23077 | 80 |
26029 | 81 #endif /* MPLAYER_GUI_CFG_H */ |