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:19
void paintRecursive(OutputSurface &output)
Definition OSDWidget.cc:265
void invalidateRecursive()
Definition OSDWidget.cc:243
A frame buffer where pixels can be written to.
This file implemented 3 utility functions:
Definition Autofire.cc:9