aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples/04-a-button.lisp
diff options
context:
space:
mode:
authorColin Okay <colin@cicadas.surf>2022-06-30 12:22:30 -0500
committerColin Okay <colin@cicadas.surf>2022-06-30 12:22:30 -0500
commitf93d073f8cd06fbccb1285ae04c8b9d2d5c5a7b0 (patch)
tree8dd5cabb9dd53d7b29a7ad0377648683de62b643 /examples/04-a-button.lisp
parent2c1cb6075ea5cf3544491a89a544d2dfc6071567 (diff)
[rename] ww.example/4 to ww.examples/4
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)))