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

Iced 0.5 upgrade #24

Merged
merged 32 commits into from
Nov 29, 2022
Merged

Iced 0.5 upgrade #24

merged 32 commits into from
Nov 29, 2022

Conversation

flomang
Copy link
Collaborator

@flomang flomang commented Nov 28, 2022

An Incantation of Sorts:

It took me some time to figure out a quaint way to migrate the custom widgets. Alas, the path is alight! This deprecates the out of date method of styling (src/gui/style.rs). The new method of styling is implemented under the theme module (core/src/theme). I still have more styles to migrate from the original style.rs file. I'll be doing that as we continue. Our styling should be much more maintainable now instead of having them in one ginormous file. Aside from this, the other major improvement was that this eliminates the need to pass the color_palette param everywhere, and therefore, it was dropped.

…as a pain to deal with. Having the mouse and draw logic under a single roof is going to be easier and cleaner to deal with.
… - the mouse_interaction and draw implmentations have been consolidated into the component itself.
@yeastplume
Copy link
Member

Excellent! Great job and thanks for doing this. Will merge now and we can perform any remaining fixes and tweaks as we go.

@yeastplume yeastplume merged commit ff5913e into mimblewimble:master Nov 29, 2022
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.

None yet

2 participants