mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-02 00:01:16 +00:00
Send Event to breakout main
This commit is contained in:
parent
5de57ef30a
commit
999dbfd9d1
5 changed files with 131 additions and 77 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue