Commit 4c6e535f authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

MacOSX/Framework/VLCVideoLayer: Publish fillScreen.

parent a9899eb5
......@@ -29,4 +29,5 @@
BOOL hasVideo;
}
@property (readonly) BOOL hasVideo;
@property BOOL fillScreen;
@end
......@@ -53,7 +53,19 @@
@implementation VLCVideoLayer
@synthesize hasVideo;
- (BOOL)fillScreen
{
return [self.layoutManager fillScreenEntirely];
}
- (void)setFillScreen:(BOOL)fillScreen
{
[self.layoutManager setFillScreenEntirely:fillScreen];
[self setNeedsLayout];
}
@end
/******************************************************************************
* Implementation VLCVideoLayer (Private)
*/
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment