mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-22 10:29:19 +02:00
semaphores controllable on minimap
This commit is contained in:
22
widgets/popup.h
Normal file
22
widgets/popup.h
Normal file
@@ -0,0 +1,22 @@
|
||||
#pragma once
|
||||
|
||||
class ui_panel;
|
||||
|
||||
namespace ui {
|
||||
|
||||
class popup {
|
||||
std::string m_id;
|
||||
static int id;
|
||||
|
||||
public:
|
||||
popup(ui_panel &panel);
|
||||
~popup();
|
||||
|
||||
bool render();
|
||||
|
||||
protected:
|
||||
ui_panel &m_parent;
|
||||
virtual void render_content() = 0;
|
||||
};
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user