Definition at line 17 of file cocoa_v.h.
◆ AfterBlitterChange()
bool VideoDriver_Cocoa::AfterBlitterChange |
( |
| ) |
|
|
virtual |
Callback invoked after the blitter was changed.
- Returns
- True if no error.
Reimplemented from VideoDriver.
◆ ChangeResolution()
bool VideoDriver_Cocoa::ChangeResolution |
( |
int |
w, |
|
|
int |
h |
|
) |
| |
|
virtual |
Change window resolution.
- Parameters
-
w | New window width |
h | New window height |
- Returns
- Whether change was successful
Implements VideoDriver.
◆ EditBoxLostFocus()
void VideoDriver_Cocoa::EditBoxLostFocus |
( |
| ) |
|
|
virtual |
An edit box lost the input focus.
Abort character compositing if necessary.
Reimplemented from VideoDriver.
◆ GetName()
const char* VideoDriver_Cocoa::GetName |
( |
| ) |
const |
|
inlinevirtual |
Return driver name.
- Returns
- driver name
Implements Driver.
Definition at line 61 of file cocoa_v.h.
◆ MakeDirty()
void VideoDriver_Cocoa::MakeDirty |
( |
int |
left, |
|
|
int |
top, |
|
|
int |
width, |
|
|
int |
height |
|
) |
| |
|
virtual |
Mark dirty a screen region.
- Parameters
-
left | x-coordinate of left border |
top | y-coordinate of top border |
width | width or dirty rectangle |
height | height of dirty rectangle |
Implements VideoDriver.
Referenced by CocoaSubdriver::~CocoaSubdriver().
◆ Start()
const char* VideoDriver_Cocoa::Start |
( |
const char *const * |
parm | ) |
|
|
virtual |
Start this driver.
- Parameters
-
parm | Parameters passed to the driver. |
- Returns
- NULL if everything went okay, otherwise an error message.
Implements Driver.
◆ ToggleFullscreen()
bool VideoDriver_Cocoa::ToggleFullscreen |
( |
bool |
fullscreen | ) |
|
|
virtual |
Set a new window mode.
- Parameters
-
fullscreen | Whether to set fullscreen mode or not |
- Returns
- Whether changing the screen mode was successful
Implements VideoDriver.
The documentation for this class was generated from the following file: