FreeBASIC  0.91.0
fb_gfx_x11.h File Reference
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include <X11/xpm.h>
#include <X11/keysym.h>
#include <X11/cursorfont.h>
#include <X11/extensions/XShm.h>
#include <X11/extensions/Xrandr.h>
#include <X11/extensions/shape.h>
Include dependency graph for fb_gfx_x11.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  X11DRIVER
 

Macros

#define DOUBLE_CLICK_TIME   250
 

Typedefs

typedef struct X11DRIVER X11DRIVER
 

Functions

void fb_hX11WaitUnmapped (Window w)
 
void fb_hXlibInit (void)
 
int fb_hX11Init (char *title, int w, int h, int depth, int refresh_rate, int flags)
 
void fb_hX11Exit (void)
 
void fb_hX11Lock (void)
 
void fb_hX11Unlock (void)
 
void fb_hX11SetPalette (int index, int r, int g, int b)
 
void fb_hX11WaitVSync (void)
 
int fb_hX11GetMouse (int *x, int *y, int *z, int *buttons, int *clip)
 
void fb_hX11SetMouse (int x, int y, int cursor, int clip)
 
void fb_hX11SetWindowTitle (char *title)
 
int fb_hX11SetWindowPos (int x, int y)
 
int * fb_hX11FetchModes (int depth, int *size)
 
int fb_hX11EnterFullscreen (int *h)
 
void fb_hX11LeaveFullscreen (void)
 
void fb_hX11InitWindow (int x, int y)
 
int fb_hX11ScreenInfo (ssize_t *width, ssize_t *height, ssize_t *depth, ssize_t *refresh)
 

Variables

X11DRIVER fb_x11
 
GFXDRIVER fb_gfxDriverX11
 
GFXDRIVER fb_gfxDriverOpenGL
 
char ** fb_program_icon
 

Macro Definition Documentation

#define DOUBLE_CLICK_TIME   250

Definition at line 17 of file fb_gfx_x11.h.

Typedef Documentation

typedef struct X11DRIVER X11DRIVER

Function Documentation

int fb_hX11EnterFullscreen ( int *  h)

Definition at line 302 of file gfx_x11.c.

Here is the caller graph for this function:

void fb_hX11Exit ( void  )

Definition at line 609 of file gfx_x11.c.

Here is the call graph for this function:

Here is the caller graph for this function:

int* fb_hX11FetchModes ( int  depth,
int *  size 
)

Definition at line 795 of file gfx_x11.c.

int fb_hX11GetMouse ( int *  x,
int *  y,
int *  z,
int *  buttons,
int *  clip 
)

Definition at line 687 of file gfx_x11.c.

int fb_hX11Init ( char *  title,
int  w,
int  h,
int  depth,
int  refresh_rate,
int  flags 
)

Definition at line 407 of file gfx_x11.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void fb_hX11InitWindow ( int  x,
int  y 
)

Definition at line 354 of file gfx_x11.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void fb_hX11LeaveFullscreen ( void  )

Definition at line 331 of file gfx_x11.c.

Here is the caller graph for this function:

void fb_hX11Lock ( void  )

Definition at line 656 of file gfx_x11.c.

Here is the caller graph for this function:

int fb_hX11ScreenInfo ( ssize_t *  width,
ssize_t *  height,
ssize_t *  depth,
ssize_t *  refresh 
)

Definition at line 833 of file gfx_x11.c.

void fb_hX11SetMouse ( int  x,
int  y,
int  cursor,
int  clip 
)

Definition at line 714 of file gfx_x11.c.

void fb_hX11SetPalette ( int  index,
int  r,
int  g,
int  b 
)

Definition at line 668 of file gfx_x11.c.

int fb_hX11SetWindowPos ( int  x,
int  y 
)

Definition at line 751 of file gfx_x11.c.

Here is the call graph for this function:

void fb_hX11SetWindowTitle ( char *  title)

Definition at line 746 of file gfx_x11.c.

void fb_hX11Unlock ( void  )

Definition at line 662 of file gfx_x11.c.

Here is the caller graph for this function:

void fb_hX11WaitUnmapped ( Window  w)

Definition at line 194 of file gfx_driver_x11.c.

Here is the caller graph for this function:

void fb_hX11WaitVSync ( void  )

Definition at line 682 of file gfx_x11.c.

void fb_hXlibInit ( void  )

Definition at line 399 of file gfx_x11.c.

Here is the caller graph for this function:

Variable Documentation

GFXDRIVER fb_gfxDriverOpenGL

Definition at line 23 of file gfx_driver_opengl_x11.c.

GFXDRIVER fb_gfxDriverX11

Definition at line 11 of file gfx_driver_x11.c.

char** fb_program_icon

Definition at line 15 of file gfx_x11_icon_stub.c.

X11DRIVER fb_x11

Definition at line 23 of file gfx_x11.c.