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

color! macro #1227

Merged
merged 3 commits into from
Sep 23, 2022
Merged

color! macro #1227

merged 3 commits into from
Sep 23, 2022

Conversation

LordRatte
Copy link
Contributor

@LordRatte LordRatte commented Jan 31, 2022

I spotted #375 and thought maybe a macro could do the trick.

Here is an idea of how I thought it could work but I'm very new to this so there could be any number of problems.

I got the idea from macroquad

Closes #375.

Copy link
Member

@hecrj hecrj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks cool! 🎉

I think this should fit right in, since we introduced some macro helpers in #1393.

@hecrj hecrj added improvement An internal improvement developer experience labels Sep 23, 2022
@hecrj hecrj added this to the 0.5.0 milestone Sep 23, 2022
@hecrj hecrj changed the title WIP: colour macro color! macro Sep 23, 2022
@hecrj hecrj merged commit 3c9af1e into iced-rs:master Sep 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add hex constructors for Color
2 participants