From 240c02c5d64ee02659d0bcbbc61ef3680cbf8ea2 Mon Sep 17 00:00:00 2001 From: FreeArtMan Date: Thu, 1 Oct 2015 19:54:52 +0100 Subject: Added SDL waterfall prototype api --- draw/glui.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'draw/glui.h') diff --git a/draw/glui.h b/draw/glui.h index d55f931..f9f9bdf 100644 --- a/draw/glui.h +++ b/draw/glui.h @@ -8,6 +8,8 @@ #include #include +#include + //to draw waterfall typedef struct glui_waterfall_t { @@ -19,6 +21,9 @@ typedef struct glui_waterfall_t typedef struct glui_t { + SDL_Window *win; + SDL_Renderer *rend; + glui_waterfall_t *wf; } glui_t; @@ -37,4 +42,6 @@ int glui_waterfall_data( glui_t *w, int len, uint8_t *buf ); //return color uint8_t glui_waterfall_color( uint8_t d ); //close terminal ui -int glui_close( glui_t *t ); \ No newline at end of file +int glui_close( glui_t *t ); + +#endif \ No newline at end of file -- cgit v1.2.3