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

Add window-specific view and event user function support. Add app update user function. #221

Merged
merged 2 commits into from
Dec 14, 2018

Conversation

mitchmindtree
Copy link
Member

An all_functions.rs example has been added that shows all functions
that can be registered with the app and model.

All other examples have been updated to take advantage of the new event
functions.

Functions that update the model, including the existing App event
function, now provide the model via &mut rather than by value to be
returned.

@JoshuaBatty might wanna check out all the updated NoC examples, so much nicer!

An `all_functions.rs` example has been added that shows all functions
that can be registered with the app and model.

All other examples have been updated to take advantage of the new event
functions.

Functions that update the model, including the existing App `event`
function, now provide the model via `&mut` rather than by value to be
returned.
@mitchmindtree mitchmindtree merged commit fb09bae into nannou-org:v0.9 Dec 14, 2018
@mitchmindtree mitchmindtree deleted the user_functions branch December 14, 2018 08:36
@JoshuaBatty
Copy link
Member

This is amazing! Nannou just got a whole lot easier and approachable 👍
About to pour over this epic diff for the next hour or so :)

@JoshuaBatty
Copy link
Member

Just finished looking over all this, these examples are looking SO much neater now!

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