Mercurial > mplayer.hg
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 |
rev | line source |
---|---|
32 | 1 |
2 #ifdef X11_FULLSCREEN | |
3 | |
4 extern int vo_depthonscreen; | |
5 extern int vo_screenwidth; | |
6 extern int vo_screenheight; | |
7 extern int vo_dwidth; | |
8 extern int vo_dheight; | |
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 | 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 | 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 | 17 int vo_init( void ); |
384 | 18 int vo_hidecursor ( Display* , Window ); |
32 | 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 | 21 int vo_x11_check_events(Display *mydisplay); |
22 #endif | |
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 | 25 extern Window vo_window; |
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 | 28 extern void vo_setwindowsize( int w,int h ); |
723 | 29 extern int vo_xeventhandling; |
30 extern int vo_expose; | |
31 extern int vo_resize; | |
1811 | 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 | 36 #endif |
37 | |
324 | 38 void saver_off( Display * ); |
39 void saver_on( Display * ); | |
3990 | 40 |
41 #ifdef HAVE_XINERAMA | |
42 void vo_x11_xinerama_move(Display *dsp, Window w); | |
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 |