OXYGENHUB
◆ main openmsx / src / imgui / ImGuiPluggable.hh
504 B · C++ · last changed chore(): initial commit 1 month ago source blame history raw
1
#ifndef IMGUI_PLUGGABLE_HH
2
#define IMGUI_PLUGGABLE_HH
3
4
namespace openmsx {
5
6
// Optional interface for pluggables that want to render extra inline
7
// widgets in the connector GUI. Called from ImGuiConnector::showPluggables
8
// (COMBO/SUBMENU modes) right after the pluggable selector, e.g. to show
9
// additional items or settings controls next to it.
10
class ImGuiPluggable
11
{
12
public:
13
	virtual void handleImGuiExtraMenuItems() = 0;
14
15
protected:
16
	~ImGuiPluggable() = default;
17
};
18
19
} // namespace openmsx
20
21
#endif