-
-
Notifications
You must be signed in to change notification settings - Fork 299
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 a prelude module for easy global imports of common stuff #10
Milestone
Comments
mitchmindtree
added a commit
to mitchmindtree/nannou
that referenced
this issue
Oct 18, 2017
This addresses and closes nannou-org#5. The examples have been updated and currently do a glob import e.g. ```rust use nannou::event::SimpleWindowEvent::*; ``` However this will probably get removed soon in favour of adding these variants to the prelude (see nannou-org#10).
mitchmindtree
added a commit
to mitchmindtree/nannou
that referenced
this issue
Oct 19, 2017
This should simplify the process of kicking off a project with nannou. At the moment I've just picked a few items which are already showing up often in the examples. I don't have a particular rule in mind yet for the kinds of items that should/shouldn't be added to the prelude. Maybe we can come up with a set of rules for this, but for now I'm sure we should be able to pick these pretty intuitively. I guess this can be thought of as a more conservative `#include ofMain.h` or Processing's list auto-included items and keywords. This closes nannou-org#10.
mitchmindtree
added a commit
to mitchmindtree/nannou
that referenced
this issue
Mar 30, 2020
Fix some panics in the optimization passes
mitchmindtree
added a commit
to mitchmindtree/nannou
that referenced
this issue
Mar 31, 2020
Fix broken link to tutorials section from welcome section, Fix warnings in create_a_project code snippet
mitchmindtree
pushed a commit
to mitchmindtree/nannou
that referenced
this issue
May 15, 2022
bump version to 0.4
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
SimpleWindowEvents
ElementState
App
Event
WindowEvent
The text was updated successfully, but these errors were encountered: