Public Member Functions | List of all members
openmsx::OSDGUILayer Class Referencefinal

#include <OSDGUILayer.hh>

Inheritance diagram for openmsx::OSDGUILayer:
Inheritance graph
Collaboration diagram for openmsx::OSDGUILayer:
Collaboration graph

Public Member Functions

 OSDGUILayer (OSDGUI &gui)
 ~OSDGUILayer () override
void paint (OutputSurface &output) override
 Paint this layer.
- Public Member Functions inherited from openmsx::Layer
virtual ~Layer ()=default
ZIndex getZ () const
 Query the Z-index of this layer.
bool isActive () const
Coverage getCoverage () const
 Query the coverage of this layer.
void setDisplay (LayerListener &display_)
 Store pointer to Display.

Additional Inherited Members

- Public Types inherited from openmsx::Layer
enum  ZIndex {
  Z_DUMMY = -1 , Z_BACKGROUND = 0 , Z_MSX_PASSIVE = 30 , Z_MSX_ACTIVE = 40 ,
  Z_OSDGUI = 50 , Z_IMGUI = 60
 Determines stacking order of layers: layers with higher Z-indices are closer to the viewer. More...
 Describes how much of the screen is currently covered by a particular layer. More...
- Protected Member Functions inherited from openmsx::Layer
 Layer (Coverage coverage_=COVER_NONE, ZIndex z_=Z_DUMMY)
 Construct a layer.
void setCoverage (Coverage coverage_)
 Changes the current coverage of this layer.
void setZ (ZIndex z)
 Changes the current Z-index of this layer.

Detailed Description

Definition at line 10 of file OSDGUILayer.hh.

Constructor & Destructor Documentation

◆ OSDGUILayer()

openmsx::OSDGUILayer::OSDGUILayer ( OSDGUI gui)

Definition at line 7 of file

◆ ~OSDGUILayer()

openmsx::OSDGUILayer::~OSDGUILayer ( )

Member Function Documentation

◆ getGUI()

OSDGUI & openmsx::OSDGUILayer::getGUI ( )

Definition at line 16 of file OSDGUILayer.hh.

Referenced by paint(), and ~OSDGUILayer().

◆ paint()

void openmsx::OSDGUILayer::paint ( OutputSurface output)

Paint this layer.

Implements openmsx::Layer.

Definition at line 18 of file

References getGUI(), openmsx::OSDGUI::getTopWidget(), and openmsx::OSDWidget::paintRecursive().

The documentation for this class was generated from the following files: