From 08fab1825d70da440a935fc91ed8dc48a259daf3 Mon Sep 17 00:00:00 2001 From: ronso0 Date: Sun, 10 Mar 2024 18:36:45 +0100 Subject: [PATCH 1/4] LateNight: add 4-state button --- .../controls/button_4state_display.xml | 60 +++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 res/skins/LateNight/controls/button_4state_display.xml diff --git a/res/skins/LateNight/controls/button_4state_display.xml b/res/skins/LateNight/controls/button_4state_display.xml new file mode 100644 index 00000000000..55c2513ab01 --- /dev/null +++ b/res/skins/LateNight/controls/button_4state_display.xml @@ -0,0 +1,60 @@ + + From 03861128191478883a889bc527866c32d7c1a382 Mon Sep 17 00:00:00 2001 From: ronso0 Date: Sun, 10 Mar 2024 18:37:41 +0100 Subject: [PATCH 2/4] LateNight: use 4-state button for broadcast toggle --- res/skins/LateNight/toolbar.xml | 40 +++++++++------------------------ 1 file changed, 11 insertions(+), 29 deletions(-) diff --git a/res/skins/LateNight/toolbar.xml b/res/skins/LateNight/toolbar.xml index c6582ff2139..c1d84b372ed 100644 --- a/res/skins/LateNight/toolbar.xml +++ b/res/skins/LateNight/toolbar.xml @@ -270,35 +270,17 @@ - - 72f,20f - broadcast_enabled - BroadcastButton - 4 - - 0 - ON AIR - - - 1 - ... - - - 2 - ON AIR - - - 3 - --- - - - [Shoutcast],enabled - LeftButton - - - [Shoutcast],status - - + ToolbarSeparator From d993ae4af995552149a82231008032953533c768 Mon Sep 17 00:00:00 2001 From: ronso0 Date: Sun, 10 Mar 2024 18:38:46 +0100 Subject: [PATCH 3/4] tooltips: add "vinylcontrol_enabled_status" (vc_enabled + vc_status) --- src/skin/legacy/tooltips.cpp | 29 ++++++++++++++++++++--------- 1 file changed, 20 insertions(+), 9 deletions(-) diff --git a/src/skin/legacy/tooltips.cpp b/src/skin/legacy/tooltips.cpp index 388f8b49da8..7abca2473bf 100644 --- a/src/skin/legacy/tooltips.cpp +++ b/src/skin/legacy/tooltips.cpp @@ -670,17 +670,28 @@ void Tooltips::addStandardTooltips() { << tr("Enable Passthrough") << tr("When enabled, the deck directly plays the audio arriving on the vinyl input."); - add("vinylcontrol_enabled") - << tr("Enable Vinyl Control") - << tr("When disabled, the track is controlled by Mixxx playback controls.") - << tr("When enabled, the track responds to external vinyl control."); + QStringList vcStatus; + vcStatus << tr("Provides visual feedback for vinyl control status:") + << tr("Green for control enabled.") + << tr("Blinking yellow for when the needle reaches the end of the " + "record.") + << tr("Red for when needle skip has been detected."); + QStringList vcEnabled; + vcEnabled << tr("Enable Vinyl Control") + << tr("When disabled, the track is controlled by Mixxx playback " + "controls.") + << tr("When enabled, the track responds to external vinyl " + "control."); + + add("vinylcontrol_enabled") << vcEnabled; add("vinylcontrol_status") - << tr("Vinyl Status") - << tr("Provides visual feedback for vinyl control status:") - << tr("Green for control enabled.") - << tr("Blinking yellow for when the needle reaches the end of the record.") - << tr("Blue for passthrough enabled."); + << tr("Vinyl Status") << vcStatus; + + add("vinylcontrol_enabled_status") + << vcEnabled + << " " // generates a linebreak. \n would result in two linebrekas. + << vcStatus; add("vinylcontrol_mode") << tr("Vinyl Control Mode") From 856cc352e7cee455cb5a69c217752834803f32fe Mon Sep 17 00:00:00 2001 From: ronso0 Date: Sun, 10 Mar 2024 19:09:07 +0100 Subject: [PATCH 4/4] LateNight: merge vinyl control status into toggle --- res/skins/LateNight/decks/vinyl_controls.xml | 58 +++++++++----------- res/skins/LateNight/style_classic.qss | 30 +++++++--- res/skins/LateNight/style_palemoon.qss | 35 ++++++++---- 3 files changed, 72 insertions(+), 51 deletions(-) diff --git a/res/skins/LateNight/decks/vinyl_controls.xml b/res/skins/LateNight/decks/vinyl_controls.xml index 7922930304c..88e5e93bf42 100644 --- a/res/skins/LateNight/decks/vinyl_controls.xml +++ b/res/skins/LateNight/decks/vinyl_controls.xml @@ -9,27 +9,6 @@ horizontal f,f - - 2f,0min - - - VinylStatus - 18f,18f - vinylcontrol_status - - - skins:LateNight//style/vinyl_control_0.svg - - skins:LateNight//style/vinyl_control_1.svg - - skins:LateNight//style/vinyl_control_2.svg - - skins:LateNight//style/vinyl_control_3.svg - - ,vinylcontrol_status - - - 3f,0min @@ -38,17 +17,32 @@ horizontal min,f - - + + + stacked + 40f,20f + + + + + + +