aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples/04-a-button.lisp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/04-a-button.lisp')
-rw-r--r--examples/04-a-button.lisp9
1 files changed, 4 insertions, 5 deletions
diff --git a/examples/04-a-button.lisp b/examples/04-a-button.lisp
index be2ec24..b96364e 100644
--- a/examples/04-a-button.lisp
+++ b/examples/04-a-button.lisp
@@ -1,10 +1,10 @@
;;;; examples/04-a-button.lisp
-(defpackage #:ww.example/4
+(defpackage #:ww.examples/4
(:use #:cl)
(:export #:start))
-(in-package #:ww.example/4)
+(in-package #:ww.examples/4)
(defclass app-with-buttons (ww::application) ())
@@ -22,11 +22,10 @@
(ww::y b) 100
(ww::x b2) 400
(ww::y b2) 100)
-
-
+ ;; make bigger
(ww::scale-by b 4.0)
(ww::scale-by b2 3)
-
+ ;; add to scene
(ww::add-unit app b2)
(ww::add-unit app b)))