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
+18
View File
@@ -540,6 +540,24 @@ void scenes::stream::on_focused()
std::move(vps),
image_cache);
// match the lobby's seasonal wordmark logo
{
auto t = std::chrono::system_clock::to_time_t(std::chrono::system_clock::now());
auto tm = std::localtime(&t);
switch (tm->tm_mon)
{
case 5:
wivrn_logo = imgui_ctx->load_texture("assets://wivrn-pride.ktx2");
break;
case 11:
wivrn_logo = imgui_ctx->load_texture("assets://wivrn-christmas.ktx2");
break;
default:
wivrn_logo = imgui_ctx->load_texture("assets://wivrn.ktx2");
break;
}
}
if (application::get_config().enable_stream_gui)
{
plots_toggle_1 = get_action("plots_toggle_1").first;