annotate libvo/x11_common.h @ 4560:aa349785b8d3

made vesa support optional at compiletime
author rfelker
date Thu, 07 Feb 2002 02:21:39 +0000
parents 6144f63cbaa1
children b18e61cb457a
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
32
9e66f722790e the common x11 stuff
arpi_esp
parents:
diff changeset
1
9e66f722790e the common x11 stuff
arpi_esp
parents:
diff changeset
2 #ifdef X11_FULLSCREEN
9e66f722790e the common x11 stuff
arpi_esp
parents:
diff changeset
3
9e66f722790e the common x11 stuff
arpi_esp
parents:
diff changeset
4 extern int vo_depthonscreen;
9e66f722790e the common x11 stuff
arpi_esp
parents:
diff changeset
5 extern int vo_screenwidth;
9e66f722790e the common x11 stuff
arpi_esp
parents:
diff changeset
6 extern int vo_screenheight;
9e66f722790e the common x11 stuff
arpi_esp
parents:
diff changeset
7 extern int vo_dwidth;
9e66f722790e the common x11 stuff
arpi_esp
parents:
diff changeset
8 extern int vo_dheight;
9e66f722790e the common x11 stuff
arpi_esp
parents:
diff changeset
9
922
db06ae8967eb Centralized and cleaned up X11 connecting, fixed remote X11 playing, -display option for mplayer. SHOULD BE TESTED.
lgb
parents: 723
diff changeset
10 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
11 extern Display *mDisplay;
2455
712a46dff92d printf-gcc3 patch, x11-commons mRootwin
sven
parents: 1811
diff changeset
12 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
13 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
14 extern int mLocalDisplay;
3830
fc1db33734e7 WinID cleanup, support for Xv
arpi
parents: 2455
diff changeset
15 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
16
32
9e66f722790e the common x11 stuff
arpi_esp
parents:
diff changeset
17 int vo_init( void );
384
b0e4e5744899 Autohide X11 cursor
lgb
parents: 324
diff changeset
18 int vo_hidecursor ( Display* , Window );
32
9e66f722790e the common x11 stuff
arpi_esp
parents:
diff changeset
19 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
20 void vo_x11_classhint( Display * display,Window window,char *name );
32
9e66f722790e the common x11 stuff
arpi_esp
parents:
diff changeset
21 int vo_x11_check_events(Display *mydisplay);
9e66f722790e the common x11 stuff
arpi_esp
parents:
diff changeset
22 #endif
9e66f722790e the common x11 stuff
arpi_esp
parents:
diff changeset
23
1723
5e4214a7540e GUI stuff. now seeking works, and xmga renders to video window
arpi
parents: 1137
diff changeset
24 #ifdef HAVE_NEW_GUI
723
c3e0bdb64027 add gui support
pontscho
parents: 402
diff changeset
25 extern Window vo_window;
c3e0bdb64027 add gui support
pontscho
parents: 402
diff changeset
26 extern GC vo_gc;
1723
5e4214a7540e GUI stuff. now seeking works, and xmga renders to video window
arpi
parents: 1137
diff changeset
27 extern void vo_setwindow( Window w,GC g );
1746
6e7da6f362ab add half gui support
pontscho
parents: 1723
diff changeset
28 extern void vo_setwindowsize( int w,int h );
723
c3e0bdb64027 add gui support
pontscho
parents: 402
diff changeset
29 extern int vo_xeventhandling;
c3e0bdb64027 add gui support
pontscho
parents: 402
diff changeset
30 extern int vo_expose;
c3e0bdb64027 add gui support
pontscho
parents: 402
diff changeset
31 extern int vo_resize;
1811
0483b88482f5 fix size ?
pontscho
parents: 1746
diff changeset
32 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
33 #endif
5e4214a7540e GUI stuff. now seeking works, and xmga renders to video window
arpi
parents: 1137
diff changeset
34 #ifdef HAVE_GUI
5e4214a7540e GUI stuff. now seeking works, and xmga renders to video window
arpi
parents: 1137
diff changeset
35 extern Display * vo_display;
723
c3e0bdb64027 add gui support
pontscho
parents: 402
diff changeset
36 #endif
c3e0bdb64027 add gui support
pontscho
parents: 402
diff changeset
37
324
720c640332c8 Szebb es jobb screensaver-kikapcsolo resz
laaz
parents: 32
diff changeset
38 void saver_off( Display * );
720c640332c8 Szebb es jobb screensaver-kikapcsolo resz
laaz
parents: 32
diff changeset
39 void saver_on( Display * );
3990
87538547c8f4 xinerama fix by attila
atmos4
parents: 3830
diff changeset
40
87538547c8f4 xinerama fix by attila
atmos4
parents: 3830
diff changeset
41 #ifdef HAVE_XINERAMA
87538547c8f4 xinerama fix by attila
atmos4
parents: 3830
diff changeset
42 void vo_x11_xinerama_move(Display *dsp, Window w);
87538547c8f4 xinerama fix by attila
atmos4
parents: 3830
diff changeset
43 #endif
4425
6144f63cbaa1 common -vm code, patch by Santi Bjar <tiarda@yahoo.es>
arpi
parents: 3990
diff changeset
44
6144f63cbaa1 common -vm code, patch by Santi Bjar <tiarda@yahoo.es>
arpi
parents: 3990
diff changeset
45 #ifdef HAVE_XF86VM
6144f63cbaa1 common -vm code, patch by Santi Bjar <tiarda@yahoo.es>
arpi
parents: 3990
diff changeset
46 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
47 void vo_vm_close(Display*);
6144f63cbaa1 common -vm code, patch by Santi Bjar <tiarda@yahoo.es>
arpi
parents: 3990
diff changeset
48 #endif