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