mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-10 21:41:50 +00:00
Update menu.cpp
This commit is contained in:
parent
bc30fa4f03
commit
889fcde9d3
1 changed files with 0 additions and 13 deletions
|
|
@ -100,19 +100,6 @@ void menus::create_version_label(Engine* engine) {
|
||||||
gui->add(vlabel);
|
gui->add(vlabel);
|
||||||
}
|
}
|
||||||
|
|
||||||
void menus::create_version_label(Engine* engine) {
|
|
||||||
auto gui = engine->getGUI();
|
|
||||||
auto vlabel = std::make_shared<gui::Label>(
|
|
||||||
util::str2wstr_utf8(ENGINE_VERSION_STRING " development build ")
|
|
||||||
);
|
|
||||||
vlabel->setZIndex(1000);
|
|
||||||
vlabel->setColor(glm::vec4(1, 1, 1, 0.5f));
|
|
||||||
vlabel->setPositionFunc([=]() {
|
|
||||||
return glm::vec2(Window::width-vlabel->getSize().x, 2);
|
|
||||||
});
|
|
||||||
gui->add(vlabel);
|
|
||||||
}
|
|
||||||
|
|
||||||
static void show_content_missing(
|
static void show_content_missing(
|
||||||
Engine* engine,
|
Engine* engine,
|
||||||
const Content* content,
|
const Content* content,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue