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.
Now the tooltips which are shown in the Normal View are same
as the ones which are shown in Full-Screen View. Adapted the shorter version.
And also, changed the Normal View toolTip of "Fullscreen" to "Enter fullscreen"
fixes#19993
Signed-off-by: David Fuhrmann <dfuhrmann@videolan.org>
Try to fix disambiguaties by:
- Remove optional constraints, instead set width constraint to 0
to hide fullscreen button
- Decrease content hugging priority to 200 for slider (this should
always expand)
- Fix some width constraints in detached window: Each button group
does not define a width, but the (sometimes) intrinsic or
explicit size define the with of the entire group
General fixes:
- Order slider in list according to appearance
The docs for awakeFromNib say that super has to be called when
overriding awakeFromNib, this was not done in the VLCControlsBarCommon.
It should not make any difference though in this case.
This was needed for macOS < 10.7 to draw a resize control on the
bottom right corner of black windows. Starting with 10.7,
borderless windows are resizabe as well by the window resizable mask,
thus all this code can be removed now.
The sliders for seeking are continuous, that means they send events
for every action, which is useful to seek when the slider is dragged.
But when the slider is clicked, this results in two seeks nearly at the
same time to the same position.
Therefore this commit introduces a check that ignores the slider update
if it originated from a NSLeftMouseUp event to workaround that.
Ref. #17954