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
 
gl::ivec2 getOutputScreenResolution () const
 
void setOutputScreenResolution (gl::ivec2 r)
 
std::string getWindowTitle ()
 

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 32 of file Display.hh.

Member Typedef Documentation

§ Layers

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

Definition at line 36 of file Display.hh.

Constructor & Destructor Documentation

§ Display()

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

§ ~Display()

openmsx::Display::~Display ( )

Member Function Documentation

§ addLayer()

void openmsx::Display::addLayer ( Layer layer)

§ attach()

void openmsx::Display::attach ( VideoSystemChangeListener listener)

§ createVideoSystem()

void openmsx::Display::createVideoSystem ( )

§ detach()

void openmsx::Display::detach ( VideoSystemChangeListener listener)

§ findActiveLayer()

Layer * openmsx::Display::findActiveLayer ( ) const

§ getAllLayers()

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

Definition at line 62 of file Display.hh.

Referenced by openmsx::AviRecorder::~AviRecorder().

§ getCliComm()

CliComm & openmsx::Display::getCliComm ( ) const

§ getCommandConsole()

CommandConsole& openmsx::Display::getCommandConsole ( )
inline

§ getOSDGUI()

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

§ getOutputScreenResolution()

gl::ivec2 openmsx::Display::getOutputScreenResolution ( ) const
inline

Definition at line 64 of file Display.hh.

Referenced by openmsx::Touchpad::~Touchpad().

§ getRenderSettings()

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

§ getVideoSystem()

VideoSystem & openmsx::Display::getVideoSystem ( )

Definition at line 111 of file Display.cc.

Referenced by getWindowTitle().

§ getWindowTitle()

string openmsx::Display::getWindowTitle ( )

§ removeLayer()

void openmsx::Display::removeLayer ( Layer layer)

§ repaint() [1/2]

void openmsx::Display::repaint ( )

§ repaint() [2/2]

void openmsx::Display::repaint ( OutputSurface surface)

Definition at line 348 of file Display.cc.

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

§ repaintDelayed()

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

§ setOutputScreenResolution()

void openmsx::Display::setOutputScreenResolution ( gl::ivec2  r)
inline

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