The open source OpenXR runtime
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

u/var: Add gui sameline variable

Used to make UI a little bit prettier by default.

Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2619>

authored by

Jakob Bornecrantz and committed by
Marge Bot
3b53000e 3d57174e

+3
+3
src/xrt/auxiliary/util/u_var.h
··· 1 1 // Copyright 2019-2024, Collabora, Ltd. 2 + // Copyright 2024-2025, NVIDIA CORPORATION. 2 3 // SPDX-License-Identifier: BSL-1.0 3 4 /*! 4 5 * @file ··· 254 255 U_VAR_KIND_GUI_HEADER, 255 256 U_VAR_KIND_GUI_HEADER_BEGIN, 256 257 U_VAR_KIND_GUI_HEADER_END, 258 + U_VAR_KIND_GUI_SAMELINE, 257 259 U_VAR_KIND_BUTTON, 258 260 U_VAR_KIND_COMBO, 259 261 U_VAR_KIND_HISTOGRAM_F32, ··· 414 416 ADD_FUNC(gui_header, bool, GUI_HEADER) \ 415 417 ADD_FUNC(gui_header_begin, bool, GUI_HEADER_BEGIN) \ 416 418 ADD_FUNC(gui_header_end, bool, GUI_HEADER_END) \ 419 + ADD_FUNC(gui_sameline, void, GUI_SAMELINE) \ 417 420 ADD_FUNC(button, struct u_var_button, BUTTON) \ 418 421 ADD_FUNC(combo, struct u_var_combo, COMBO) \ 419 422 ADD_FUNC(draggable_f32, struct u_var_draggable_f32, DRAGGABLE_F32) \