-
Notifications
You must be signed in to change notification settings - Fork 36
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
Color Picker Widget #78
Comments
Oh that would be cool. Can you point me to the place (raylib I assume) that implements that color picker? |
The color picker functions are implemented around line 3500 in raygui.h |
As for the hue selector bar, theoretically the simplest way to do that is just to embed a pregenerated image and use it as the background for a slider. |
Excellent! That code looks great, let me play around with it a little bit to make sure the function signature feels right to call. I looked at how raygui does the hue bar - they split the bar into 6 parts and draw a gradient rectangle for each. So that seems like a good strategy. |
Yes, the implementation details and signatures should probably change. I was just interested if |
Add support for a specialized color picker widget similar to the following.
.
The current implementation of a basic color picker in
src/Example.zig
looks like thisThe text was updated successfully, but these errors were encountered: