Add a screen to download gltf models

This commit is contained in:
Guillaume Meunier
2025-10-25 10:30:29 +02:00
parent 33a5bf7494
commit cb1d0d7c2c
28 changed files with 1698 additions and 399 deletions
+15
View File
@@ -243,5 +243,20 @@ public:
};
void ScrollWhenDragging();
void CenterTextH(const std::string & text);
void CenterTextHV(const std::string & text);
void InputText(const char * label, std::string & text, const ImVec2 & size, ImGuiInputTextFlags flags);
bool RadioButtonWithoutCheckBox(const std::string & label, bool active, ImVec2 size_arg);
template <typename T, typename U>
static bool RadioButtonWithoutCheckBox(const std::string & label, T & v, U v_button, ImVec2 size_arg)
{
const bool pressed = RadioButtonWithoutCheckBox(label, v == v_button, size_arg);
if (pressed)
v = v_button;
return pressed;
}