[vlc-commits] macosx: Rewrote the About window auto-scroll behavior
Marvin Scholz
git at videolan.org
Fri Oct 9 12:29:02 CEST 2015
vlc | branch: master | Marvin Scholz <epirat07 at gmail.com> | Thu Oct 8 15:11:49 2015 +0200| [1f44f44376eba4a29094c8958999e80aa9291bf4] | committer: Felix Paul Kühne
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 at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1f44f44376eba4a29094c8958999e80aa9291bf4
---
.../macosx/Resources/English.lproj/About.xib | 1450 +++-----------------
.../package/macosx/vlc.xcodeproj/project.pbxproj | 6 +
modules/gui/macosx/Makefile.am | 1 +
modules/gui/macosx/VLCScrollingClipView.h | 40 +
modules/gui/macosx/VLCScrollingClipView.m | 90 ++
modules/gui/macosx/about.h | 1 +
modules/gui/macosx/about.m | 49 +-
7 files changed, 329 insertions(+), 1308 deletions(-)
Diff: http://git.videolan.org/gitweb.cgi/vlc.git/?a=commitdiff;h=1f44f44376eba4a29094c8958999e80aa9291bf4
More information about the vlc-commits
mailing list