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

MacOSX/Framework/VLCVideoLayer: Publish fillScreen.

parent a9899eb5
...@@ -29,4 +29,5 @@ ...@@ -29,4 +29,5 @@
BOOL hasVideo; BOOL hasVideo;
} }
@property (readonly) BOOL hasVideo; @property (readonly) BOOL hasVideo;
@property BOOL fillScreen;
@end @end
...@@ -53,7 +53,19 @@ ...@@ -53,7 +53,19 @@
@implementation VLCVideoLayer @implementation VLCVideoLayer
@synthesize hasVideo; @synthesize hasVideo;
- (BOOL)fillScreen
{
return [self.layoutManager fillScreenEntirely];
}
- (void)setFillScreen:(BOOL)fillScreen
{
[self.layoutManager setFillScreenEntirely:fillScreen];
[self setNeedsLayout];
}
@end @end
/****************************************************************************** /******************************************************************************
* Implementation VLCVideoLayer (Private) * 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