diff options
author | FreeArtMan <dos21h@gmail.com> | 2015-10-01 19:54:52 +0100 |
---|---|---|
committer | FreeArtMan <dos21h@gmail.com> | 2015-10-01 19:54:52 +0100 |
commit | 240c02c5d64ee02659d0bcbbc61ef3680cbf8ea2 (patch) | |
tree | d8bc56d6d66b92b03334aec3b64b50403704eb4a /draw/glui.h | |
parent | 588b76e576108a82bcf7abb660def28b4a99ba5a (diff) | |
download | radiola-240c02c5d64ee02659d0bcbbc61ef3680cbf8ea2.tar.gz radiola-240c02c5d64ee02659d0bcbbc61ef3680cbf8ea2.zip |
Added SDL waterfall prototype api
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 |