Skip to content

Commit

Permalink
Doc updates
Browse files Browse the repository at this point in the history
  • Loading branch information
QuantumBadger committed Mar 4, 2021
1 parent b5c8dfc commit da66ae8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ use Speedy2D only for rendering, you can disable the `windowing` feature.
## Example code

* [Hello world, with text rendering](examples/hello_world.rs)
* [Animation](examples/animation.rs)
* [All input callbacks](examples/input_callbacks.rs)
* [User-generated events](examples/user_events.rs)

Expand Down
1 change: 1 addition & 0 deletions examples/user_events.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ fn main()
{
simple_logger::SimpleLogger::new().init().unwrap();

// Change "String" below to any event type of your choice
let window: Window<String> = Window::new_with_user_events(
"Speedy2D: User Events Example",
WindowCreationOptions::new_windowed(
Expand Down

0 comments on commit da66ae8

Please sign in to comment.