blob: b5c3119a75790d17775df32702438226ca47786b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
#ifndef _HACKVR_GRAPHICS_X11_H_
#define _HACKVR_GRAPHICS_X11_H_
#include <X11/Xlib.h>
#define HV_GRAPHICS_X11_EVENT_MASK StructureNotifyMask|ExposureMask
struct x11_global {//stores global variables for the x11 *specific* shit.
XColor colors[256];
XColor ansi_color[16];
XColor green;
XColor red;
XColor blue;
XColor redblue[2];
Colormap color_map;
Display *dpy;
int fd;
Window w;
Pixmap backbuffer;
Pixmap cleanbackbuffer;
GC gc;
GC backgc;
char snow;
cs_t rootmouse;
int root_window;
};
#endif
|