QuakeForge  0.7.2.210-815cf
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
context_x11.c File Reference

Macros

#define _NET_WM_STATE_ADD   1
 
#define _NET_WM_STATE_REMOVE   0
 
#define _NET_WM_STATE_TOGGLE   2
 

Functions

qboolean X11_AddEvent (int event, void(*event_handler)(XEvent *))
 
void X11_CloseDisplay (void)
 
void X11_CreateNullCursor (void)
 
void X11_CreateWindow (int width, int height)
 
void X11_ForceViewPort (void)
 
void X11_Init_Cvars (void)
 
void X11_OpenDisplay (void)
 
void X11_ProcessEvent (void)
 
void X11_ProcessEvents (void)
 
qboolean X11_RemoveEvent (int event, void(*event_handler)(XEvent *))
 
void X11_RemoveMouseAcceleration (void)
 
void X11_RestoreGamma (void)
 
void X11_RestoreMouseAcceleration (void)
 
void X11_RestoreVidMode (void)
 
void X11_SaveMouseAcceleration (void)
 
void X11_SetCaption (const char *text)
 
qboolean X11_SetGamma (double gamma)
 
void X11_SetVidMode (int width, int height)
 

Variables

qboolean oktodraw = false
 
Colormap x_cmap
 
Display * x_disp = NULL
 
qboolean x_have_focus = false
 
Time x_mouse_time
 
Window x_root = None
 
int x_screen
 
int x_shmeventtype
 
Time x_time
 
Visual * x_vis
 
XVisualInfo * x_visinfo
 
Window x_win
 

Macro Definition Documentation

#define _NET_WM_STATE_ADD   1
#define _NET_WM_STATE_REMOVE   0
#define _NET_WM_STATE_TOGGLE   2

Function Documentation

qboolean X11_AddEvent ( int  event,
void(*)(XEvent *)  event_handler 
)
void X11_CloseDisplay ( void  )
void X11_CreateNullCursor ( void  )
void X11_CreateWindow ( int  width,
int  height 
)
void X11_ForceViewPort ( void  )
void X11_Init_Cvars ( void  )
void X11_OpenDisplay ( void  )
void X11_ProcessEvent ( void  )
inline
void X11_ProcessEvents ( void  )
qboolean X11_RemoveEvent ( int  event,
void(*)(XEvent *)  event_handler 
)
void X11_RemoveMouseAcceleration ( void  )
void X11_RestoreGamma ( void  )
void X11_RestoreMouseAcceleration ( void  )
void X11_RestoreVidMode ( void  )
void X11_SaveMouseAcceleration ( void  )
void X11_SetCaption ( const char *  text)
qboolean X11_SetGamma ( double  gamma)
void X11_SetVidMode ( int  width,
int  height 
)

Variable Documentation

qboolean oktodraw = false
Colormap x_cmap
Display* x_disp = NULL
qboolean x_have_focus = false
Time x_mouse_time
Window x_root = None
int x_screen
int x_shmeventtype
Time x_time
Visual* x_vis
XVisualInfo* x_visinfo
Window x_win