QuakeForge  0.7.2.210-815cf
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
context_x11.h File Reference
This graph shows which files directly or indirectly include this file:

Macros

#define X11_FOCUS_MASK   (FocusChangeMask | EnterWindowMask)
 
#define X11_INPUT_MASK   (X11_KEY_MASK | X11_MOUSE_MASK | X11_FOCUS_MASK)
 
#define X11_KEY_MASK   (KeyPressMask | KeyReleaseMask)
 
#define X11_MASK   (X11_WINDOW_MASK | X11_FOCUS_MASK | PointerMotionMask)
 
#define X11_MOUSE_MASK
 
#define X11_WINDOW_MASK
 

Functions

qboolean X11_AddEvent (int event, void(*event_handler)(XEvent *))
 
void X11_CloseDisplay (void)
 
void X11_CreateNullCursor (void)
 
void X11_CreateWindow (int, int)
 
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 *)
 
qboolean X11_SetGamma (double)
 
void X11_SetVidMode (int, int)
 

Variables

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

Macro Definition Documentation

#define X11_FOCUS_MASK   (FocusChangeMask | EnterWindowMask)
#define X11_INPUT_MASK   (X11_KEY_MASK | X11_MOUSE_MASK | X11_FOCUS_MASK)
#define X11_KEY_MASK   (KeyPressMask | KeyReleaseMask)
#define X11_MASK   (X11_WINDOW_MASK | X11_FOCUS_MASK | PointerMotionMask)
#define X11_MOUSE_MASK
Value:
(ButtonPressMask | ButtonReleaseMask \
| PointerMotionMask)
#define X11_WINDOW_MASK
Value:
(VisibilityChangeMask | StructureNotifyMask \
| ExposureMask)

Function Documentation

qboolean X11_AddEvent ( int  event,
void(*)(XEvent *)  event_handler 
)
void X11_CloseDisplay ( void  )
void X11_CreateNullCursor ( void  )
void X11_CreateWindow ( int  ,
int   
)
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 *  )
qboolean X11_SetGamma ( double  )
void X11_SetVidMode ( int  ,
int   
)

Variable Documentation

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