diff options
author | epoch <epoch@hacking.allowed.org> | 2016-12-21 11:58:30 -0600 |
---|---|---|
committer | epoch <epoch@hacking.allowed.org> | 2016-12-21 11:58:30 -0600 |
commit | f7353ec277198b295c6c842a4a4a07b403b2a572 (patch) | |
tree | 76196d53de0ad7de24c1359589c154e44ad16b6a /src/graphics.h | |
parent | 31678be1711af6afeb1ba9a7d02cc44e26ee9520 (diff) | |
download | hackvr-f7353ec277198b295c6c842a4a4a07b403b2a572.tar.gz hackvr-f7353ec277198b295c6c842a4a4a07b403b2a572.zip |
trying to split up hackvr.c into graphical and non-graphical stuff to make it easier to port it to different graphic systems
Diffstat (limited to 'src/graphics.h')
-rw-r--r-- | src/graphics.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/graphics.h b/src/graphics.h new file mode 100644 index 0000000..ff17b9a --- /dev/null +++ b/src/graphics.h @@ -0,0 +1,11 @@ +#ifndef _HACKVR_GRAPHICS_H_ +#define _HACKVR_GRAPHICS_H_ + +#include <X11/Xlib.h> + +int x11_init(); +int x11_event_handler(); +void draw_screen(Display *dpy,Window w,GC gc); +void set_aspect_ratio(); + +#endif |