Update menu.cpp

This commit is contained in:
Onran 2024-02-22 22:25:35 +09:00 committed by GitHub
parent bc30fa4f03
commit 889fcde9d3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -100,19 +100,6 @@ void menus::create_version_label(Engine* engine) {
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(
Engine* engine,
const Content* content,