Skip to content

Add RGB% mode to Global Color Picker (#18269) #18855

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

JohnRhs
Copy link

@JohnRhs JohnRhs commented May 22, 2025

Summary

This Merge Request adds a new color model to the Global Color Picker: RGB%.
It displays RGB values as percentages (0–100%) instead of raw 0–255 values.

Implementation details

  • Added DT_LIB_COLORPICKER_MODEL_RGB_PERCENT to colorpicker.c
  • Label: RGB%
  • Values formatted as floating-point percentages with one decimal

Related issue

Closes #18269

@JohnRhs
Copy link
Author

JohnRhs commented May 22, 2025

I have opened a Merge Request that implements this feature : #18855

Let me know if any changes are needed!

@TurboGit
Copy link
Member

@JohnRhs : Thanks, just a side note that we are close to 5.2 release and in feature freeze mode. This will be integrated for 5.4. Merging for 5.4 will start in July.

@TurboGit TurboGit added feature: enhancement current features to improve priority: low core features work as expected, only secondary/optional features don't scope: UI user interface and interactions release notes: pending labels May 22, 2025
@JohnRhs
Copy link
Author

JohnRhs commented May 22, 2025

@JohnRhs : Thanks, just a side note that we are close to 5.2 release and in feature freeze mode. This will be integrated for 5.4. Merging for 5.4 will start in July.

Okay, got it. Thanks a lot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature: enhancement current features to improve priority: low core features work as expected, only secondary/optional features don't release notes: pending scope: UI user interface and interactions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add RGB percentages as an option to the Global Color Picker
2 participants