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

TabStack widget; fix animations for invisible/transient toggle-boxes; revise container ctors; PixmapScaling #321

Merged
merged 19 commits into from
May 19, 2022

Conversation

dhardy
Copy link
Collaborator

@dhardy dhardy commented May 18, 2022

The main item is the introduction of a new TabStack widget. The Gallery now includes Markdown parsing and a Canvas:
tabstack

Limitation: this just uses a TextButton for tabs for now. The active tab isn't highlighted (except when the button is focussed as here).

Checkbox and radiobox theme animations are now driven by an extra parameter (time of last change) passed from the widget, since attempting to deduce this in theme code isn't reliable (this fixes the delayed animation on clicking "disabled" in the menu, then re-opening the menu).

Container widgets over a Vec of children now have constructors new() and new_vec(widgets).

What was SpriteDisplay has been simplified and improved a little, and renamed to PixmapScaling.

@dhardy dhardy merged commit 30fefd9 into master May 19, 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

1 participant