16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-18 00:49:19 +02:00
Files
maszyna/widgets/popup.h
2019-04-15 13:10:40 +02:00

25 lines
261 B
C++

#pragma once
class ui_panel;
namespace ui
{
class popup
{
std::string m_id;
static int id;
public:
popup(ui_panel &panel);
virtual ~popup();
bool render();
protected:
ui_panel &m_parent;
virtual void render_content() = 0;
};
} // namespace ui