]> git.jsancho.org Git - gacela.git/blobdiff - examples/01-hello-world/01-hello-world.scm
Write window declarations using a syntax
[gacela.git] / examples / 01-hello-world / 01-hello-world.scm
index fd349c44c1b947a48cf05a60417efee44cbc45ea..61263f13ed08f72a263e2a54b8a66181c602e3c8 100644 (file)
@@ -19,4 +19,6 @@
 
 (use-modules (gacela))
 
-(run-scene (import-bitmap "hello-world.bmp"))
+(display-scene
+ (window ((resolution '(640 480)))
+   (bitmap "hello-world.bmp")))