Commit Graph

7244 Commits

Author SHA1 Message Date
Claudio Cambra
bfd6ba9ec9 macosx: Correctly pass an array of item images into frames and compositing methods
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2024-11-21 18:39:16 +00:00
Claudio Cambra
2af6cd2642 macosx: Initialise itemImages set with set correctly, not with an array
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2024-11-21 18:39:16 +00:00
Claudio Cambra
7da8511583 macosx: Use correct double type for a and b pos variables
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2024-11-21 18:16:23 +00:00
Claudio Cambra
d0f9cb8d12 macosx: Reduce size of sidebar root view header
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2024-11-19 13:37:11 +00:00
Claudio Cambra
22bacf951b macosx: Update playlist strings to play queue strings in applescript terminology
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2024-11-19 13:37:11 +00:00
Claudio Cambra
5fb0fe4901 macosx: Rename XIB display strings and identifiers to play queue
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2024-11-19 13:37:11 +00:00
Claudio Cambra
f4806b9d09 macosx: Rename GUI module variables, properties, methods, and strings for play queue
This makes the distinction between library playlists and the playqueue
more obvious

Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2024-11-19 13:37:11 +00:00
Claudio Cambra
100e26a93e macosx: Rename playlistController to playQueueController
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2024-11-19 13:37:11 +00:00
Claudio Cambra
f59bd3591a macosx: Rename play queue related playlist files
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2024-11-19 13:37:11 +00:00
Claudio Cambra
23f95b1862 macosx: Rename UI label for playlist to play queue
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2024-11-19 13:37:11 +00:00
Claudio Cambra
5314b9a1ca macosx: Unify open stream actions' wording across the gui
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2024-11-19 06:56:02 +00:00
Claudio Cambra
61c01e2fc6 macosx: Centre align text on action button cells
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2024-11-19 06:56:02 +00:00
Claudio Cambra
c8076d398b macosx: Make colour of icons in action button cells a bit more subtle
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2024-11-19 06:56:02 +00:00
Claudio Cambra
9c7dcaa7f1 macosx: Add a subtler accent colour
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2024-11-19 06:56:02 +00:00
Claudio Cambra
10fdc79c8f macosx: Cache the drawn image if recreation is not necessary
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2024-11-19 06:56:02 +00:00
Claudio Cambra
699757f5c2 macosx: Provide some visual feedback in action button cell when clicked
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2024-11-19 06:56:02 +00:00
Claudio Cambra
e19e679b1d macosx: Unify definition of border thicknesses
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2024-11-19 06:56:02 +00:00
Claudio Cambra
ec8f00a02a macosx: Make corners of action button cell rounded
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2024-11-19 06:56:02 +00:00
Claudio Cambra
32a5ac86c6 macosx: Move VLCImageView corner radius value into VLCLibraryUIUnits
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2024-11-19 06:56:02 +00:00
Claudio Cambra
085693f8ed macosx: Improve image vertical spacing in action button cell
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2024-11-19 06:56:02 +00:00
Claudio Cambra
9bf3e17b06 macosx: Make all actions in actions view xib use new action button cell
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2024-11-19 06:56:02 +00:00
Claudio Cambra
786b160a3a macosx: Add some padding to the action button cell title
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2024-11-19 06:56:02 +00:00
Claudio Cambra
49d95e5e96 macosx: Give the title some vertical spacing between it and the image in action button cell
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2024-11-19 06:56:02 +00:00
Claudio Cambra
e0f919a38a macosx: Define and reuse title height instead of accessing each time
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2024-11-19 06:56:02 +00:00
Claudio Cambra
22a7f5d22d macosx: Account for title height when sizing and positioning image in action button cell
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2024-11-19 06:56:02 +00:00
Claudio Cambra
250609353a macosx: Calculate cellFrame min and max X and Y once only in action button cell
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2024-11-19 06:56:02 +00:00
Claudio Cambra
3be2b80f0f macosx: Draw title into action button cell
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2024-11-19 06:56:02 +00:00
Claudio Cambra
1c7546ae7a macosx: Scale the action button cell image proportionally
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2024-11-19 06:56:02 +00:00
Claudio Cambra
39fdce85a3 macosx: Draw accent-coloured image in action button cell
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2024-11-19 06:56:02 +00:00
Claudio Cambra
9d5db25879 macosx: Draw cell image within action cell
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2024-11-19 06:56:02 +00:00
Claudio Cambra
d6c7202f78 macosx: Implement drawing of basic background for action button cell
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2024-11-19 06:56:02 +00:00
Claudio Cambra
af34283ee7 macosx: Add starter VLCLibraryHomeViewActionButtonCell
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2024-11-19 06:56:02 +00:00
Claudio Cambra
e32c614e86 macosx: Change home view actions view controller into just the view itself
This removes the need for a view controller. Additionally also fixes
some bugs with handling of actions in the buttons

Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2024-11-19 06:56:02 +00:00
Claudio Cambra
dfd4e5a173 macosx: Set up strings on home view action buttons
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2024-11-19 06:56:02 +00:00
Claudio Cambra
f07bbb0759 macosx: Set height constraint on home view actions view
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2024-11-19 06:56:02 +00:00
Claudio Cambra
eaea49a6e6 macosx: Add outlets for action view buttons
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2024-11-19 06:56:02 +00:00
Claudio Cambra
d90310ae70 macosx: Add action outlets for home actions view buttons
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2024-11-19 06:56:02 +00:00
Claudio Cambra
e901bf2062 macosx: Deduplicate adding of custom containers to home view stack view
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2024-11-19 06:56:02 +00:00
Claudio Cambra
bedaaef9ba macosx: Add actions view to home view stack view controller
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2024-11-19 06:56:02 +00:00
Claudio Cambra
c1e445fe39 macosx: Add convenience init for home view actions view controller
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2024-11-19 06:56:02 +00:00
Claudio Cambra
ab0e8f141a macosx: Add starter VLCLibraryHomeViewActionsViewController
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2024-11-19 06:56:02 +00:00
Claudio Cambra
54ce37352a macosx: Implement basic home actions view design
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2024-11-19 06:56:02 +00:00
Claudio Cambra
2eb3878d9d macosx: Add starter VLCLibraryHomeViewActionsView XIB
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2024-11-19 06:56:02 +00:00
Claudio Cambra
d7576318dc macosx: Do not switch to idle when no more messages present
Prevents text from being shown during hide, instead keep old message

Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2024-11-17 16:40:59 +00:00
Claudio Cambra
2be266ca86 macosx: Add an info image view to replace progress indicator when loading is over in status notifier view
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2024-11-17 16:40:59 +00:00
Claudio Cambra
60fdf6f08a macosx: Add separator for status notifier view
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2024-11-17 16:40:59 +00:00
Claudio Cambra
c85753c55f macosx: Update scroll view constraints in navigation sidebar on changes of status notifier view height
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2024-11-17 16:40:59 +00:00
Claudio Cambra
79a0b6c1bc macosx: Update navigation sidebar scroll view insets depending on visibility of status notifier view
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2024-11-17 16:40:59 +00:00
Claudio Cambra
c6ff665f86 macosx: Show and hide status notifier view in navigation sidebar depending on activation/deactivation
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2024-11-17 16:40:59 +00:00
Claudio Cambra
eac2b3393c macosx: Clear prior discovery messages when starting/finishing discovery in status notified view
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2024-11-17 16:40:59 +00:00