Mercurial > mplayer.hg
annotate gui/cfg.h @ 33787:42feff0f8a7b
Start all file dialogs always in last active directory.
This starts the "add subtitle" and "add external audio" dialogs
in the directory of the chosen or started movie.
Don't change the directory just to retrieve its name and prepend
the active directory instead of appending it.
This closes Bugzilla #977.
author | ib |
---|---|
date | Mon, 11 Jul 2011 14:54:25 +0000 |
parents | c28c967e40e9 |
children | f744357e94bd |
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; | |
83 extern int gui_sub_pos_x; | |
84 extern int gui_sub_pos_y; | |
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); |
33179 | 93 int cfg_read(void); |
94 int cfg_write(void); | |
23077 | 95 |
26029 | 96 #endif /* MPLAYER_GUI_CFG_H */ |