Mercurial > mplayer.hg
annotate libvo/x11_common.h @ 5845:265acdb8542d
Correct my half reverse commit. Sorry Atmos.
author | albeu |
---|---|
date | Fri, 26 Apr 2002 19:46:36 +0000 |
parents | 104fce2b92b6 |
children | caac20b1ca79 |
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; |
32 | 16 |
922
db06ae8967eb
Centralized and cleaned up X11 connecting, fixed remote X11 playing, -display option for mplayer. SHOULD BE TESTED.
lgb
parents:
723
diff
changeset
|
17 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
|
18 extern Display *mDisplay; |
2455 | 19 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
|
20 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
|
21 extern int mLocalDisplay; |
3830 | 22 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
|
23 |
5651
b8d8d72776f2
fix playlist bug with gui and rewrite mousecursor show/hide code
pontscho
parents:
4993
diff
changeset
|
24 extern int vo_mouse_timer_const; |
b8d8d72776f2
fix playlist bug with gui and rewrite mousecursor show/hide code
pontscho
parents:
4993
diff
changeset
|
25 |
32 | 26 int vo_init( void ); |
384 | 27 int vo_hidecursor ( Display* , Window ); |
5651
b8d8d72776f2
fix playlist bug with gui and rewrite mousecursor show/hide code
pontscho
parents:
4993
diff
changeset
|
28 extern void vo_showcursor( Display *disp, Window win ); |
32 | 29 void vo_x11_decoration( Display * vo_Display,Window w,int d ); |
1137
4c7b219e126c
patch: some X11 compliance fixed: set ClassHint and better fullscreen mode
arpi_esp
parents:
922
diff
changeset
|
30 void vo_x11_classhint( Display * display,Window window,char *name ); |
5835 | 31 void vo_x11_sizehint( int x, int y, int width, int height, int max ); |
32 | 32 int vo_x11_check_events(Display *mydisplay); |
4981 | 33 void vo_x11_fullscreen( void ); |
32 | 34 #endif |
35 | |
4993 | 36 extern Window vo_window; |
37 extern GC vo_gc; | |
38 extern XSizeHints vo_hint; | |
4795 | 39 |
1723
5e4214a7540e
GUI stuff. now seeking works, and xmga renders to video window
arpi
parents:
1137
diff
changeset
|
40 #ifdef HAVE_NEW_GUI |
5e4214a7540e
GUI stuff. now seeking works, and xmga renders to video window
arpi
parents:
1137
diff
changeset
|
41 extern void vo_setwindow( Window w,GC g ); |
1811 | 42 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
|
43 #endif |
5e4214a7540e
GUI stuff. now seeking works, and xmga renders to video window
arpi
parents:
1137
diff
changeset
|
44 #ifdef HAVE_GUI |
5e4214a7540e
GUI stuff. now seeking works, and xmga renders to video window
arpi
parents:
1137
diff
changeset
|
45 extern Display * vo_display; |
723 | 46 #endif |
47 | |
324 | 48 void saver_off( Display * ); |
49 void saver_on( Display * ); | |
3990 | 50 |
51 #ifdef HAVE_XINERAMA | |
52 void vo_x11_xinerama_move(Display *dsp, Window w); | |
53 #endif | |
4425
6144f63cbaa1
common -vm code, patch by Santi Bjar <tiarda@yahoo.es>
arpi
parents:
3990
diff
changeset
|
54 |
6144f63cbaa1
common -vm code, patch by Santi Bjar <tiarda@yahoo.es>
arpi
parents:
3990
diff
changeset
|
55 #ifdef HAVE_XF86VM |
6144f63cbaa1
common -vm code, patch by Santi Bjar <tiarda@yahoo.es>
arpi
parents:
3990
diff
changeset
|
56 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
|
57 void vo_vm_close(Display*); |
6144f63cbaa1
common -vm code, patch by Santi Bjar <tiarda@yahoo.es>
arpi
parents:
3990
diff
changeset
|
58 #endif |
4981 | 59 |
60 #endif |