[vlc-commits] macosx: implement simpler and generic drop view for all drag / drop operations

David Fuhrmann git at videolan.org
Thu Nov 28 13:20:22 CET 2013


vlc | branch: master | David Fuhrmann <david.fuhrmann at googlemail.com> | Thu Nov 28 13:08:11 2013 +0100| [819d233bf5cc9b184506b9e482842a20edaacc23] | committer: David Fuhrmann

macosx: implement simpler and generic drop view for all drag / drop operations

- Use the new VLCDragDropView for both CAS and main window drop zone.
  This implements a drop highlight border the same way as in playlist view.
- Remove Brushed Metal Image view and its own drop implementation.
  When having a image view inside a drop zone, you need to use
  VLCDropDisabledImageView which disables the own drop handling of NSImageView.
- Removed more unneeded drop implementations for subviews from CAS

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=819d233bf5cc9b184506b9e482842a20edaacc23
---

 .../Resources/English.lproj/ConvertAndSave.xib     | 1109 ++++----------------
 .../macosx/Resources/English.lproj/MainWindow.xib  |  373 ++++---
 modules/gui/macosx/ConvertAndSave.h                |   15 -
 modules/gui/macosx/ConvertAndSave.m                |  131 +--
 modules/gui/macosx/CoreInteraction.m               |    2 +-
 modules/gui/macosx/misc.h                          |   24 +-
 modules/gui/macosx/misc.m                          |   66 +-
 7 files changed, 479 insertions(+), 1241 deletions(-)

Diff:   http://git.videolan.org/gitweb.cgi/vlc.git/?a=commitdiff;h=819d233bf5cc9b184506b9e482842a20edaacc23


More information about the vlc-commits mailing list