openMSX
OSDGUILayer.hh
Go to the documentation of this file.
1#ifndef OSDGUILAYER_HH
2#define OSDGUILAYER_HH
3
4#include "Layer.hh"
5
6namespace openmsx {
7
8class OSDGUI;
9
10class OSDGUILayer final : public Layer
11{
12public:
13 explicit OSDGUILayer(OSDGUI& gui);
14 ~OSDGUILayer() override;
15
16 [[nodiscard]] OSDGUI& getGUI() { return gui; }
17
18 // Layer
19 void paint(OutputSurface& output) override;
20
21private:
22 OSDGUI& gui;
23};
24
25} // namespace openmsx
26
27#endif
Interface for display layers.
Definition Layer.hh:14
void paint(OutputSurface &output) override
Paint this layer.
~OSDGUILayer() override
A frame buffer where pixels can be written to.
This file implemented 3 utility functions:
Definition Autofire.cc:11