macosx: Rewrote the About window auto-scroll behavior
authorMarvin Scholz <epirat07@gmail.com>
Thu, 8 Oct 2015 13:11:49 +0000 (15:11 +0200)
committerFelix Paul Kühne <fkuehne@videolan.org>
Fri, 9 Oct 2015 10:28:55 +0000 (12:28 +0200)
commit1f44f44376eba4a29094c8958999e80aa9291bf4
treec67fdcbdcf8a9558eee82065236de668522d978a
parente77a32e8d9ae067b53faa1a27558e8ba7b3a8ce4
macosx: Rewrote the About window auto-scroll behavior

It was impossible to scroll in the About Scroll Views as the code
was doing automatic scrolling. This patch removes all the related
code and introduces a new NSClipView subclass that handles the
automatic scrolling. If it detects that the user scrolls, the
animation is stopped and the user can scroll it as he wishes.

Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>
extras/package/macosx/Resources/English.lproj/About.xib
extras/package/macosx/vlc.xcodeproj/project.pbxproj
modules/gui/macosx/Makefile.am
modules/gui/macosx/VLCScrollingClipView.h [new file with mode: 0644]
modules/gui/macosx/VLCScrollingClipView.m [new file with mode: 0644]
modules/gui/macosx/about.h
modules/gui/macosx/about.m