annotate libvo/x11_common.h @ 6961:201b25a9b939

Initial version of Bulgarian translation, hell i vote for gettext
author iive
date Sun, 11 Aug 2002 00:28:12 +0000
parents ce67cc1f0beb
children ec6dd0a29d93
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4981
bfc652fc7f43 rewrite fullscreen support in some libvo driver
pontscho
parents: 4795
diff changeset
1
bfc652fc7f43 rewrite fullscreen support in some libvo driver
pontscho
parents: 4795
diff changeset
2 #ifndef X11_COMMON_H
bfc652fc7f43 rewrite fullscreen support in some libvo driver
pontscho
parents: 4795
diff changeset
3 #define X11_COMMON_H
32
9e66f722790e the common x11 stuff
arpi_esp
parents:
diff changeset
4
9e66f722790e the common x11 stuff
arpi_esp
parents:
diff changeset
5 #ifdef X11_FULLSCREEN
9e66f722790e the common x11 stuff
arpi_esp
parents:
diff changeset
6
4993
53c569d36b2c small changes in libvo's X11 support
pontscho
parents: 4981
diff changeset
7 #include <X11/Xlib.h>
53c569d36b2c small changes in libvo's X11 support
pontscho
parents: 4981
diff changeset
8 #include <X11/Xutil.h>
53c569d36b2c small changes in libvo's X11 support
pontscho
parents: 4981
diff changeset
9
32
9e66f722790e the common x11 stuff
arpi_esp
parents:
diff changeset
10 extern int vo_depthonscreen;
9e66f722790e the common x11 stuff
arpi_esp
parents:
diff changeset
11 extern int vo_screenwidth;
9e66f722790e the common x11 stuff
arpi_esp
parents:
diff changeset
12 extern int vo_screenheight;
9e66f722790e the common x11 stuff
arpi_esp
parents:
diff changeset
13 extern int vo_dwidth;
9e66f722790e the common x11 stuff
arpi_esp
parents:
diff changeset
14 extern int vo_dheight;
4981
bfc652fc7f43 rewrite fullscreen support in some libvo driver
pontscho
parents: 4795
diff changeset
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
9e66f722790e the common x11 stuff
arpi_esp
parents:
diff changeset
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
712a46dff92d printf-gcc3 patch, x11-commons mRootwin
sven
parents: 1811
diff changeset
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
fc1db33734e7 WinID cleanup, support for Xv
arpi
parents: 2455
diff changeset
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
891cff8aba60 some cleanup, gl/gl2 updated to use vo_window
arpi
parents: 6013
diff changeset
38 extern void vo_x11_uninit();
891cff8aba60 some cleanup, gl/gl2 updated to use vo_window
arpi
parents: 6013
diff changeset
39
32
9e66f722790e the common x11 stuff
arpi_esp
parents:
diff changeset
40 #endif
9e66f722790e the common x11 stuff
arpi_esp
parents:
diff changeset
41
4993
53c569d36b2c small changes in libvo's X11 support
pontscho
parents: 4981
diff changeset
42 extern Window vo_window;
53c569d36b2c small changes in libvo's X11 support
pontscho
parents: 4981
diff changeset
43 extern GC vo_gc;
53c569d36b2c small changes in libvo's X11 support
pontscho
parents: 4981
diff changeset
44 extern XSizeHints vo_hint;
4795
b18e61cb457a small changes
pontscho
parents: 4425
diff changeset
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
0483b88482f5 fix size ?
pontscho
parents: 1746
diff changeset
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
c3e0bdb64027 add gui support
pontscho
parents: 402
diff changeset
50
324
720c640332c8 Szebb es jobb screensaver-kikapcsolo resz
laaz
parents: 32
diff changeset
51 void saver_off( Display * );
720c640332c8 Szebb es jobb screensaver-kikapcsolo resz
laaz
parents: 32
diff changeset
52 void saver_on( Display * );
3990
87538547c8f4 xinerama fix by attila
atmos4
parents: 3830
diff changeset
53
87538547c8f4 xinerama fix by attila
atmos4
parents: 3830
diff changeset
54 #ifdef HAVE_XINERAMA
87538547c8f4 xinerama fix by attila
atmos4
parents: 3830
diff changeset
55 void vo_x11_xinerama_move(Display *dsp, Window w);
87538547c8f4 xinerama fix by attila
atmos4
parents: 3830
diff changeset
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
bfc652fc7f43 rewrite fullscreen support in some libvo driver
pontscho
parents: 4795
diff changeset
62
bfc652fc7f43 rewrite fullscreen support in some libvo driver
pontscho
parents: 4795
diff changeset
63 #endif