openMSX
OSDGUILayer.cc
Go to the documentation of this file.
1#include "OSDGUILayer.hh"
2#include "OSDGUI.hh"
3#include "OSDTopWidget.hh"
4
5namespace openmsx {
6
8 : Layer(COVER_PARTIAL, Z_OSDGUI)
9 , gui(gui_)
10{
11}
12
17
19{
20 auto& top = getGUI().getTopWidget();
21 top.paintRecursive(output);
22 top.showAllErrors();
23}
24
25} // namespace openmsx
Interface for display layers.
Definition Layer.hh:12
void paint(OutputSurface &output) override
Paint this layer.
OSDGUILayer(OSDGUI &gui)
Definition OSDGUILayer.cc:7
~OSDGUILayer() override
const OSDTopWidget & getTopWidget() const
Definition OSDGUI.hh:20
void paintRecursive(OutputSurface &output)
Definition OSDWidget.cc:269
void invalidateRecursive()
Definition OSDWidget.cc:247
A frame buffer where pixels can be written to.
This file implemented 3 utility functions:
Definition Autofire.cc:11