16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-21 13:39:18 +02:00

vehicle params window, aware system rewrite, sifa

This commit is contained in:
milek7
2019-03-16 01:21:59 +01:00
parent f1c8c8f1cd
commit 3556a2d0e6
24 changed files with 622 additions and 451 deletions

View File

@@ -1,17 +1,13 @@
#include "widgets/popup.h"
ui::popup::popup(ui_panel &panel)
: m_parent(panel)
{
}
ui::popup::popup(ui_panel &panel) : m_parent(panel) {}
ui::popup::~popup()
{
}
ui::popup::~popup() {}
bool ui::popup::render()
{
if (!m_id.size()) {
if (!m_id.size())
{
m_id = "popup:" + std::to_string(id++);
ImGui::OpenPopup(m_id.c_str());
}