openMSX
|
#include <OSDGUILayer.hh>
Public Member Functions | |
OSDGUILayer (OSDGUI &gui) | |
~OSDGUILayer () override | |
OSDGUI & | getGUI () |
void | paint (OutputSurface &output) override |
Paint this layer. More... | |
![]() | |
virtual | ~Layer ()=default |
virtual void | paint (OutputSurface &output)=0 |
Paint this layer. More... | |
ZIndex | getZ () const |
Query the Z-index of this layer. More... | |
bool | isActive () const |
Coverage | getCoverage () const |
Query the coverage of this layer. More... | |
void | setDisplay (LayerListener &display_) |
Store pointer to Display. More... | |
Additional Inherited Members | |
![]() | |
enum | ZIndex { Z_DUMMY = -1 , Z_BACKGROUND = 0 , Z_MSX_PASSIVE = 30 , Z_MSX_ACTIVE = 40 , Z_IMGUI = 45 , Z_OSDGUI = 50 } |
Determines stacking order of layers: layers with higher Z-indices are closer to the viewer. More... | |
enum | Coverage { COVER_FULL , COVER_PARTIAL , COVER_NONE } |
Describes how much of the screen is currently covered by a particular layer. More... | |
![]() | |
Layer (Coverage coverage_=COVER_NONE, ZIndex z_=Z_DUMMY) | |
Construct a layer. More... | |
void | setCoverage (Coverage coverage_) |
Changes the current coverage of this layer. More... | |
void | setZ (ZIndex z) |
Changes the current Z-index of this layer. More... | |
Definition at line 10 of file OSDGUILayer.hh.
|
explicit |
Definition at line 7 of file OSDGUILayer.cc.
|
override |
Definition at line 13 of file OSDGUILayer.cc.
References getGUI(), openmsx::OSDGUI::getTopWidget(), and openmsx::OSDWidget::invalidateRecursive().
|
inline |
Definition at line 16 of file OSDGUILayer.hh.
Referenced by paint(), and ~OSDGUILayer().
|
overridevirtual |
Paint this layer.
Implements openmsx::Layer.
Definition at line 18 of file OSDGUILayer.cc.
References getGUI(), openmsx::OSDGUI::getTopWidget(), and openmsx::OSDWidget::paintRecursive().