annotate Gui/interface.h @ 21527:9b228834e07b

Half-properly set up OpenAL position stuff
author reimar
date Sat, 09 Dec 2006 11:45:41 +0000
parents b806ccbc6398
children a7e5b99ac083
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4798
c39affa2b376 new interface ? :)
pontscho
parents:
diff changeset
1
c39affa2b376 new interface ? :)
pontscho
parents:
diff changeset
2 #ifndef _INTERFACE_H
c39affa2b376 new interface ? :)
pontscho
parents:
diff changeset
3 #define _INTERFACE_H
c39affa2b376 new interface ? :)
pontscho
parents:
diff changeset
4
17314
1bdc7230ea29 Bandaid fix for compilation failure when creating main/.depend with GUI
diego
parents: 17144
diff changeset
5 #include "../config.h"
4798
c39affa2b376 new interface ? :)
pontscho
parents:
diff changeset
6 #include "mplayer/play.h"
17144
0e1471d9da74 Unify include paths, -I.. is in CFLAGS.
diego
parents: 16374
diff changeset
7 #include "libvo/font_load.h"
7019
e37a67d5e117 fix (?) cmd line handling
pontscho
parents: 7009
diff changeset
8 #include "cfg.h"
4798
c39affa2b376 new interface ? :)
pontscho
parents:
diff changeset
9
4818
3473ca9ef158 new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents: 4798
diff changeset
10 #ifdef USE_DVDREAD
19274
e579e74d6c3c fix includes due to libmpdemux split (patch by Stefan Huehner)
ben
parents: 19081
diff changeset
11 #include "stream/stream.h"
4818
3473ca9ef158 new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents: 4798
diff changeset
12 #endif
3473ca9ef158 new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents: 4798
diff changeset
13
3473ca9ef158 new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents: 4798
diff changeset
14 typedef struct
3473ca9ef158 new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents: 4798
diff changeset
15 {
3473ca9ef158 new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents: 4798
diff changeset
16 int x;
3473ca9ef158 new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents: 4798
diff changeset
17 int y;
3473ca9ef158 new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents: 4798
diff changeset
18 int width;
3473ca9ef158 new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents: 4798
diff changeset
19 int height;
3473ca9ef158 new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents: 4798
diff changeset
20 } guiResizeStruct;
3473ca9ef158 new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents: 4798
diff changeset
21
3473ca9ef158 new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents: 4798
diff changeset
22 typedef struct
3473ca9ef158 new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents: 4798
diff changeset
23 {
3473ca9ef158 new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents: 4798
diff changeset
24 int signal;
3473ca9ef158 new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents: 4798
diff changeset
25 char module[512];
10611
024b4c37a054 unknow --> unknown as discussed on dev-eng
diego
parents: 9291
diff changeset
26 } guiUnknownErrorStruct;
4818
3473ca9ef158 new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents: 4798
diff changeset
27
3473ca9ef158 new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents: 4798
diff changeset
28 typedef struct
3473ca9ef158 new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents: 4798
diff changeset
29 {
3473ca9ef158 new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents: 4798
diff changeset
30 int seek;
3473ca9ef158 new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents: 4798
diff changeset
31 int format;
3473ca9ef158 new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents: 4798
diff changeset
32 int width;
3473ca9ef158 new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents: 4798
diff changeset
33 int height;
3473ca9ef158 new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents: 4798
diff changeset
34 char codecdll[128];
3473ca9ef158 new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents: 4798
diff changeset
35 } guiVideoStruct;
3473ca9ef158 new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents: 4798
diff changeset
36
3473ca9ef158 new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents: 4798
diff changeset
37 #ifdef USE_DVDREAD
3473ca9ef158 new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents: 4798
diff changeset
38 typedef struct
3473ca9ef158 new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents: 4798
diff changeset
39 {
3473ca9ef158 new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents: 4798
diff changeset
40 int titles;
3473ca9ef158 new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents: 4798
diff changeset
41 int chapters;
3473ca9ef158 new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents: 4798
diff changeset
42 int angles;
3473ca9ef158 new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents: 4798
diff changeset
43 int current_chapter;
3473ca9ef158 new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents: 4798
diff changeset
44 int current_title;
3473ca9ef158 new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents: 4798
diff changeset
45 int current_angle;
3473ca9ef158 new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents: 4798
diff changeset
46 int nr_of_audio_channels;
3473ca9ef158 new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents: 4798
diff changeset
47 stream_language_t audio_streams[32];
3473ca9ef158 new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents: 4798
diff changeset
48 int nr_of_subtitles;
3473ca9ef158 new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents: 4798
diff changeset
49 stream_language_t subtitles[32];
3473ca9ef158 new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents: 4798
diff changeset
50 } guiDVDStruct;
3473ca9ef158 new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents: 4798
diff changeset
51 #endif
3473ca9ef158 new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents: 4798
diff changeset
52
3473ca9ef158 new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents: 4798
diff changeset
53 typedef struct
3473ca9ef158 new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents: 4798
diff changeset
54 {
3473ca9ef158 new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents: 4798
diff changeset
55 int message;
10611
024b4c37a054 unknow --> unknown as discussed on dev-eng
diego
parents: 9291
diff changeset
56 guiResizeStruct resize;
024b4c37a054 unknow --> unknown as discussed on dev-eng
diego
parents: 9291
diff changeset
57 guiVideoStruct videodata;
024b4c37a054 unknow --> unknown as discussed on dev-eng
diego
parents: 9291
diff changeset
58 guiUnknownErrorStruct error;
7217
7527dc997596 rewrite eq interface and add *.rm to fs
pontscho
parents: 7150
diff changeset
59
7527dc997596 rewrite eq interface and add *.rm to fs
pontscho
parents: 7150
diff changeset
60 void * sh_video;
14254
21e72b6d8d11 Do not use audio plugins anymore
reimar
parents: 10611
diff changeset
61 void * afilter;
8312
ef8c992672f4 - audio track handling in menu (idea from R¸«ädiger Kuhlmann)
pontscho
parents: 8302
diff changeset
62 void * demuxer;
8302
c7fa49f1de0a no exit on fulscreen if you press esc
pontscho
parents: 8284
diff changeset
63 void * event_struct;
6280
cf2c2b92d1a7 add VCD support for GUI
pontscho
parents: 6218
diff changeset
64
7217
7527dc997596 rewrite eq interface and add *.rm to fs
pontscho
parents: 7150
diff changeset
65 int DiskChanged;
8423
c6a1a5b6ba25 - fix three submenu bug
pontscho
parents: 8312
diff changeset
66 int NewPlay;
6280
cf2c2b92d1a7 add VCD support for GUI
pontscho
parents: 6218
diff changeset
67
4818
3473ca9ef158 new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents: 4798
diff changeset
68 #ifdef USE_DVDREAD
3473ca9ef158 new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents: 4798
diff changeset
69 guiDVDStruct DVD;
8423
c6a1a5b6ba25 - fix three submenu bug
pontscho
parents: 8312
diff changeset
70 int Title;
c6a1a5b6ba25 - fix three submenu bug
pontscho
parents: 8312
diff changeset
71 int Angle;
c6a1a5b6ba25 - fix three submenu bug
pontscho
parents: 8312
diff changeset
72 int Chapter;
6280
cf2c2b92d1a7 add VCD support for GUI
pontscho
parents: 6218
diff changeset
73 #endif
cf2c2b92d1a7 add VCD support for GUI
pontscho
parents: 6218
diff changeset
74
cf2c2b92d1a7 add VCD support for GUI
pontscho
parents: 6218
diff changeset
75 #ifdef HAVE_VCD
cf2c2b92d1a7 add VCD support for GUI
pontscho
parents: 6218
diff changeset
76 int VCDTracks;
4818
3473ca9ef158 new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents: 4798
diff changeset
77 #endif
3473ca9ef158 new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents: 4798
diff changeset
78
3473ca9ef158 new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents: 4798
diff changeset
79 int Playing;
3473ca9ef158 new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents: 4798
diff changeset
80 float Position;
3473ca9ef158 new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents: 4798
diff changeset
81
3473ca9ef158 new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents: 4798
diff changeset
82 int MovieWidth;
3473ca9ef158 new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents: 4798
diff changeset
83 int MovieHeight;
7009
98bed9e12087 - add dxr3 gui support (dialogbox, etc.)
pontscho
parents: 6996
diff changeset
84 int NoWindow;
4818
3473ca9ef158 new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents: 4798
diff changeset
85
3473ca9ef158 new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents: 4798
diff changeset
86 float Volume;
3473ca9ef158 new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents: 4798
diff changeset
87 float Balance;
3473ca9ef158 new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents: 4798
diff changeset
88
3473ca9ef158 new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents: 4798
diff changeset
89 int Track;
3473ca9ef158 new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents: 4798
diff changeset
90 int AudioType;
3473ca9ef158 new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents: 4798
diff changeset
91 int StreamType;
5789
0132c5747e8a fix audio only files play
pontscho
parents: 5665
diff changeset
92 int AudioOnly;
4818
3473ca9ef158 new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents: 4798
diff changeset
93 int TimeSec;
3473ca9ef158 new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents: 4798
diff changeset
94 int LengthInSec;
3473ca9ef158 new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents: 4798
diff changeset
95 int FrameDrop;
7009
98bed9e12087 - add dxr3 gui support (dialogbox, etc.)
pontscho
parents: 6996
diff changeset
96 int FileFormat;
7150
b212f74e14ec - add play time subtitle change support
pontscho
parents: 7139
diff changeset
97 float FPS;
4818
3473ca9ef158 new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents: 4798
diff changeset
98
3473ca9ef158 new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents: 4798
diff changeset
99 char * Filename;
3473ca9ef158 new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents: 4798
diff changeset
100 int FilenameChanged;
3473ca9ef158 new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents: 4798
diff changeset
101
3473ca9ef158 new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents: 4798
diff changeset
102 char * Subtitlename;
3473ca9ef158 new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents: 4798
diff changeset
103 int SubtitleChanged;
6794
77980ab4e296 - add preferences support (first try)
pontscho
parents: 6755
diff changeset
104
4818
3473ca9ef158 new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents: 4798
diff changeset
105 char * Othername;
3473ca9ef158 new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents: 4798
diff changeset
106 int OtherChanged;
6623
7bc4c6ba9485 add -audiofile support for gui
pontscho
parents: 6619
diff changeset
107
7bc4c6ba9485 add -audiofile support for gui
pontscho
parents: 6619
diff changeset
108 char * AudioFile;
7bc4c6ba9485 add -audiofile support for gui
pontscho
parents: 6619
diff changeset
109 int AudioFileChanged;
4818
3473ca9ef158 new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents: 4798
diff changeset
110
3473ca9ef158 new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents: 4798
diff changeset
111 int SkinChange;
3473ca9ef158 new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents: 4798
diff changeset
112 } guiInterface_t;
3473ca9ef158 new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents: 4798
diff changeset
113
3473ca9ef158 new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents: 4798
diff changeset
114 extern guiInterface_t guiIntfStruct;
3473ca9ef158 new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents: 4798
diff changeset
115
5789
0132c5747e8a fix audio only files play
pontscho
parents: 5665
diff changeset
116 #define guiXEvent 0
0132c5747e8a fix audio only files play
pontscho
parents: 5665
diff changeset
117 #define guiCEvent 1
0132c5747e8a fix audio only files play
pontscho
parents: 5665
diff changeset
118 #define guiIEvent 2
0132c5747e8a fix audio only files play
pontscho
parents: 5665
diff changeset
119 #define guiSetDVD 3
0132c5747e8a fix audio only files play
pontscho
parents: 5665
diff changeset
120 #define guiSetFileName 4
0132c5747e8a fix audio only files play
pontscho
parents: 5665
diff changeset
121 #define guiSetState 5
0132c5747e8a fix audio only files play
pontscho
parents: 5665
diff changeset
122 #define guiSetAudioOnly 6
0132c5747e8a fix audio only files play
pontscho
parents: 5665
diff changeset
123 #define guiReDrawSubWindow 7
0132c5747e8a fix audio only files play
pontscho
parents: 5665
diff changeset
124 #define guiSetShVideo 8
6280
cf2c2b92d1a7 add VCD support for GUI
pontscho
parents: 6218
diff changeset
125 #define guiSetStream 9
6794
77980ab4e296 - add preferences support (first try)
pontscho
parents: 6755
diff changeset
126 #define guiReDraw 10
77980ab4e296 - add preferences support (first try)
pontscho
parents: 6755
diff changeset
127 #define guiSetVolume 11
77980ab4e296 - add preferences support (first try)
pontscho
parents: 6755
diff changeset
128 #define guiSetDefaults 12
6903
c2d4100c964e - fix mixer handling
pontscho
parents: 6794
diff changeset
129 #define guiSetValues 13
7009
98bed9e12087 - add dxr3 gui support (dialogbox, etc.)
pontscho
parents: 6996
diff changeset
130 #define guiSetFileFormat 14
8312
ef8c992672f4 - audio track handling in menu (idea from R¸«ädiger Kuhlmann)
pontscho
parents: 8302
diff changeset
131 #define guiSetDemuxer 15
8423
c6a1a5b6ba25 - fix three submenu bug
pontscho
parents: 8312
diff changeset
132 #define guiSetParameters 16
14254
21e72b6d8d11 Do not use audio plugins anymore
reimar
parents: 10611
diff changeset
133 #define guiSetAfilter 17
4798
c39affa2b376 new interface ? :)
pontscho
parents:
diff changeset
134
4963
13262bd21965 small changes
pontscho
parents: 4852
diff changeset
135 #define guiSetStop 0
13262bd21965 small changes
pontscho
parents: 4852
diff changeset
136 #define guiSetPlay 1
13262bd21965 small changes
pontscho
parents: 4852
diff changeset
137 #define guiSetPause 2
13262bd21965 small changes
pontscho
parents: 4852
diff changeset
138
6280
cf2c2b92d1a7 add VCD support for GUI
pontscho
parents: 6218
diff changeset
139 #define guiDVD 1
cf2c2b92d1a7 add VCD support for GUI
pontscho
parents: 6218
diff changeset
140 #define guiVCD 2
6794
77980ab4e296 - add preferences support (first try)
pontscho
parents: 6755
diff changeset
141 #define guiFilenames 4
6280
cf2c2b92d1a7 add VCD support for GUI
pontscho
parents: 6218
diff changeset
142 #define guiALL 0xffffffff
cf2c2b92d1a7 add VCD support for GUI
pontscho
parents: 6218
diff changeset
143
21370
b806ccbc6398 Remove some of the worst "headers include headers which include
reimar
parents: 19274
diff changeset
144 extern int use_gui;
b806ccbc6398 Remove some of the worst "headers include headers which include
reimar
parents: 19274
diff changeset
145
18889
e60c8c7399d2 get_path as const, patch by Stefan Huehner, stefan AT huehner-org
reynaldo
parents: 17314
diff changeset
146 extern char *get_path(const char *filename);
4979
27980a844961 PlayToPause bug with mouse fixed
pontscho
parents: 4974
diff changeset
147
6218
8cfddba867b4 fix text render chrash ...
pontscho
parents: 5789
diff changeset
148 extern void guiInit( void );
4974
5da7b1522a9f small bug fixed and workarounds :(
pontscho
parents: 4963
diff changeset
149 extern void guiDone( void );
7009
98bed9e12087 - add dxr3 gui support (dialogbox, etc.)
pontscho
parents: 6996
diff changeset
150 extern int guiGetEvent( int type,char * arg );
4798
c39affa2b376 new interface ? :)
pontscho
parents:
diff changeset
151 extern void guiEventHandling( void );
6794
77980ab4e296 - add preferences support (first try)
pontscho
parents: 6755
diff changeset
152 extern void guiLoadFont( void );
7706
90044efe01ee - better dxr3 support
pontscho
parents: 7582
diff changeset
153 extern void guiLoadSubtitle( char * name );
16374
e2e231134056 Remove many annoying GTK includes in every compile line and remove GTK
ods15
parents: 14254
diff changeset
154 extern void guiMessageBox(int level, char * str);
4798
c39affa2b376 new interface ? :)
pontscho
parents:
diff changeset
155
6713
cc917a581b6e add simple playlist support
pontscho
parents: 6627
diff changeset
156 typedef struct _plItem
cc917a581b6e add simple playlist support
pontscho
parents: 6627
diff changeset
157 {
cc917a581b6e add simple playlist support
pontscho
parents: 6627
diff changeset
158 struct _plItem * prev,* next;
cc917a581b6e add simple playlist support
pontscho
parents: 6627
diff changeset
159 int played;
cc917a581b6e add simple playlist support
pontscho
parents: 6627
diff changeset
160 char * path;
cc917a581b6e add simple playlist support
pontscho
parents: 6627
diff changeset
161 char * name;
cc917a581b6e add simple playlist support
pontscho
parents: 6627
diff changeset
162 } plItem;
cc917a581b6e add simple playlist support
pontscho
parents: 6627
diff changeset
163
7092
8e9607c5897e - warning fixes from Dominik Mierzejewski <dominik@rangers.eu.org>
pontscho
parents: 7019
diff changeset
164 typedef struct _urlItem
8e9607c5897e - warning fixes from Dominik Mierzejewski <dominik@rangers.eu.org>
pontscho
parents: 7019
diff changeset
165 {
8e9607c5897e - warning fixes from Dominik Mierzejewski <dominik@rangers.eu.org>
pontscho
parents: 7019
diff changeset
166 struct _urlItem *next;
8e9607c5897e - warning fixes from Dominik Mierzejewski <dominik@rangers.eu.org>
pontscho
parents: 7019
diff changeset
167 char * url;
8e9607c5897e - warning fixes from Dominik Mierzejewski <dominik@rangers.eu.org>
pontscho
parents: 7019
diff changeset
168 } URLItem;
8e9607c5897e - warning fixes from Dominik Mierzejewski <dominik@rangers.eu.org>
pontscho
parents: 7019
diff changeset
169
6713
cc917a581b6e add simple playlist support
pontscho
parents: 6627
diff changeset
170 extern plItem * plList;
cc917a581b6e add simple playlist support
pontscho
parents: 6627
diff changeset
171 extern plItem * plCurrent;
cc917a581b6e add simple playlist support
pontscho
parents: 6627
diff changeset
172 extern plItem * plLastPlayed;
cc917a581b6e add simple playlist support
pontscho
parents: 6627
diff changeset
173
7092
8e9607c5897e - warning fixes from Dominik Mierzejewski <dominik@rangers.eu.org>
pontscho
parents: 7019
diff changeset
174 extern URLItem * URLList;
8e9607c5897e - warning fixes from Dominik Mierzejewski <dominik@rangers.eu.org>
pontscho
parents: 7019
diff changeset
175
9055
4a42c0604ce1 - rewrite sub_fps
pontscho
parents: 8423
diff changeset
176 #define fsPersistant_MaxPath 512
4a42c0604ce1 - rewrite sub_fps
pontscho
parents: 8423
diff changeset
177 #define fsPersistant_MaxPos 5
4a42c0604ce1 - rewrite sub_fps
pontscho
parents: 8423
diff changeset
178 extern char * fsHistory[fsPersistant_MaxPos];
4a42c0604ce1 - rewrite sub_fps
pontscho
parents: 8423
diff changeset
179
8043
e5dda05f9aab cleanup
pontscho
parents: 7706
diff changeset
180 #define gtkSetContrast 0
e5dda05f9aab cleanup
pontscho
parents: 7706
diff changeset
181 #define gtkSetBrightness 1
e5dda05f9aab cleanup
pontscho
parents: 7706
diff changeset
182 #define gtkSetHue 2
e5dda05f9aab cleanup
pontscho
parents: 7706
diff changeset
183 #define gtkSetSaturation 3
e5dda05f9aab cleanup
pontscho
parents: 7706
diff changeset
184 #define gtkSetEqualizer 4
e5dda05f9aab cleanup
pontscho
parents: 7706
diff changeset
185 #define gtkAddPlItem 5
e5dda05f9aab cleanup
pontscho
parents: 7706
diff changeset
186 #define gtkGetNextPlItem 6
e5dda05f9aab cleanup
pontscho
parents: 7706
diff changeset
187 #define gtkGetPrevPlItem 7
e5dda05f9aab cleanup
pontscho
parents: 7706
diff changeset
188 #define gtkGetCurrPlItem 8
e5dda05f9aab cleanup
pontscho
parents: 7706
diff changeset
189 #define gtkDelPl 9
e5dda05f9aab cleanup
pontscho
parents: 7706
diff changeset
190 #define gtkSetExtraStereo 10
e5dda05f9aab cleanup
pontscho
parents: 7706
diff changeset
191 #define gtkSetPanscan 11
e5dda05f9aab cleanup
pontscho
parents: 7706
diff changeset
192 #define gtkSetFontFactor 12
e5dda05f9aab cleanup
pontscho
parents: 7706
diff changeset
193 #define gtkSetAutoq 13
e5dda05f9aab cleanup
pontscho
parents: 7706
diff changeset
194 #define gtkClearStruct 14
e5dda05f9aab cleanup
pontscho
parents: 7706
diff changeset
195 #define gtkAddURLItem 15
e5dda05f9aab cleanup
pontscho
parents: 7706
diff changeset
196 #define gtkSetFontOutLine 16
e5dda05f9aab cleanup
pontscho
parents: 7706
diff changeset
197 #define gtkSetFontBlur 17
e5dda05f9aab cleanup
pontscho
parents: 7706
diff changeset
198 #define gtkSetFontTextScale 18
e5dda05f9aab cleanup
pontscho
parents: 7706
diff changeset
199 #define gtkSetFontOSDScale 19
e5dda05f9aab cleanup
pontscho
parents: 7706
diff changeset
200 #define gtkSetFontEncoding 20
e5dda05f9aab cleanup
pontscho
parents: 7706
diff changeset
201 #define gtkSetFontAutoScale 21
9056
3086611e8213 - add subcp
pontscho
parents: 9055
diff changeset
202 #define gtkSetSubEncoding 22
9291
64b8c5a07c2c - It adds an option enqueue/noenqueue, so users can choose if they want to
arpi
parents: 9056
diff changeset
203 #define gtkDelCurrPlItem 23
64b8c5a07c2c - It adds an option enqueue/noenqueue, so users can choose if they want to
arpi
parents: 9056
diff changeset
204 #define gtkInsertPlItem 24
64b8c5a07c2c - It adds an option enqueue/noenqueue, so users can choose if they want to
arpi
parents: 9056
diff changeset
205 #define gtkSetCurrPlItem 25
6627
fd3ac41ee1a1 add equalizer support and fix some small bug...
pontscho
parents: 6623
diff changeset
206
fd3ac41ee1a1 add equalizer support and fix some small bug...
pontscho
parents: 6623
diff changeset
207 extern float gtkEquChannels[6][10];
fd3ac41ee1a1 add equalizer support and fix some small bug...
pontscho
parents: 6623
diff changeset
208
6713
cc917a581b6e add simple playlist support
pontscho
parents: 6627
diff changeset
209 extern void * gtkSet( int cmd,float param, void * vparam );
6627
fd3ac41ee1a1 add equalizer support and fix some small bug...
pontscho
parents: 6623
diff changeset
210
6996
163f78ece9c2 add uri2filename converter
pontscho
parents: 6903
diff changeset
211 extern char * gconvert_uri_to_filename( char * str );
19081
273bdef43012 Mark several string parameters that are not modified in the function as const.
diego
parents: 18889
diff changeset
212 extern char * gstrdup( const char * str );
273bdef43012 Mark several string parameters that are not modified in the function as const.
diego
parents: 18889
diff changeset
213 extern int gstrcmp( const char * a,const char * b );
6794
77980ab4e296 - add preferences support (first try)
pontscho
parents: 6755
diff changeset
214 extern void gfree( void ** p );
19081
273bdef43012 Mark several string parameters that are not modified in the function as const.
diego
parents: 18889
diff changeset
215 extern void gaddlist( char *** list,const char * entry );
8284
f7d0ac887455 cache (buzeralas)
pontscho
parents: 8043
diff changeset
216 extern char * gstrchr( char * str,int c );
4848
ad868aae2a5c fix playtree bug. but ... i dont' see this ... bazmeg
pontscho
parents: 4818
diff changeset
217
6794
77980ab4e296 - add preferences support (first try)
pontscho
parents: 6755
diff changeset
218 #define guiSetFilename( s,n ) { gfree( (void **)&s ); s=gstrdup( n ); }
4818
3473ca9ef158 new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents: 4798
diff changeset
219
3473ca9ef158 new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents: 4798
diff changeset
220 #define guiSetDF( s,d,n ) \
3473ca9ef158 new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents: 4798
diff changeset
221 { \
6794
77980ab4e296 - add preferences support (first try)
pontscho
parents: 6755
diff changeset
222 gfree( (void **)&s ); \
4818
3473ca9ef158 new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents: 4798
diff changeset
223 s=malloc( strlen( d ) + strlen( n ) + 5 ); \
3473ca9ef158 new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents: 4798
diff changeset
224 sprintf( s,"%s/%s",d,n ); \
3473ca9ef158 new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents: 4798
diff changeset
225 }
3473ca9ef158 new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents: 4798
diff changeset
226
4848
ad868aae2a5c fix playtree bug. but ... i dont' see this ... bazmeg
pontscho
parents: 4818
diff changeset
227 #endif