OXYGENHUB
◆ main openmsx / src / video / DummyVideoSystem.hh
1.1 KiB · C++ · last changed chore(): initial commit 1 month ago source blame history raw
1
#ifndef DUMMYVIDEOSYSTEM_HH
2
#define DUMMYVIDEOSYSTEM_HH
3
4
#include "VideoSystem.hh"
5
#include "components.hh"
6
7
namespace openmsx {
8
9
class DummyVideoSystem final : public VideoSystem
10
{
11
public:
12
	// VideoSystem interface:
13
	[[nodiscard]] std::unique_ptr<Rasterizer> createRasterizer(VDP& vdp) override;
14
	[[nodiscard]] std::unique_ptr<V9990Rasterizer> createV9990Rasterizer(
15
		V9990& vdp) override;
16
#if COMPONENT_LASERDISC
17
	[[nodiscard]] std::unique_ptr<LDRasterizer> createLDRasterizer(
18
		LaserdiscPlayer& ld) override;
19
#endif
20
	void flush() override;
21
	[[nodiscard]] std::optional<gl::ivec2> getMouseCoord() override;
22
	[[nodiscard]] std::optional<gl::vec2> getMsxPixelSize() override;
23
	[[nodiscard]] OutputSurface* getOutputSurface() override;
24
	void showCursor(bool show) override;
25
	[[nodiscard]] bool getCursorEnabled() override;
26
	[[nodiscard]] std::string getClipboardText() override;
27
	void setClipboardText(zstring_view text) override;
28
	[[nodiscard]] std::optional<gl::ivec2> getWindowPosition() override;
29
	void setWindowPosition(gl::ivec2 pos) override;
30
	void repaint() override;
31
};
32
33
} // namespace openmsx
34
35
#endif