This commit is contained in:
Richard Feldman 2022-01-23 09:55:04 -05:00
parent 8f91574629
commit ff082cb98d
No known key found for this signature in database
GPG key ID: 7E4127D1E4241798
22 changed files with 2 additions and 8 deletions

View file

@ -3,10 +3,4 @@ app "hello-rust"
imports [] imports []
provides [ render ] to pf provides [ render ] to pf
greeting = render = "Hello Roc GUI"
hi = "Hello"
name = "World!"
"\(hi), \(name)!\n"
render = greeting

View file

@ -27,7 +27,7 @@ fn run_event_loop(title: &str) -> Result<(), Box<dyn Error>> {
let window = winit::window::WindowBuilder::new() let window = winit::window::WindowBuilder::new()
.with_inner_size(PhysicalSize::new(1900.0, 1000.0)) .with_inner_size(PhysicalSize::new(1900.0, 1000.0))
.with_title("The Roc Editor - Work In Progress") .with_title(title)
.build(&event_loop) .build(&event_loop)
.unwrap(); .unwrap();