mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 02:51:49 +00:00
xml elements context
This commit is contained in:
parent
4b6c61ad89
commit
8b8bc55ff7
6 changed files with 48 additions and 14 deletions
|
|
@ -284,9 +284,7 @@ void create_404_page(Engine* engine) {
|
|||
auto menu = engine->getGUI()->getMenu();
|
||||
|
||||
auto panel = menus::create_page(engine, "404", 400, 0.0f, 8);
|
||||
panel->add(std::make_shared<Label>(
|
||||
langs::get(L"Page does not exists", L"menu"))
|
||||
);
|
||||
panel->add(guiutil::create("<label context='menu'>@Page does not exists</label>"));
|
||||
panel->add(guiutil::backButton(menu));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue