aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples/13-menus.lisp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/13-menus.lisp')
-rw-r--r--examples/13-menus.lisp6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/13-menus.lisp b/examples/13-menus.lisp
index 66d455c..d1c5668 100644
--- a/examples/13-menus.lisp
+++ b/examples/13-menus.lisp
@@ -11,7 +11,7 @@
(defclass numbered-image (ww::image)
((n :initarg :num :reader num)))
-(ww:defhandler option-clicked
+(ww:defhandler item-clicked
(ww::on-mousedown (img)
(format t "~a was clicked~%" (num img))))
@@ -27,8 +27,8 @@
:num i
:texture (ww:get-asset "Fezghoul.png"))
do
- (ww::add-handler img #'option-clicked)
- (ww::add-menu-option vscroller img))
+ (ww::add-handler img #'item-clicked)
+ (ww::add-menu-item vscroller img))
(ww:add-unit vscroller)
(ww:refocus-on vscroller)))