Public Member Functions | |
const char * | Start (const char *const *param) |
Start this driver. | |
void | Stop () |
Stop the video driver. | |
void | MakeDirty (int left, int top, int width, int height) |
Mark dirty a screen region. | |
void | MainLoop () |
Programme main loop. | |
bool | ChangeResolution (int w, int h) |
Change window resolution. | |
bool | ToggleFullscreen (bool fullscreen) |
Set a new window mode. | |
bool | AfterBlitterChange () |
Callback invoked after the blitter was changed. | |
const char * | GetName () const |
Return driver name. |
Definition at line 19 of file cocoa_v.h.
bool VideoDriver_Cocoa::AfterBlitterChange | ( | ) | [virtual] |
Callback invoked after the blitter was changed.
Reimplemented from VideoDriver.
bool VideoDriver_Cocoa::ChangeResolution | ( | int | w, | |
int | h | |||
) | [virtual] |
Change window resolution.
w | New window width | |
h | New window height |
Implements VideoDriver.
const char* VideoDriver_Cocoa::GetName | ( | ) | const [inline, virtual] |
void VideoDriver_Cocoa::MakeDirty | ( | int | left, | |
int | top, | |||
int | width, | |||
int | height | |||
) | [virtual] |
Mark dirty a screen region.
left | x-coordinate of left border | |
top | y-coordinate of top border | |
width | width or dirty rectangle | |
height | height of dirty rectangle |
Implements VideoDriver.
const char* VideoDriver_Cocoa::Start | ( | const char *const * | parm | ) | [virtual] |
Start this driver.
parm | Parameters passed to the driver. |
Implements Driver.
bool VideoDriver_Cocoa::ToggleFullscreen | ( | bool | fullscreen | ) | [virtual] |
Set a new window mode.
fullscreen | Whether to set fullscreen mode or not |
Implements VideoDriver.