-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathX11.h
23 lines (19 loc) · 938 Bytes
/
X11.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef CXINE_X11_H
#define CXINE_X11_H
#include "common.h"
void X11SetTextProperty(void *p_Win, const char *Name, const char *Str);
void X11SetWindowState(void *p_Win, const char *StateStr);
void *X11Init(const char *parent, int xpos, int ypos, int width, int height);
int X11GetFileDescriptor(void *p_Win);
xine_video_port_t *X11BindCXineOutput(TConfig *Config);
void X11ActivateCXineOutput(void *p_Win, xine_video_port_t *vo_port);
int X11NextEvent(void *p_Win, xine_video_port_t *vo_port, TEvent *Event);
void X11Disassociate(void *p_Win);
void X11Close(void *Win);
void X11WindowSetTitle(void *p_Win, const char *MainTitle, const char *IconTitle);
void X11WindowDimensions(void *p_Win, int *width, int *height);
void X11Fit(void *p_Win, int *x, int *y, int *wid, int *high);
int X11GrabKey(void *p_Win, const char *keystr);
int X11UnGrabKey(void *p_Win, const char *keystr);
void X11ScreenSaver(void *p_Win, int OnOrOff);
#endif