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

Replace RGBAColor Trait with something more modern. #917

Merged
merged 1 commit into from
Mar 25, 2022

Conversation

corranwebster
Copy link
Contributor

@corranwebster corranwebster commented Mar 18, 2022

This is very similar to the PyfaceColor Trait in Pyface, except that the value held is a RGBA tuple.

This makes a few changes in the way that colors are parsed, using the parser from Pyface which is a but more accepting in what it recognizes, but should match all color names (since the Pyface names were copied from Enable). It also will accept a Pyface Color object and convert it to a tuple.

Part of #417, also relevant for #913 (but not all that is needed).

This is very similar to the PyfaceColor Trait in Pyface, except that the
value held is a RGBA tuple.
@corranwebster corranwebster merged commit 371c148 into main Mar 25, 2022
@corranwebster corranwebster deleted the enh/better-rgba-color-trait branch March 29, 2022 09:54
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