10 #ifndef VIDEO_ALLEGRO_H 11 #define VIDEO_ALLEGRO_H 18 const char *
Start(
const char *
const *param)
override;
22 void MakeDirty(
int left,
int top,
int width,
int height)
override;
32 bool ClaimMousePointer()
override;
34 const char *
GetName()
const override {
return "allegro"; }
Base of all video drivers.
Factory for the allegro video driver.
Driver * CreateInstance() const override
Create an instance of this driver-class.
void MainLoop() override
Perform the actual drawing.
bool ChangeResolution(int w, int h) override
Change the resolution of the window.
void MakeDirty(int left, int top, int width, int height) override
Mark a particular area dirty.
Base for all driver factories.
const char * GetName() const override
Get the name of this driver.
bool ToggleFullscreen(bool fullscreen) override
Change the full screen setting.
bool AfterBlitterChange() override
Callback invoked after the blitter was changed.
A driver for communicating with the user.
void Stop() override
Stop this driver.
const char * Start(const char *const *param) override
Start this driver.
The allegro video driver.
The base of all video drivers.