Skip to content
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

Streamlined implementation of mGrayCheck and IsGrayed() in option menu items #2333

Merged
merged 2 commits into from
Dec 30, 2023

Conversation

jekyllgrim
Copy link
Contributor

@jekyllgrim jekyllgrim commented Dec 30, 2023

(Updated with 2nd commit) This now adds a streamlined implementation of mGrayCheck and IsGrayed() across Option menu items. Instead of being haphazardly added to different elements, the main field and function is implemented in OptionMenuItem and used across other elements. This also adds graycheck to ScaleSlider, ColorPicker and TextField (the former two didn't have it, and the latter did but in an incomplete form where the element would become unselectable but not actually visibly greyed-out). Hopefully, I didn't miss anything.

@jekyllgrim jekyllgrim closed this Dec 30, 2023
@jekyllgrim jekyllgrim reopened this Dec 30, 2023
@jekyllgrim jekyllgrim changed the title Add graycheck to ColorPicker Streamlined implementation of mGrayCheck and IsGrayed() in option menu items Dec 30, 2023
@coelckers coelckers merged commit f8653c3 into ZDoom:master Dec 30, 2023
20 checks passed
@jekyllgrim jekyllgrim deleted the ColorPickerGraycheck branch January 2, 2024 10:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants