Monado OpenXR Runtime
Data Structures | Functions
gui_sdl2.h File Reference

Common file for the Monado SDL2 based GUI program. More...

#include "gui/gui_common.h"
#include <SDL2/SDL.h>
Include dependency graph for gui_sdl2.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  sdl2_program
 Common struct holding state for the GUI interface. More...
 

Functions

int gui_sdl2_init (struct sdl2_program *p)
 Init SDL2, create and show a window and bring up any other structs needed. More...
 
void gui_sdl2_imgui_loop (struct sdl2_program *p)
 Loop until user request quit and show Imgui interface. More...
 
void gui_sdl2_loop (struct sdl2_program *p)
 Loop until quit signal has been received. More...
 
void gui_sdl2_quit (struct sdl2_program *p)
 Destroy all SDL things and quit SDL. More...
 

Detailed Description

Common file for the Monado SDL2 based GUI program.

Author
Jakob Bornecrantz jakob.nosp@m.@col.nosp@m.labor.nosp@m.a.co.nosp@m.m