From c32f78283706c3249ddb73577eff5297cd14390e Mon Sep 17 00:00:00 2001 From: Colin Okay Date: Sat, 23 Jul 2022 14:09:27 -0500 Subject: [change] option->item in menu --- examples/13-menus.lisp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'examples/13-menus.lisp') 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))) -- cgit v1.2.3