From 58bef85206c7cce153400e51b247e2476e9e65a4 Mon Sep 17 00:00:00 2001 From: David Phillips Date: Tue, 12 Jan 2016 20:41:56 +1300 Subject: Initial commit of rough-arse Tetris --- window.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 window.h (limited to 'window.h') diff --git a/window.h b/window.h new file mode 100644 index 0000000..0c97b86 --- /dev/null +++ b/window.h @@ -0,0 +1,20 @@ +#ifndef WINDOW_H +#define WINDOW_H + +#include +#include + +struct window { + SDL_Window *window; + SDL_Renderer *renderer; + SDL_Surface *surface; + unsigned int height; + unsigned int width; + char* title; +}; + +int display_init(struct window *wobj); +void display_stop(struct window *wobj); + + +#endif -- cgit v1.1