18 const char *
Start(
const char *
const *param)
override;
22 void MakeDirty(
int left,
int top,
int width,
int height)
override;
36 bool ClaimMousePointer()
override;
42 const char *
GetName()
const override {
return "sdl"; }
45 bool CreateMainSurface(uint w, uint h,
bool resize);
Base of all video drivers.
void AcquireBlitterLock() override
Acquire any lock(s) required to be held when changing blitters.
void MakeDirty(int left, int top, int width, int height) override
Mark a particular area dirty.
void Stop() override
Stop this driver.
bool AfterBlitterChange() override
Callback invoked after the blitter was changed.
Base for all driver factories.
void EditBoxLostFocus() override
An edit box lost the input focus.
bool ToggleFullscreen(bool fullscreen) override
Change the full screen setting.
A driver for communicating with the user.
void MainLoop() override
Perform the actual drawing.
bool edit_box_focused
This is true to indicate that keyboard input is in text input mode, and SDL_TEXTINPUT events are enab...
const char * GetName() const override
Get the name of this driver.
The base of all video drivers.
void EditBoxGainedFocus() override
An edit box gained the input focus.
bool ChangeResolution(int w, int h) override
Change the resolution of the window.
void ReleaseBlitterLock() override
Release any lock(s) required to be held when changing blitters.
Driver * CreateInstance() const override
Create an instance of this driver-class.
Factory for the SDL video driver.
const char * Start(const char *const *param) override
Start this driver.