17
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-10-18 17:19:18 +02:00
Files
maszyna/widgets/popup.h
jerrrrycho 1cc9890197 refactor(sonar): mark converting constructors explicit (cpp:S1709)
sound_source and the gl::object conversion operators stay implicit; they
are relied upon by copy-list-initialisation and GL calls.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 16:55:10 +02:00

25 lines
281 B
C++

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