Mercurial > mplayer.hg
annotate libvo/x11_common.h @ 6994:c7d6b72b6fc0
messages moved from vf.c and vd.c
author | jaf |
---|---|
date | Tue, 13 Aug 2002 23:32:05 +0000 |
parents | ce67cc1f0beb |
children | ec6dd0a29d93 |
rev | line source |
---|---|
4981 | 1 |
2 #ifndef X11_COMMON_H | |
3 #define X11_COMMON_H | |
32 | 4 |
5 #ifdef X11_FULLSCREEN | |
6 | |
4993 | 7 #include <X11/Xlib.h> |
8 #include <X11/Xutil.h> | |
9 | |
32 | 10 extern int vo_depthonscreen; |
11 extern int vo_screenwidth; | |
12 extern int vo_screenheight; | |
13 extern int vo_dwidth; | |
14 extern int vo_dheight; | |
4981 | 15 extern int vo_fs; |
5997
b5fb9a927bf3
add WM detection, and wm specific fullscreen code. (???)
pontscho
parents:
5955
diff
changeset
|
16 extern int vo_wm_type; |
32 | 17 |
922
db06ae8967eb
Centralized and cleaned up X11 connecting, fixed remote X11 playing, -display option for mplayer. SHOULD BE TESTED.
lgb
parents:
723
diff
changeset
|
18 extern char *mDisplayName; |
db06ae8967eb
Centralized and cleaned up X11 connecting, fixed remote X11 playing, -display option for mplayer. SHOULD BE TESTED.
lgb
parents:
723
diff
changeset
|
19 extern Display *mDisplay; |
2455 | 20 extern Window mRootWin; |
922
db06ae8967eb
Centralized and cleaned up X11 connecting, fixed remote X11 playing, -display option for mplayer. SHOULD BE TESTED.
lgb
parents:
723
diff
changeset
|
21 extern int mScreen; |
db06ae8967eb
Centralized and cleaned up X11 connecting, fixed remote X11 playing, -display option for mplayer. SHOULD BE TESTED.
lgb
parents:
723
diff
changeset
|
22 extern int mLocalDisplay; |
3830 | 23 extern int WinID; |
922
db06ae8967eb
Centralized and cleaned up X11 connecting, fixed remote X11 playing, -display option for mplayer. SHOULD BE TESTED.
lgb
parents:
723
diff
changeset
|
24 |
5651
b8d8d72776f2
fix playlist bug with gui and rewrite mousecursor show/hide code
pontscho
parents:
4993
diff
changeset
|
25 extern int vo_mouse_timer_const; |
5955
caac20b1ca79
fix xmga fs, resize to movie size and mouse auto hide + dga
pontscho
parents:
5835
diff
changeset
|
26 extern int vo_mouse_autohide; |
5651
b8d8d72776f2
fix playlist bug with gui and rewrite mousecursor show/hide code
pontscho
parents:
4993
diff
changeset
|
27 |
6013
7f6e02a16ac4
some bugfix, x[11|mga|v] ( fullscreen with more files )
pontscho
parents:
5998
diff
changeset
|
28 extern int vo_init( void ); |
7f6e02a16ac4
some bugfix, x[11|mga|v] ( fullscreen with more files )
pontscho
parents:
5998
diff
changeset
|
29 extern void vo_uninit( void ); |
6406
9bbbcd3a6762
Aii 10l forgot to commit with my last x11_common.c commit
atmos4
parents:
6095
diff
changeset
|
30 extern void vo_hidecursor ( Display* , Window ); |
5651
b8d8d72776f2
fix playlist bug with gui and rewrite mousecursor show/hide code
pontscho
parents:
4993
diff
changeset
|
31 extern void vo_showcursor( Display *disp, Window win ); |
6013
7f6e02a16ac4
some bugfix, x[11|mga|v] ( fullscreen with more files )
pontscho
parents:
5998
diff
changeset
|
32 extern void vo_x11_decoration( Display * vo_Display,Window w,int d ); |
7f6e02a16ac4
some bugfix, x[11|mga|v] ( fullscreen with more files )
pontscho
parents:
5998
diff
changeset
|
33 extern void vo_x11_classhint( Display * display,Window window,char *name ); |
7f6e02a16ac4
some bugfix, x[11|mga|v] ( fullscreen with more files )
pontscho
parents:
5998
diff
changeset
|
34 extern void vo_x11_sizehint( int x, int y, int width, int height, int max ); |
7f6e02a16ac4
some bugfix, x[11|mga|v] ( fullscreen with more files )
pontscho
parents:
5998
diff
changeset
|
35 extern int vo_x11_check_events(Display *mydisplay); |
6953
ce67cc1f0beb
ignore BadAccess error at XSelectInput() (grabbing mouse etc) with warning
arpi
parents:
6406
diff
changeset
|
36 extern void vo_x11_selectinput_witherr(Display *display, Window w, long event_mask); |
6013
7f6e02a16ac4
some bugfix, x[11|mga|v] ( fullscreen with more files )
pontscho
parents:
5998
diff
changeset
|
37 extern void vo_x11_fullscreen( void ); |
6095 | 38 extern void vo_x11_uninit(); |
39 | |
32 | 40 #endif |
41 | |
4993 | 42 extern Window vo_window; |
43 extern GC vo_gc; | |
44 extern XSizeHints vo_hint; | |
4795 | 45 |
1723
5e4214a7540e
GUI stuff. now seeking works, and xmga renders to video window
arpi
parents:
1137
diff
changeset
|
46 #ifdef HAVE_NEW_GUI |
5e4214a7540e
GUI stuff. now seeking works, and xmga renders to video window
arpi
parents:
1137
diff
changeset
|
47 extern void vo_setwindow( Window w,GC g ); |
1811 | 48 extern void vo_x11_putkey(int key); |
1723
5e4214a7540e
GUI stuff. now seeking works, and xmga renders to video window
arpi
parents:
1137
diff
changeset
|
49 #endif |
723 | 50 |
324 | 51 void saver_off( Display * ); |
52 void saver_on( Display * ); | |
3990 | 53 |
54 #ifdef HAVE_XINERAMA | |
55 void vo_x11_xinerama_move(Display *dsp, Window w); | |
56 #endif | |
4425
6144f63cbaa1
common -vm code, patch by Santi Bjar <tiarda@yahoo.es>
arpi
parents:
3990
diff
changeset
|
57 |
6144f63cbaa1
common -vm code, patch by Santi Bjar <tiarda@yahoo.es>
arpi
parents:
3990
diff
changeset
|
58 #ifdef HAVE_XF86VM |
6144f63cbaa1
common -vm code, patch by Santi Bjar <tiarda@yahoo.es>
arpi
parents:
3990
diff
changeset
|
59 void vo_vm_switch(uint32_t, uint32_t, int*, int*); |
6144f63cbaa1
common -vm code, patch by Santi Bjar <tiarda@yahoo.es>
arpi
parents:
3990
diff
changeset
|
60 void vo_vm_close(Display*); |
6144f63cbaa1
common -vm code, patch by Santi Bjar <tiarda@yahoo.es>
arpi
parents:
3990
diff
changeset
|
61 #endif |
4981 | 62 |
63 #endif |