You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Command::Handler::get().addCommand("setTheme", "Function used to set the theme of the UI (The previous outputs in the command prompt will not get updated color)",
{Command::helpCommand, "Trying calling one of the sub commands"}, {});
Command::Handler::get().findCommand("setTheme")
->addCommand("default", "(Currently does not work, coming soon) Sets the theme back to default",
[](){
tgui::Theme::setDefault(""); //! This does not work due to a tgui issue
})
// Dark theme can be found here: https://github.com/finjosh/TGUI-DarkTheme
.addCommand("dark", "Sets the them to the dark theme",