[vlc-commits] macosx: Rewrote the About window auto-scroll behavior

Marvin Scholz git at videolan.org
Fri Oct 9 12:27:28 CEST 2015


vlc | branch: master | Marvin Scholz <epirat07 at gmail.com> | Thu Oct  8 15:11:49 2015 +0200| [b9782abdf34ea3bae2148dfea30c6f1382d7814a] | 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=b9782abdf34ea3bae2148dfea30c6f1382d7814a
---

 .../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=b9782abdf34ea3bae2148dfea30c6f1382d7814a


More information about the vlc-commits mailing list