Add examples/breakout

This commit is contained in:
Richard Feldman 2022-04-04 10:02:13 -04:00
parent 97fff2e84d
commit a111f510a4
No known key found for this signature in database
GPG key ID: 7E4127D1E4241798
27 changed files with 5036 additions and 0 deletions

View file

@ -0,0 +1,17 @@
mod focus;
mod graphics;
mod gui;
mod roc;
#[no_mangle]
pub extern "C" fn rust_main() -> i32 {
let state = roc::State {
width: 1900.0,
height: 1000.0,
};
gui::run_event_loop("test title", state).expect("Error running event loop");
// Exit code
0
}