20#define U_DEBUG_GUI_WINDOW_TITLE_MAX (256)
50 char window_title[U_DEBUG_GUI_WINDOW_TITLE_MAX];
u_debug_gui_open
Controls if the debug gui window is opened, allowing code to always call create and progmatically or ...
Definition: u_debug_gui.h:34
int u_debug_gui_create(const struct u_debug_gui_create_info *info, struct u_debug_gui **out_debug_gui)
Creates the debug gui, may not create it.
Definition: u_debug_gui.c:20
void u_debug_gui_start(struct u_debug_gui *debug_gui, struct xrt_instance *xinst, struct xrt_system_devices *xsysd)
Starts the debug gui, also passes in some structs that might be needed.
Definition: u_debug_gui.c:26
void u_debug_gui_stop(struct u_debug_gui **debug_gui)
Stops the debug gui, closing the window and freeing resources.
Definition: u_debug_gui.c:32
@ U_DEBUG_GUI_OPEN_AUTO
Opens the window if the environmental variable XRT_DEBUG_GUI is true.
Definition: u_debug_gui.h:36
@ U_DEBUG_GUI_OPEN_NEVER
Never opens the window.
Definition: u_debug_gui.h:40
@ U_DEBUG_GUI_OPEN_ALWAYS
Always (if supported) opens the window.
Definition: u_debug_gui.h:38
Argument to the function u_debug_gui_create.
Definition: u_debug_gui.h:49
This interface acts as a root object for Monado.
Definition: xrt_instance.h:114
A collection of xrt_device, and an interface for identifying the roles they have been assigned.
Definition: xrt_system.h:222
Header holding common defines.