openMSX
Classes | Public Types | Public Member Functions | List of all members
openmsx::Display Class Referencefinal

Represents the output window/screen of openMSX. More...

#include <Display.hh>

Inheritance diagram for openmsx::Display:
Inheritance graph
[legend]
Collaboration diagram for openmsx::Display:
Collaboration graph
[legend]

Public Types

using Layers = std::vector< Layer * >
 

Public Member Functions

 Display (Reactor &reactor)
 
 ~Display ()
 
void createVideoSystem ()
 
VideoSystemgetVideoSystem ()
 
CliCommgetCliComm () const
 
RenderSettingsgetRenderSettings ()
 
OSDGUIgetOSDGUI ()
 
CommandConsolegetCommandConsole ()
 
void repaint ()
 Redraw the display. More...
 
void repaint (OutputSurface &surface)
 
void repaintDelayed (uint64_t delta)
 
void addLayer (Layer &layer)
 
void removeLayer (Layer &layer)
 
void attach (VideoSystemChangeListener &listener)
 
void detach (VideoSystemChangeListener &listener)
 
LayerfindActiveLayer () const
 
const LayersgetAllLayers () const
 

Additional Inherited Members

- Protected Member Functions inherited from openmsx::EventListener
 EventListener ()
 
 ~EventListener ()
 

Detailed Description

Represents the output window/screen of openMSX.

A display contains several layers.

Definition at line 31 of file Display.hh.

Member Typedef Documentation

using openmsx::Display::Layers = std::vector<Layer*>

Definition at line 35 of file Display.hh.

Constructor & Destructor Documentation

openmsx::Display::Display ( Reactor reactor)
explicit
openmsx::Display::~Display ( )

Member Function Documentation

void openmsx::Display::addLayer ( Layer layer)
void openmsx::Display::attach ( VideoSystemChangeListener listener)
void openmsx::Display::createVideoSystem ( )
void openmsx::Display::detach ( VideoSystemChangeListener listener)
Layer * openmsx::Display::findActiveLayer ( ) const

Definition at line 140 of file Display.cc.

References openmsx::Layer::Z_MSX_ACTIVE.

const Layers& openmsx::Display::getAllLayers ( ) const
inline

Definition at line 61 of file Display.hh.

CliComm & openmsx::Display::getCliComm ( ) const
CommandConsole& openmsx::Display::getCommandConsole ( )
inline

Definition at line 46 of file Display.hh.

Referenced by openmsx::RendererFactory::createVideoSystem().

OSDGUI& openmsx::Display::getOSDGUI ( )
inline

Definition at line 45 of file Display.hh.

Referenced by openmsx::SDLVideoSystem::SDLVideoSystem().

RenderSettings& openmsx::Display::getRenderSettings ( )
inline
VideoSystem & openmsx::Display::getVideoSystem ( )

Definition at line 110 of file Display.cc.

void openmsx::Display::removeLayer ( Layer layer)
void openmsx::Display::repaint ( )
void openmsx::Display::repaint ( OutputSurface surface)

Definition at line 348 of file Display.cc.

References openmsx::Layer::COVER_NONE, and end().

void openmsx::Display::repaintDelayed ( uint64_t  delta)

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