ServiceMenu: el aspecte es defineix en param.h

This commit is contained in:
2025-06-26 13:50:17 +02:00
parent 231bd05f5e
commit 5e3c7eb721
10 changed files with 117 additions and 95 deletions

View File

@@ -6,6 +6,7 @@
#include "section.h"
#include "screen.h"
#include "asset.h"
#include "param.h"
// Singleton
ServiceMenu *ServiceMenu::instance_ = nullptr;
@@ -22,7 +23,7 @@ ServiceMenu::ServiceMenu()
auto title_text = Resource::get()->getText("04b_25_flat_2x");
renderer_ = std::make_unique<MenuRenderer>(this, element_text, title_text);
restart_message_ui_ = std::make_unique<UIMessage>(element_text, Lang::getText("[SERVICE_MENU] NEED_RESTART_MESSAGE"), SERV_MENU_TITLE_COLOR);
restart_message_ui_ = std::make_unique<UIMessage>(element_text, Lang::getText("[SERVICE_MENU] NEED_RESTART_MESSAGE"), param.service_menu.title_color);
reset();
}