10#ifndef VIDEO_DEDICATED_H
11#define VIDEO_DEDICATED_H
18 std::optional<std::string_view>
Start(
const StringList ¶m)
override;
22 void MakeDirty(
int left,
int top,
int width,
int height)
override;
29 std::string_view
GetName()
const override {
return "dedicated"; }
30 bool HasGUI()
const override {
return false; }
39 static const int PRIORITY = 10;
41 static const int PRIORITY = 0;
Base for all driver factories.
A driver for communicating with the user.
@ DT_VIDEO
A video driver.
Factory for the dedicated server video driver.
Driver * CreateInstance() const override
Create an instance of this driver-class.
The dedicated server video driver.
std::optional< std::string_view > Start(const StringList ¶m) override
Start this driver.
void MainLoop() override
Perform the actual drawing.
void Stop() override
Stop this driver.
std::string_view GetName() const override
Get the name of this driver.
bool ToggleFullscreen(bool fullscreen) override
Change the full screen setting.
bool HasGUI() const override
Whether the driver has a graphical user interface with the end user.
void MakeDirty(int left, int top, int width, int height) override
Mark a particular area dirty.
bool ChangeResolution(int w, int h) override
Change the resolution of the window.
The base of all video drivers.
std::vector< std::string > StringList
Type for a list of strings.
Base of all video drivers.