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

#include <DummyVideoSystem.hh>

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

Public Member Functions

std::unique_ptr< RasterizercreateRasterizer (VDP &vdp) override
 Create the rasterizer selected by the current renderer setting. More...
 
std::unique_ptr< V9990RasterizercreateV9990Rasterizer (V9990 &vdp) override
 Create the V9990 rasterizer selected by the current renderer setting. More...
 
std::unique_ptr< LDRasterizercreateLDRasterizer (LaserdiscPlayer &ld) override
 
void flush () override
 Finish pending drawing operations and make them visible to the user. More...
 
gl::ivec2 getMouseCoord () override
 Returns the current mouse pointer coordinates. More...
 
OutputSurfacegetOutputSurface () override
 TODO. More...
 
void showCursor (bool show) override
 
bool getCursorEnabled () override
 
std::string getClipboardText () override
 
void setClipboardText (zstring_view text) override
 
void repaint () override
 Requests a repaint of the output surface. More...
 
- Public Member Functions inherited from openmsx::VideoSystem
virtual ~VideoSystem ()=default
 
virtual std::unique_ptr< RasterizercreateRasterizer (VDP &vdp)=0
 Create the rasterizer selected by the current renderer setting. More...
 
virtual std::unique_ptr< V9990RasterizercreateV9990Rasterizer (V9990 &vdp)=0
 Create the V9990 rasterizer selected by the current renderer setting. More...
 
virtual std::unique_ptr< LDRasterizercreateLDRasterizer (LaserdiscPlayer &ld)=0
 
virtual void flush ()=0
 Finish pending drawing operations and make them visible to the user. More...
 
virtual void takeScreenShot (const std::string &filename, bool withOsd)
 Take a screenshot. More...
 
virtual void updateWindowTitle ()
 Called when the window title string has changed. More...
 
virtual gl::ivec2 getMouseCoord ()=0
 Returns the current mouse pointer coordinates. More...
 
virtual OutputSurfacegetOutputSurface ()=0
 TODO. More...
 
virtual void showCursor (bool show)=0
 
virtual bool getCursorEnabled ()=0
 
virtual std::string getClipboardText ()=0
 
virtual void setClipboardText (zstring_view text)=0
 
virtual void repaint ()=0
 Requests a repaint of the output surface. More...
 

Additional Inherited Members

- Protected Member Functions inherited from openmsx::VideoSystem
 VideoSystem ()=default
 

Detailed Description

Definition at line 9 of file DummyVideoSystem.hh.

Member Function Documentation

◆ createLDRasterizer()

std::unique_ptr< LDRasterizer > openmsx::DummyVideoSystem::createLDRasterizer ( LaserdiscPlayer ld)
overridevirtual

Implements openmsx::VideoSystem.

Definition at line 24 of file DummyVideoSystem.cc.

References UNREACHABLE.

◆ createRasterizer()

std::unique_ptr< Rasterizer > openmsx::DummyVideoSystem::createRasterizer ( VDP vdp)
overridevirtual

Create the rasterizer selected by the current renderer setting.

Video systems that use a rasterizer must override this method.

Parameters
vdpThe VDP whose display will be rendered.
Returns
The rasterizer created.

Implements openmsx::VideoSystem.

Definition at line 10 of file DummyVideoSystem.cc.

References UNREACHABLE.

◆ createV9990Rasterizer()

std::unique_ptr< V9990Rasterizer > openmsx::DummyVideoSystem::createV9990Rasterizer ( V9990 vdp)
overridevirtual

Create the V9990 rasterizer selected by the current renderer setting.

Video systems that use a rasterizer must override this method.

Parameters
vdpThe V9990 whose display will be rendered.
Returns
The rasterizer created.

Implements openmsx::VideoSystem.

Definition at line 16 of file DummyVideoSystem.cc.

References UNREACHABLE.

◆ flush()

void openmsx::DummyVideoSystem::flush ( )
overridevirtual

Finish pending drawing operations and make them visible to the user.

Implements openmsx::VideoSystem.

Definition at line 32 of file DummyVideoSystem.cc.

◆ getClipboardText()

std::string openmsx::DummyVideoSystem::getClipboardText ( )
overridevirtual

Implements openmsx::VideoSystem.

Definition at line 55 of file DummyVideoSystem.cc.

◆ getCursorEnabled()

bool openmsx::DummyVideoSystem::getCursorEnabled ( )
overridevirtual

Implements openmsx::VideoSystem.

Definition at line 50 of file DummyVideoSystem.cc.

◆ getMouseCoord()

gl::ivec2 openmsx::DummyVideoSystem::getMouseCoord ( )
overridevirtual

Returns the current mouse pointer coordinates.

Implements openmsx::VideoSystem.

Definition at line 36 of file DummyVideoSystem.cc.

◆ getOutputSurface()

OutputSurface * openmsx::DummyVideoSystem::getOutputSurface ( )
overridevirtual

TODO.

Implements openmsx::VideoSystem.

Definition at line 41 of file DummyVideoSystem.cc.

◆ repaint()

void openmsx::DummyVideoSystem::repaint ( )
overridevirtual

Requests a repaint of the output surface.

An implementation might start a repaint directly, or trigger a queued rendering.

Implements openmsx::VideoSystem.

Definition at line 64 of file DummyVideoSystem.cc.

◆ setClipboardText()

void openmsx::DummyVideoSystem::setClipboardText ( zstring_view  text)
overridevirtual

Implements openmsx::VideoSystem.

Definition at line 60 of file DummyVideoSystem.cc.

◆ showCursor()

void openmsx::DummyVideoSystem::showCursor ( bool  show)
overridevirtual

Implements openmsx::VideoSystem.

Definition at line 46 of file DummyVideoSystem.cc.


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