mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-12 03:27:07 +00:00
Add convenience methods for full screen.
This commit is contained in:
1 parent
3f410ea688
commit
48fb8f00ca
1 file changed
+17
@@ -874,6 +874,15 @@ var DOMElementPrototype = nil,
|
||||
}
|
||||
|
||||
// Fullscreen Mode
|
||||
|
||||
/*!
|
||||
Puts the receiver into full screen mode.
|
||||
*/
|
||||
- (BOOL)enterFullScreenMode
|
||||
{
|
||||
return [self enterFullScreenMode:nil withOptions:nil];
|
||||
}
|
||||
|
||||
/*!
|
||||
Puts the receiver into full screen mode.
|
||||
@param aScreen the that should be used
|
||||
@@ -905,6 +914,14 @@ var DOMElementPrototype = nil,
|
||||
return YES;
|
||||
}
|
||||
|
||||
/*!
|
||||
The receiver should exit full screen mode.
|
||||
*/
|
||||
- (void)exitFullScreenMode
|
||||
{
|
||||
[self exitFullScreenModeWithOptions:nil];
|
||||
}
|
||||
|
||||
/*!
|
||||
The receiver should exit full screen mode.
|
||||
@param options configurations options
|
||||
|
||||
Reference in new issue
Block a user