Send Event to breakout main

This commit is contained in:
Richard Feldman 2022-04-10 10:13:33 -04:00
parent 5de57ef30a
commit 999dbfd9d1
No known key found for this signature in database
GPG key ID: 7E4127D1E4241798
5 changed files with 131 additions and 77 deletions

View file

@ -4,12 +4,12 @@ mod roc;
#[no_mangle]
pub extern "C" fn rust_main() -> i32 {
let state = roc::State {
let bounds = roc::Bounds {
width: 1900.0,
height: 1000.0,
};
gui::run_event_loop("RocOut!", state).expect("Error running event loop");
gui::run_event_loop("RocOut!", bounds).expect("Error running event loop");
// Exit code
0