GUI optimizations

This commit is contained in:
Yousef Khadadeh 2026-01-07 12:03:59 +03:00
parent 3953fd16f3
commit 10f3ff40de
11 changed files with 120 additions and 121 deletions

View file

@ -108,7 +108,7 @@ class Toolbar {
void options_menu();
void file_picker_gui();
void performance_metrics();
bool color_palette(const std::string& id, Vector4f* color, bool& hoveringOnDropdown);
bool color_palette(const char* id, Vector4f* color, bool& hoveringOnDropdown);
void open_world_file(bool isClient, const std::string& netSource, const std::string& serverLocalID);
void load_default_palette();
void load_default_theme();