summaryrefslogtreecommitdiff
path: root/examples/nine-patch.scm
diff options
context:
space:
mode:
Diffstat (limited to 'examples/nine-patch.scm')
-rw-r--r--examples/nine-patch.scm17
1 files changed, 0 insertions, 17 deletions
diff --git a/examples/nine-patch.scm b/examples/nine-patch.scm
deleted file mode 100644
index d8988c8..0000000
--- a/examples/nine-patch.scm
+++ /dev/null
@@ -1,17 +0,0 @@
-(use-modules (chickadee)
- (chickadee math rect)
- (chickadee math vector)
- (chickadee graphics font)
- (chickadee graphics sprite)
- (chickadee graphics texture))
-
-(define image #f)
-
-(define (load)
- (set! image (load-image "images/dialog-box.png")))
-
-(define (draw alpha)
- (draw-nine-patch image (make-rect 192.0 192.0 256.0 96.0) #:margin 6)
- (draw-text "I am error." #v(200.0 266.0)))
-
-(run-game #:load load #:draw draw)