Ui improvements

This commit is contained in:
ahsanswr
2026-07-26 17:24:36 +02:00
committed by Guillaume Meunier
parent 4226485c57
commit 2e9f2c8646
21 changed files with 1560 additions and 1026 deletions
+13
View File
@@ -132,6 +132,7 @@ private:
uint32_t height;
std::optional<imgui_context> imgui_ctx;
ImTextureID wivrn_logo = 0; // wordmark logo shown in the top bar, like the lobby
struct gui_toast
{
std::string content;
@@ -141,6 +142,18 @@ private:
static bool is_interactable(stream_tab);
bool is_gui_interactable() const;
// settings sub-page, client-only: the wire stream_tab stays `settings`
enum class settings_page
{
performance,
streaming,
post_processing,
audio,
tracking,
system,
};
settings_page current_settings_page = settings_page::performance;
// Tab currently being displayed
stream_tab gui_status = stream_tab::hidden;
// Tab that we will switch to if button is pressed