X-Git-Url: https://code.consxy.com/gitweb/gitweb.cgi?p=clnl;a=blobdiff_plain;f=src%2Fmain%2Fmain.lisp;h=920e4e8445d69143a036710ead791d7e1233d335;hp=d1ffdadf350196663fc6c5d71aeafda2fdd91c91;hb=89cb3482de1fefc2d8e5f67e1e04a0790e8cd243;hpb=bd5ae8451480d80028599e004960f683bab0ad2f diff --git a/src/main/main.lisp b/src/main/main.lisp index d1ffdad..920e4e8 100644 --- a/src/main/main.lisp +++ b/src/main/main.lisp @@ -223,7 +223,10 @@ EXAMPLES: `((clnl-interface:initialize :dims ',(clnl-model:world-dimensions model) :view ',(clnl-model:view model) - :buttons ',(clnl-model:buttons model))))))))) + :buttons ',(clnl-model:buttons model) + :textboxes ',(clnl-model:textboxes model) + :sliders ',(clnl-model:sliders model) + :switches ',(clnl-model:switches model))))))))) (setf (documentation 'model->single-form-lisp 'function) "MODEL->SINGLE-FORM-LISP MODEL &key SEED INITIALIZE-INTERFACE NETLOGO-CALLBACK => FORM @@ -278,7 +281,10 @@ DESCRIPTION: `((clnl-interface:initialize :dims ',(clnl-model:world-dimensions model) :view ',(clnl-model:view model) - :buttons ',(clnl-model:buttons model))))) + :buttons ',(clnl-model:buttons model) + :textboxes ',(clnl-model:textboxes model) + :sliders ',(clnl-model:sliders model) + :switches ',(clnl-model:switches model))))) ,@(when netlogo-callback-fn `((defun ,netlogo-callback-fn (,(intern "NETLOGO-CODE" *model-package*)) ,(netlogo-callback-body prims))))))))