mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
frontend/gui refactor
This commit is contained in:
parent
8c722b146e
commit
1ba563d42a
13 changed files with 207 additions and 148 deletions
|
|
@ -214,7 +214,7 @@ void Engine::setScreen(std::shared_ptr<Screen> screen) {
|
|||
void Engine::setLanguage(std::string locale) {
|
||||
settings.ui.language = locale;
|
||||
langs::setup(paths->getResources(), locale, contentPacks);
|
||||
menus::create_menus(this, gui->getMenu());
|
||||
menus::create_menus(this);
|
||||
}
|
||||
|
||||
gui::GUI* Engine::getGUI() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue