Mercurial > mplayer.hg
annotate gui/cfg.h @ 34697:ac6b38cd0d45
Rename sub window video window.
It was a bad idea to name the video window "sub window" at the time
the GUI was written. The term "sub window" does make sense from the
programmer's point of view, but it doesn't make any sense at all from
the user's point of view, because the sub window simply is the window
where the video will be displayed.
Moreover, since the term "sub" is generally short for "subtitles",
the renaming makes the code much easier to understand.
author | ib |
---|---|
date | Sat, 03 Mar 2012 16:45:15 +0000 |
parents | f744357e94bd |
children | baf53d200292 |
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 |
33265 | 22 #include "m_config.h" |
33470 | 23 #include "m_option.h" |
33265 | 24 |
25 extern m_config_t *gui_conf; | |
26 | |
33179 | 27 extern int gtkCacheOn; |
28 extern int gtkCacheSize; | |
23077 | 29 |
33249 | 30 extern int gtkVfPP; |
33179 | 31 extern int gtkVfLAVC; |
32 | |
33 extern char *gtkDXR3Device; | |
23077 | 34 |
33179 | 35 extern int gtkAutoSyncOn; |
36 extern int gtkAutoSync; | |
23077 | 37 |
33179 | 38 extern int gtkAONorm; |
39 extern int gtkAOSurround; | |
40 extern int gtkAOExtraStereo; | |
41 extern float gtkAOExtraStereoMul; | |
42 | |
43 extern char *gtkAOALSAMixer; | |
44 extern char *gtkAOALSAMixerChannel; | |
45 extern char *gtkAOALSADevice; | |
23077 | 46 |
33179 | 47 extern char *gtkAOOSSMixer; |
48 extern char *gtkAOOSSMixerChannel; | |
49 extern char *gtkAOOSSDevice; | |
23077 | 50 |
33179 | 51 extern char *gtkAOESDDevice; |
23077 | 52 |
33179 | 53 extern char *gtkAOSDLDriver; |
23077 | 54 |
33179 | 55 extern int gtkEnableAudioEqualizer; |
56 extern char *gtkEquChannel1; | |
57 extern char *gtkEquChannel2; | |
58 extern char *gtkEquChannel3; | |
59 extern char *gtkEquChannel4; | |
60 extern char *gtkEquChannel5; | |
61 extern char *gtkEquChannel6; | |
33747 | 62 extern float gtkEquChannels[6][10]; |
33179 | 63 |
64 extern int gtkSubDumpMPSub; | |
65 extern int gtkSubDumpSrt; | |
23077 | 66 |
67 typedef struct { | |
68 int enabled; | |
69 int use_margins; | |
70 int top_margin; | |
71 int bottom_margin; | |
72 } gtkASS_t; | |
33179 | 73 |
23077 | 74 extern gtkASS_t gtkASS; |
75 | |
33179 | 76 extern int gtkEnablePlayBar; |
77 extern int gtkLoadFullscreen; | |
78 extern int gtkShowVideoWindow; | |
79 | |
80 extern int gui_save_pos; | |
81 extern int gui_main_pos_x; | |
82 extern int gui_main_pos_y; | |
34697 | 83 extern int gui_video_pos_x; |
84 extern int gui_video_pos_y; | |
33179 | 85 |
33747 | 86 extern int guiWinID; |
87 | |
88 extern char *skinName; | |
89 | |
33751
c28c967e40e9
Replace numeric constant fsPersistant_MaxPos for fsHistory array size.
ib
parents:
33750
diff
changeset
|
90 extern char *fsHistory[5]; |
33750
8b5898908212
Remove variable holding history of selected files from interface.[ch].
ib
parents:
33747
diff
changeset
|
91 |
33565
9c4163ef54e4
Add const to string pointer argument that will not be modified.
reimar
parents:
33470
diff
changeset
|
92 int cfg_gui_include(m_option_t *conf, const char *filename); |
34561 | 93 void cfg_read(void); |
94 void cfg_write(void); | |
23077 | 95 |
26029 | 96 #endif /* MPLAYER_GUI_CFG_H */ |