Mercurial > mplayer.hg
annotate libvo/x11_common.h @ 5062:90b692d38826
upsz ... 10l :)
author | pontscho |
---|---|
date | Wed, 13 Mar 2002 12:11:21 +0000 |
parents | 53c569d36b2c |
children | b8d8d72776f2 |
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 |
32 | 24 int vo_init( void ); |
384 | 25 int vo_hidecursor ( Display* , Window ); |
32 | 26 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
|
27 void vo_x11_classhint( Display * display,Window window,char *name ); |
4993 | 28 void vo_x11_sizehint( int x, int y, int width, int height ); |
32 | 29 int vo_x11_check_events(Display *mydisplay); |
4981 | 30 void vo_x11_fullscreen( void ); |
32 | 31 #endif |
32 | |
4993 | 33 extern Window vo_window; |
34 extern GC vo_gc; | |
35 extern XSizeHints vo_hint; | |
4795 | 36 |
1723
5e4214a7540e
GUI stuff. now seeking works, and xmga renders to video window
arpi
parents:
1137
diff
changeset
|
37 #ifdef HAVE_NEW_GUI |
5e4214a7540e
GUI stuff. now seeking works, and xmga renders to video window
arpi
parents:
1137
diff
changeset
|
38 extern void vo_setwindow( Window w,GC g ); |
1811 | 39 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
|
40 #endif |
5e4214a7540e
GUI stuff. now seeking works, and xmga renders to video window
arpi
parents:
1137
diff
changeset
|
41 #ifdef HAVE_GUI |
5e4214a7540e
GUI stuff. now seeking works, and xmga renders to video window
arpi
parents:
1137
diff
changeset
|
42 extern Display * vo_display; |
723 | 43 #endif |
44 | |
324 | 45 void saver_off( Display * ); |
46 void saver_on( Display * ); | |
3990 | 47 |
48 #ifdef HAVE_XINERAMA | |
49 void vo_x11_xinerama_move(Display *dsp, Window w); | |
50 #endif | |
4425
6144f63cbaa1
common -vm code, patch by Santi Bjar <tiarda@yahoo.es>
arpi
parents:
3990
diff
changeset
|
51 |
6144f63cbaa1
common -vm code, patch by Santi Bjar <tiarda@yahoo.es>
arpi
parents:
3990
diff
changeset
|
52 #ifdef HAVE_XF86VM |
6144f63cbaa1
common -vm code, patch by Santi Bjar <tiarda@yahoo.es>
arpi
parents:
3990
diff
changeset
|
53 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
|
54 void vo_vm_close(Display*); |
6144f63cbaa1
common -vm code, patch by Santi Bjar <tiarda@yahoo.es>
arpi
parents:
3990
diff
changeset
|
55 #endif |
4981 | 56 |
57 #endif |