Claudio Cambra
442e98e49e
macosx: Use effectiveAppearance received from KVO in VLCLibraryCollectionViewItem, fixing bad label text colour update
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
3 years ago
Claudio Cambra
6f800b9464
macosx: Cut down on use of magic numbers in VLCLibraryCollectionViewItem, use const methods for values
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
3 years ago
Claudio Cambra
867da29a14
macosx: Add defaultVideoItemSize class method to VLCLibraryCollectionViewItem
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
3 years ago
Claudio Cambra
eaa998e6ca
macosx: Make aspect ratio for VLCLibraryCollectionViewItem 16:10 when it is representing a video media item
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
3 years ago
Claudio Cambra
7f33985b09
macosx: Use unified units in VLCLibraryCollectionViewDelegate
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
3 years ago
Claudio Cambra
bb6da41807
macosx: Define default VLCLibraryCollectionViewItem size centrally, stop using magic numbers
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
3 years ago
Claudio Cambra
2cb96bf8c6
macosx: Use detail string for secondary string in library collection view items instead of duration
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
3 years ago
Claudio Cambra
dcd0bcfd03
macosx: Rename colelction view item secondary text field from durationTextField to secondaryInfoTextField
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
3 years ago
Claudio Cambra
afc3271eb8
macosx: Unify use of orange accent color
Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com>
4 years ago
Claudio Cambra
38e17000d1
macosx: Add a highlight to library view collection view
Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com>
4 years ago
Marvin Scholz
726f58f90e
macosx: consistently use . in availability check
Even though _ seems to work as well, it is weirder to read
and all documentation suggests to use a . here.
4 years ago
Claudio Cambra
fa106a29ad
macosx: Unify collection view item types
Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com>
4 years ago
Claudio Cambra
73a248c059
macosx: Play albums works correctly from the collection view
Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com>
4 years ago
Hugo Beauzée-Luyssen
fb68c410d5
medialib: Bump contrib & reflect API changes
6 years ago
Felix Paul Kühne
bd91af604b
macosx/library: add an image cache to improve responsiveness
6 years ago
Felix Paul Kühne
1ccb8dfc7a
macosx: fix compilation broken in 5961eeaa
7 years ago
Felix Paul Kühne
bf29748e45
macosx: unify to a single notification in case the preferences were updated
Performance and logically wise, there is no need to differentiate between the settings as users rarely change settings repeatedly.
7 years ago
Felix Paul Kühne
7a706f2031
macosx/library: adapt large-text setting and print everything smaller
7 years ago
Felix Paul Kühne
5715f6df23
macosx/playlist: add indicator for the number of items
7 years ago
Felix Paul Kühne
5337f1bc80
macosx/library collection view item: refactor for increased readibility
No functional changes
7 years ago
Felix Paul Kühne
fe552c2941
macosx/library collection view item: implement prepareForReuse
7 years ago
Felix Paul Kühne
9339899f46
macosx: coding style improvements
7 years ago
Felix Paul Kühne
4510eb8ea9
macosx/library: add audio specific library interface
7 years ago
Felix Paul Kühne
6218652126
macosx: add helper for the Mojave dark mode
7 years ago
Felix Paul Kühne
fdd3c157a2
macosx/library: clean view display and object interaction
Data views are now removed from/added to the superview instead of hidden/unhidden
Additionally, the media lookup was cleaned and generalized beyond video.
7 years ago
Felix Paul Kühne
6b88208f23
macosx/library: fix display of audio media
7 years ago
Felix Paul Kühne
25b7531b75
macosx/library: add 'NEW' indicator for media that was never played before
7 years ago
Felix Paul Kühne
9489908e34
macosx/library: display playback progress
7 years ago
Felix Paul Kühne
a30f1f9a40
macosx: fix compilation with legacy SDK versions
7 years ago
Felix Paul Kühne
2bd7b3e521
macosx/playlist: add chrome based on design
7 years ago
Felix Paul Kühne
83bc2b9e99
macosx/library: expose annotation information in video section
7 years ago
Felix Paul Kühne
005b007f9a
macosx/library: make video cells match desired appearance
7 years ago
Felix Paul Kühne
d13b51222b
macosx: add window to manage library folders
7 years ago
Felix Paul Kühne
1680fed9b1
macosx/library: generate thumbnails as needed and update view representation once done
7 years ago
Felix Paul Kühne
41ca75a09e
macosx/library: allow playback of media
This can be done through preliminary buttons or the right-click menu
This commit also moves logic from the view to the controller (where it belongs).
7 years ago
Felix Paul Kühne
f3cb7306e2
macosx/library: add class skeleton
7 years ago
David Fuhrmann
ba6ad45fbd
macosx: New directory structure for the macOS UI
This orders existing files into a new directory structure, to
group related elements together. The Xcode project is adapted
as well and reflects the same structure under macosx.
All includes include the subfolders now and are reordered and
cleaned up. Existing structure and alphabetic ordering shall be
kept.
7 years ago
Felix Paul Kühne
e49882a782
macosx/library window: implement library view and fill with sample data
7 years ago
Felix Paul Kühne
b6fbbfce05
macosx/library window: add playlist table view with sample data
7 years ago
Steve Lhomme
5363279805
remove the $Id$ in the source code
7 years ago
Marvin Scholz
e63ccccc54
macosx: Add VLCHexNumberFormatter
Adds a number formatter used for hex color text fields in the video
effects panel.
9 years ago
Marvin Scholz
dcb57abf33
macOS: Add VLCTintedImageButtonCell
This is a class for macOS versions lower than 10.10, where some image
buttons on dark backgrounds (or other colored backgrounds) would draw in
a dark color (usually black, for template images).
With this class, a tint color can be set for these buttons, it defaults
to white. This class is only intended to be used with template images.
9 years ago
David Fuhrmann
b7f9c20f7a
macosx: center fullscreen panel for new fullscreen size
The fullscreen window can have a new size if the fullscreen monitor
was switched or the user used split screen in between.
Center FS panel in those cases. Also constrain size as the new
available space might be smaller.
9 years ago
David Fuhrmann
76f12cba4c
macosx: Limit fullscreen panel to video content area
Limit dragging / moving of fullscreen panel to video content area.
This forbids dragging the fspanel outside of fullscreen. Also make
sure that the fs panel stays inside the video view if dragged, in
case the video view is smaller then the complete screen (this can
happen with macOS split screen feature).
9 years ago
David Fuhrmann
a071bc7c4f
macosx: clear resume points as well once the user clear recent items list
10 years ago
Felix Paul Kühne
e0dfd83141
macosx: rename VLCMain source file and split out VLCApplication class
10 years ago
Felix Paul Kühne
c751c847de
macosx: rename VLCMain preferences category
10 years ago
Felix Paul Kühne
3c745c8b2f
macosx: cosmetics
11 years ago
Felix Paul Kühne
db62975cad
macosx: split main interface class
11 years ago
Kelly Anderson
c0f44d25b3
Consolidate lua includes in vlc.h
So lua 5.2 compatibility declarations can be made in one place.
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
14 years ago