Skip to content

macosx: Add a real carousel for recents in library

Claudio Cambra requested to merge claucambra/vlc:work/carousels into master

This MR implements a basic carousel container for recent videos in the video library view. This brings several benefits over the previous collection view based carousel, including inertial flicking and scrolling, item wrapping (i.e. infinite carousel), improved animations, and more. It's still a bit rough around the edges but in its current form it works


The bulk of these changes come from the addition of iCarousel classes which provide an implementation of carousels in AppKit. The code is taken from here: -- from the legal perspective the license seems very permissive and ok, but IANAL. From the software perspective I chose to simply vendor the two relevant iCarousel.h and iCarousel.m. I have made a couple of small changes to fix bugs in it. If none of this is appropriate, please let me know 😄

Signed-off-by: Claudio Cambra

Merge request reports