Monado OpenXR Runtime
u_var_button Struct Reference

Simple pushable button. More...

#include <util/u_var.h>

Collaboration diagram for u_var_button:

Data Fields

u_var_button_cb cb
 Callback function to execute on button press. More...
 
void * ptr
 Pointer that will be passed to the function as its only argument. More...
 
char label [64]
 Button text, use var name if zeroed. More...
 
float width
 Button dimensions, zero for auto size. More...
 
float height
 
bool disabled
 Whether this button is disabled. More...
 

Detailed Description

Simple pushable button.

Field Documentation

◆ cb

u_var_button_cb u_var_button::cb

Callback function to execute on button press.

Referenced by euroc_recorder_add_ui().

◆ disabled

bool u_var_button::disabled

Whether this button is disabled.

◆ label

char u_var_button::label[64]

Button text, use var name if zeroed.

◆ ptr

void* u_var_button::ptr

Pointer that will be passed to the function as its only argument.

◆ width

float u_var_button::width

Button dimensions, zero for auto size.


The documentation for this struct was generated from the following file: