Steve Lhomme
65a7f01720
meson: add nasm support
2 years ago
Steve Lhomme
24fc5b7de4
configure: remove unused ARCH_X86_32 asm define
2 years ago
Steve Lhomme
d80c0f81cb
deinterlace: only rely on x86inc.asm ARCH_X86_64 define
2 years ago
Steve Lhomme
bee0a17a3e
meson: don't consider winpthread as a runtime library on Windows
We don't use it unless it's forced by a contrib.
It detects some clock API that are only available with winpthread.
If a contrib uses it, it should provide the link with pthread.
2 years ago
Claudio Cambra
5314b9a1ca
macosx: Unify open stream actions' wording across the gui
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2 years ago
Claudio Cambra
61c01e2fc6
macosx: Centre align text on action button cells
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2 years ago
Claudio Cambra
c8076d398b
macosx: Make colour of icons in action button cells a bit more subtle
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2 years ago
Claudio Cambra
9c7dcaa7f1
macosx: Add a subtler accent colour
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2 years ago
Claudio Cambra
10fdc79c8f
macosx: Cache the drawn image if recreation is not necessary
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2 years ago
Claudio Cambra
699757f5c2
macosx: Provide some visual feedback in action button cell when clicked
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2 years ago
Claudio Cambra
e19e679b1d
macosx: Unify definition of border thicknesses
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2 years ago
Claudio Cambra
ec8f00a02a
macosx: Make corners of action button cell rounded
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2 years ago
Claudio Cambra
32a5ac86c6
macosx: Move VLCImageView corner radius value into VLCLibraryUIUnits
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2 years ago
Claudio Cambra
085693f8ed
macosx: Improve image vertical spacing in action button cell
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2 years ago
Claudio Cambra
9bf3e17b06
macosx: Make all actions in actions view xib use new action button cell
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2 years ago
Claudio Cambra
786b160a3a
macosx: Add some padding to the action button cell title
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2 years ago
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>
2 years ago
Claudio Cambra
e0f919a38a
macosx: Define and reuse title height instead of accessing each time
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2 years ago
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>
2 years ago
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>
2 years ago
Claudio Cambra
3be2b80f0f
macosx: Draw title into action button cell
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2 years ago
Claudio Cambra
1c7546ae7a
macosx: Scale the action button cell image proportionally
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2 years ago
Claudio Cambra
39fdce85a3
macosx: Draw accent-coloured image in action button cell
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2 years ago
Claudio Cambra
9d5db25879
macosx: Draw cell image within action cell
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2 years ago
Claudio Cambra
d6c7202f78
macosx: Implement drawing of basic background for action button cell
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2 years ago
Claudio Cambra
af34283ee7
macosx: Add starter VLCLibraryHomeViewActionButtonCell
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2 years ago
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>
2 years ago
Claudio Cambra
dfd4e5a173
macosx: Set up strings on home view action buttons
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2 years ago
Claudio Cambra
f07bbb0759
macosx: Set height constraint on home view actions view
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2 years ago
Claudio Cambra
eaea49a6e6
macosx: Add outlets for action view buttons
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2 years ago
Claudio Cambra
d90310ae70
macosx: Add action outlets for home actions view buttons
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2 years ago
Claudio Cambra
e901bf2062
macosx: Deduplicate adding of custom containers to home view stack view
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2 years ago
Claudio Cambra
bedaaef9ba
macosx: Add actions view to home view stack view controller
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2 years ago
Claudio Cambra
c1e445fe39
macosx: Add convenience init for home view actions view controller
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2 years ago
Claudio Cambra
ab0e8f141a
macosx: Add starter VLCLibraryHomeViewActionsViewController
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2 years ago
Claudio Cambra
54ce37352a
macosx: Implement basic home actions view design
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2 years ago
Claudio Cambra
2eb3878d9d
macosx: Add starter VLCLibraryHomeViewActionsView XIB
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2 years ago
Fatih Uzunoglu
db55a1497b
qt: restore interface window geometry before it is shown
... so that the interface window does not change its size
from the default size the platform window determines to
use.
Currently, the interface window gets resized immediately
after it is shown. This does not make any sense, the
target size should be set before for the window so that
the window is shown appropriately when it becomes visible.
2 years ago
Fatih Uzunoglu
6e136d2346
qt: check for frameless window hint when probing Win11 22H2 window backdrop effect
Backdrop effect needs the interface window to be translucent, as we want the DWM
composited backdrop effect to pass through.
It is additionally required to use `Qt::FramelessWindowHint` for transparent
windows on Windows, otherwise artifacts may occur. Since this flag is explicitly
not used on Windows unlike other platforms, this change effectively means that
the native effect is not going to be used.
It is not clear why `Qt::FramelessWindowHint` is not used on Windows when CSD
is in use, because it is the canonical way of making a QWindow frameless.
2 years ago
Fatih Uzunoglu
96b74dc604
qml: do not override `dragStarted()` and `dragStopped()` signal of Flickable
These signals seem to be added long time ago to Flickable but have not
been documented until recently, which explains why such names are used
here.
2 years ago
Fatih Uzunoglu
74c2000010
qt: do not convert rvalue into pointer in ModelRecoveryAgent
2 years ago
Fatih Uzunoglu
7fd98ed1c4
qt: do not serialize model for recovery if it is empty
2 years ago
Fatih Uzunoglu
93ad175b33
qt: return error code in `PlaylistController::serialize()`
2 years ago
Fatih Uzunoglu
a374c46d0b
qml: use window popup for ToolTipExt with Qt 6.8
2 years ago
Fatih Uzunoglu
d17f538062
qml: do not offset the arrow in PointingTooltip when not necessary
Offsetting necessary when the popup is in a separate window, and
can cause issues if tool tip have fade animations.
2 years ago
Fatih Uzunoglu
554ab5d40f
qml: calculate height properly in PointingTooltip
Height should take the arrow area into consideration.
2 years ago
Steve Lhomme
d689072f0d
win32: thread: don't redefine SetThreadDescription with newer mingw-w64
Eventually the check can go away.
2 years ago
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>
2 years ago
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>
2 years ago
Claudio Cambra
60fdf6f08a
macosx: Add separator for status notifier view
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2 years ago