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

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

◆ 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 15 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 29 of file DummyVideoSystem.cc.

◆ getClipboardText()

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

Implements openmsx::VideoSystem.

Definition at line 52 of file DummyVideoSystem.cc.

◆ getCursorEnabled()

bool openmsx::DummyVideoSystem::getCursorEnabled ( )
overridevirtual

Implements openmsx::VideoSystem.

Definition at line 47 of file DummyVideoSystem.cc.

◆ getMouseCoord()

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

Returns the current mouse pointer coordinates.

Implements openmsx::VideoSystem.

Definition at line 33 of file DummyVideoSystem.cc.

◆ getOutputSurface()

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

TODO.

Implements openmsx::VideoSystem.

Definition at line 38 of file DummyVideoSystem.cc.

◆ getWindowPosition()

std::optional< gl::ivec2 > openmsx::DummyVideoSystem::getWindowPosition ( )
overridevirtual

Implements openmsx::VideoSystem.

Definition at line 61 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 70 of file DummyVideoSystem.cc.

◆ setClipboardText()

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

Implements openmsx::VideoSystem.

Definition at line 57 of file DummyVideoSystem.cc.

◆ setWindowPosition()

void openmsx::DummyVideoSystem::setWindowPosition ( gl::ivec2  pos)
overridevirtual

Implements openmsx::VideoSystem.

Definition at line 66 of file DummyVideoSystem.cc.

◆ showCursor()

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

Implements openmsx::VideoSystem.

Definition at line 43 of file DummyVideoSystem.cc.


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