X-Git-Url: https://git.hcoop.net/clinton/lisp-on-lines.git/blobdiff_plain/fb04c0a8c71cd64e3a36cfed59a0224d44de2474..1d51a2eea8537084e9e681c297422047ae858989:/src/standard-wrappers.lisp diff --git a/src/standard-wrappers.lisp b/src/standard-wrappers.lisp index 690ac6d..f54f1e6 100644 --- a/src/standard-wrappers.lisp +++ b/src/standard-wrappers.lisp @@ -25,13 +25,13 @@ (defvar *link-wrapped-p* nil) -(define-layered-class description +#+nil(define-layered-class description :in-layer wrap-link () ((link :initarg :link-action :initarg :action :initform nil :special t :accessor link-action))) -(defaction call-action-with-component-and-object ((self component) action-id object) +(defmethod/cc call-action-with-component-and-object ((self component) action-id object) (funcall (ucw::find-action (ucw::context.current-frame *context*) action-id) self object)) @@ -57,9 +57,12 @@ ;;; wrap-a-form (deflayer wrap-form) -(define-layered-class description +(defvar *in-form-p* nil) + +#+nil(define-layered-class description :in-layer wrap-form () - ((form-buttons :initarg :form-buttons :initform nil :special t :accessor form-buttons))) + ((form-buttons :initarg :form-buttons :initform nil :special t :accessor form-buttons) + (form-type :initarg :form-type :initform '