mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-03-22 15:05:03 +01:00
25 lines
272 B
C++
25 lines
272 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();
|
|
|
|
virtual bool render();
|
|
|
|
protected:
|
|
ui_panel &m_parent;
|
|
virtual void render_content() = 0;
|
|
};
|
|
|
|
} // namespace ui
|