x11.h File Reference

Back to the index.

Classes | Macros | Functions
x11.h File Reference
#include "misc.h"
#include <X11/Xlib.h>

Go to the source code of this file.

Classes

struct  fb_window
 

Macros

#define N_GRAYCOLORS   16
 
#define CURSOR_COLOR_TRANSPARENT   -1
 
#define CURSOR_COLOR_INVERT   -2
 
#define CURSOR_MAXY   64
 
#define CURSOR_MAXX   64
 

Functions

void x11_redraw_cursor (struct machine *, int)
 
void x11_redraw (struct machine *, int)
 
void x11_putpixel_fb (struct machine *, int, int x, int y, int color)
 
void x11_putimage_fb (struct machine *, int)
 
void x11_init (struct machine *)
 
void x11_fb_resize (struct fb_window *win, int new_xsize, int new_ysize)
 
void x11_set_standard_properties (struct fb_window *fb_window, char *name)
 
struct fb_windowx11_fb_init (int xsize, int ysize, char *name, int scaledown, struct machine *)
 
void x11_check_event (struct emul *emul)
 

Macro Definition Documentation

◆ CURSOR_COLOR_INVERT

#define CURSOR_COLOR_INVERT   -2

Definition at line 46 of file x11.h.

Referenced by x11_check_event().

◆ CURSOR_COLOR_TRANSPARENT

#define CURSOR_COLOR_TRANSPARENT   -1

Definition at line 45 of file x11.h.

Referenced by x11_check_event().

◆ CURSOR_MAXX

#define CURSOR_MAXX   64

Definition at line 48 of file x11.h.

◆ CURSOR_MAXY

#define CURSOR_MAXY   64

Definition at line 47 of file x11.h.

◆ N_GRAYCOLORS

#define N_GRAYCOLORS   16

Definition at line 44 of file x11.h.

Referenced by x11_check_event().

Function Documentation

◆ x11_check_event()

void x11_check_event ( struct emul emul)

◆ x11_fb_init()

struct fb_window* x11_fb_init ( int  xsize,
int  ysize,
char *  name,
int  scaledown,
struct machine  
)

Definition at line 50 of file x11.cc.

Referenced by x11_check_event().

◆ x11_fb_resize()

void x11_fb_resize ( struct fb_window win,
int  new_xsize,
int  new_ysize 
)

Referenced by x11_check_event().

◆ x11_init()

void x11_init ( struct machine )

Definition at line 49 of file x11.cc.

Referenced by emul_machine_setup(), and x11_check_event().

◆ x11_putimage_fb()

void x11_putimage_fb ( struct machine ,
int   
)

Referenced by x11_check_event().

◆ x11_putpixel_fb()

void x11_putpixel_fb ( struct machine ,
int  ,
int  x,
int  y,
int  color 
)

Definition at line 48 of file x11.cc.

Referenced by x11_check_event().

◆ x11_redraw()

void x11_redraw ( struct machine ,
int   
)

Definition at line 47 of file x11.cc.

Referenced by x11_check_event().

◆ x11_redraw_cursor()

void x11_redraw_cursor ( struct machine ,
int   
)

Definition at line 46 of file x11.cc.

Referenced by DEVICE_TICK(), and x11_check_event().

◆ x11_set_standard_properties()

void x11_set_standard_properties ( struct fb_window fb_window,
char *  name 
)

Referenced by x11_check_event().


Generated on Sun Sep 30 2018 16:05:18 for GXemul by doxygen 1.8.13