Skip to content
Snippets Groups Projects
Commit 1c8ff004 authored by Claudio Cambra's avatar Claudio Cambra Committed by Felix Paul Kühne
Browse files

macosx: Implement presentation of show library in library window


Signed-off-by: default avatarClaudio Cambra <developer@claudiocambra.com>
parent e236ad34
No related branches found
No related tags found
No related merge requests found
......@@ -251,6 +251,9 @@ static void addShadow(NSImageView *__unsafe_unretained imageView)
case VLCLibraryVideoSegment:
[self showVideoLibrary];
break;
case VLCLibraryShowsVideoSubSegment:
[self showShowLibrary];
break;
case VLCLibraryMusicSegment:
case VLCLibraryArtistsMusicSubSegment:
case VLCLibraryAlbumsMusicSubSegment:
......@@ -338,6 +341,12 @@ static void addShadow(NSImageView *__unsafe_unretained imageView)
[_libraryVideoViewController presentVideoView];
}
- (void)showShowLibrary
{
[self.toolbarDelegate layoutForSegment:VLCLibraryShowsVideoSubSegment];
[self.libraryVideoViewController presentShowsView];
}
- (void)showAudioLibrary
{
[self.toolbarDelegate layoutForSegment:VLCLibraryMusicSegment];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment