[vlc-commits] macosx: create new classes for all controls bar related code
David Fuhrmann
git at videolan.org
Fri Sep 21 10:27:54 CEST 2012
vlc | branch: master | David Fuhrmann <david.fuhrmann at googlemail.com> | Fri Sep 21 09:48:14 2012 +0200| [a0140fe5b23a9ba3cc983bb7ffb0e118a4102130] | committer: David Fuhrmann
macosx: create new classes for all controls bar related code
Now, we have two classes (instantiated from the xib file for each window)
with controls bar stuff:
- VLCControlsBarCommon holds all code common for main and detached window
- VLCMainWindowControlsBar adds code specific for the main window bar
With that, we can avoid all these redundant code for o_detached_*, furthermore
this decouples all detached window control bar stuff from MainWindow.m.
The objects can be accessed through the controlsBar method.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a0140fe5b23a9ba3cc983bb7ffb0e118a4102130
---
.../macosx/Resources/English.lproj/MainMenu.xib |10524 +++++++++-----------
.../package/macosx/vlc.xcodeproj/project.pbxproj | 4 +
modules/gui/macosx/ControlsBar.h | 157 +
modules/gui/macosx/ControlsBar.m | 971 ++
modules/gui/macosx/MainMenu.m | 5 +-
modules/gui/macosx/MainWindow.h | 92 +-
modules/gui/macosx/MainWindow.m | 920 +-
modules/gui/macosx/Modules.am | 2 +
modules/gui/macosx/Windows.h | 6 +
modules/gui/macosx/Windows.m | 2 +
modules/gui/macosx/fspanel.h | 1 +
modules/gui/macosx/intf.h | 2 +-
modules/gui/macosx/intf.m | 10 +-
modules/gui/macosx/misc.m | 3 +-
14 files changed, 6180 insertions(+), 6519 deletions(-)
Diff: http://git.videolan.org/gitweb.cgi/vlc.git/?a=commitdiff;h=a0140fe5b23a9ba3cc983bb7ffb0e118a4102130
More information about the vlc-commits
mailing list