void gui_sdl2_quit(struct sdl2_program *p)
Destroy all SDL things and quit SDL.
Definition: gui_sdl2.c:114
void gui_sdl2_loop(struct sdl2_program *p)
Loop until quit signal has been received.
Definition: gui_sdl2.c:37
Common file for the Monado GUI program.
A gui program.
Definition: gui_common.h:42
Common struct holding state for the GUI interface.
Definition: gui_sdl2.h:33
int gui_sdl2_init(struct sdl2_program *p)
Init SDL2, create and show a window and bring up any other structs needed.
Definition: gui_sdl2.c:56
void gui_sdl2_imgui_loop(struct sdl2_program *p)
Loop until user request quit and show Imgui interface.
Definition: gui_sdl2_imgui.c:47