-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CO Renaming (Pt. 2): Skin Controls #11996
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add these 3 legacy CO names to ControlObjectAliasTest
too.
We can't, Also, only |
This allows testing them separately from the `CoreServices`.
Alright, I moved the CO creation into a separate class and added a test for the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, LGTM
Except we could move the VC skin control, too.
src/uicontrols.cpp
Outdated
ConfigKey(QStringLiteral("[VinylControl]"), | ||
QStringLiteral("show_vinylcontrol")), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
controlpickermenu.cpp still uses VINYL_PREF_KEY
Shouldn't we move this to the Skin
group as well?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds reasonable. The same applies to the other COs in uicontrols.cpp
.
I only renamed the COs that had to be renamed, but if we want to make stuff consistent, I would propose this:
Old Name | New Name |
---|---|
[EffectRack1],show |
[Skin],show_effectrack |
[Library],show_coverart |
[Skin],show_library_coverart |
[Microphone],show_microphone |
[Skin],show_microphone |
[PreviewDeck],show_previewdeck |
[Skin],show_previewdeck |
[Samplers],show_samplers |
[Skin],show_samplers |
[VinylControl],show_vinylcontrol |
[Skin],show_vinylcontrol |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, sure, go ahead! IMO it doesn't make much sense binding skin controls to these engine groups.
I didn't dare to propose changing all those atm to not slow down your renaming rush ; )
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, sure, go ahead!
If everyone agrees of course!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done. Note that used show_microphones
and show_previewdecks
(with an additional s
at the end) to match the plural in show_samplers
. Our current skins show multiple microphones anyway, so it fits better. Only a single preview deck is used, but If some skin designer wants to use multiple, why not (we support 4 IIRC)?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thank you.
This PR is part of the ongoing effort to remove offensive language from the Mixxx codebase (#11931).
This takes care of the skin control renamings discussed in #11960 (comment).
[Master],maximize_library
[Skin],show_maximized_library
[Master],show_mixer
[Skin],show_mixer
[Master],skin_settings
[Skin],show_settings