annotate Gui/mplayer/play.h @ 1801:e16646a140fd

fix skin change
author pontscho
date Fri, 31 Aug 2001 13:05:37 +0000
parents 4dde03edb55e
children 82e77faa7341
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1693
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
1
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
2 #ifndef __GUI_PLAY_H
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
3 #define __GUI_PLAY_H
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
4
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
5 #include "./psignal.h"
1795
4dde03edb55e add mplayer.h
pontscho
parents: 1765
diff changeset
6 #include "./mplayer.h"
1755
ce3123d61380 ws.h/app.h
pontscho
parents: 1743
diff changeset
7 #include "../wm/ws.h"
ce3123d61380 ws.h/app.h
pontscho
parents: 1743
diff changeset
8 #include "../app.h"
1693
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
9
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
10 typedef struct
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
11 {
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
12 int x;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
13 int y;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
14 int width;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
15 int height;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
16 } mplResizeStruct;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
17
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
18 typedef struct
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
19 {
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
20 int signal;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
21 char module[512];
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
22 } mplUnknowErrorStruct;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
23
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
24 typedef struct
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
25 {
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
26 int seek;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
27 int format;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
28 int width;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
29 int height;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
30 char codecdll[128];
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
31 } mplVideoStruct;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
32
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
33 typedef struct
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
34 {
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
35 int message;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
36 mplResizeStruct resize;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
37 mplVideoStruct videodata;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
38 mplUnknowErrorStruct error;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
39
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
40 int Playing;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
41 float Volume;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
42 float Position;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
43 float Balance;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
44 int Track;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
45 int AudioType;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
46 int StreamType;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
47 int TimeSec;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
48 int LengthInSec;
1743
b266f763cad3 fix playing
pontscho
parents: 1693
diff changeset
49 char Filename[4096];
1693
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
50 } mplCommStruct;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
51
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
52 extern mplCommStruct * mplShMem;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
53 extern char * Filename;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
54
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
55 extern int mplParent;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
56
1765
29913c011d50 normal size
pontscho
parents: 1755
diff changeset
57 extern int moviex;
29913c011d50 normal size
pontscho
parents: 1755
diff changeset
58 extern int moviey;
29913c011d50 normal size
pontscho
parents: 1755
diff changeset
59 extern int moviewidth;
29913c011d50 normal size
pontscho
parents: 1755
diff changeset
60 extern int movieheight;
1693
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
61
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
62 extern mplCommStruct * mplShMem;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
63
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
64 extern void mplMPlayerInit( int argc,char* argv[], char *envp[] );
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
65
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
66 extern void mplStop();
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
67 extern void mplFullScreen( void );
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
68 extern void mplPlay( void );
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
69 extern void mplPause( void );
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
70 extern void mplResize( unsigned int X,unsigned int Y,unsigned int width,unsigned int height );
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
71
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
72 extern void mplIncAudioBufDelay( void );
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
73 extern void mplDecAudioBufDelay( void );
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
74
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
75 extern void mplRelSeek( float s );
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
76 extern void mplAbsSeek( float s );
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
77 extern float mplGetPosition( void );
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
78
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
79 extern void mplPlayFork( void );
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
80 extern void mplSigHandler( int s );
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
81 extern void mplSendMessage( int msg );
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
82 extern void mplPlayerThread( void );
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
83
1801
e16646a140fd fix skin change
pontscho
parents: 1795
diff changeset
84 extern void ChangeSkin( void );
e16646a140fd fix skin change
pontscho
parents: 1795
diff changeset
85
e16646a140fd fix skin change
pontscho
parents: 1795
diff changeset
86 #endif