Add clouds and logo to launcher. (#81)

* Add clouds and logo to launcher.

Co-Authored-By: LJSTAR <31629427+ljstarbird@users.noreply.github.com>

* Update RecompFrontend to fix lunasvg.

* Fix timing issue for launcher code.

---------

Co-authored-by: LJSTAR <31629427+ljstarbird@users.noreply.github.com>
This commit is contained in:
Darío
2026-01-16 22:29:35 -03:00
committed by GitHub
parent 819548a9c7
commit af8163cf87
10 changed files with 390 additions and 32 deletions
+1 -9
View File
@@ -601,15 +601,7 @@ void on_launcher_init(recompui::LauncherMenu *menu) {
menu->remove_default_title();
recompui::ContextId context = recompui::get_current_context();
recompui::Label* title_label = context.create_element<recompui::Label>(menu, "Banjo: Recompiled", recompui::theme::Typography::Header1);
title_label->set_position(recompui::Position::Absolute);
title_label->set_top(banjo::launcher_options_title_offset);
title_label->set_right(50.0f, recompui::Unit::Percent);
title_label->set_translate_2D(50.0f, 0.0f, recompui::Unit::Percent);
title_label->set_color(recompui::theme::color::White);
banjo::launcher_animation_setup(menu, title_label);
banjo::launcher_animation_setup(menu);
}
#define REGISTER_FUNC(name) recomp::overlays::register_base_export(#name, name)