diff options
Diffstat (limited to 'draw/glui.h')
-rw-r--r-- | draw/glui.h | 9 |
1 files changed, 8 insertions, 1 deletions
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 <termios.h> #include <unistd.h> +#include <SDL2/SDL.h> + //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 |