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

Actually implement a resize API #616

Merged
merged 10 commits into from
May 27, 2020
Merged

Actually implement a resize API #616

merged 10 commits into from
May 27, 2020

Conversation

ryanisaacg
Copy link
Owner

@ryanisaacg ryanisaacg commented May 27, 2020

#566 claimed to handle resizes. Unfortunately I had not hooked up the module graph correctly, and it turns out that code wasn't even being compiled. Whoops!

This adds the ResizeStrategy API, which allows you to generate Transforms to handle resizing of the window. Unlike in Quicksilver 0.3, where this code was all magic-behind-the-scenes, this is actually all in 'userspace.' It uses only public APIs from other Quicksilver modules.

Resolves #594
Resolves #602

At default size:
image
Scaled up:
image

Checks

  • I have updated CHANGES.md, with [BREAKING] next to all breaking changes
  • I have updated the documentation if necessary
  • If 01_square example was changed, src/lib.rs and README.md were updated

@ryanisaacg ryanisaacg marked this pull request as ready for review May 27, 2020 15:26
@ryanisaacg ryanisaacg merged commit 9a02ef9 into master May 27, 2020
@ryanisaacg ryanisaacg deleted the fix-resize branch May 27, 2020 15:55
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.

How to properly do resizing The ResizeHandler mentioned by changelog doesn't really exist yet
1 participant