Changeset 2848
- Timestamp:
- 04/02/08 11:08:32 (9 months ago)
- Files:
-
- trunk/projects/bos/web/contract-tree.lisp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/projects/bos/web/contract-tree.lisp
r2847 r2848 24 24 ((output-images-size :initarg :output-images-size :accessor output-images-size))) 25 25 26 27 26 (defun map-children-rects (function left top width-heights depth) 28 27 "Calls FUNCTION with (x y width height depth) for each of the … … 46 45 (labels ((stick-on-last (list) 47 46 (let* ((list (copy-list list)) 48 (last list))47 (last (last list))) 49 48 (setf (cdr last) last) 50 49 list)) … … 72 71 (incf left w)))))) 73 72 (children-setf-root (node &optional root) 74 (when root (setf (root node) root)) 75 (mapc #'(lambda (node) (children-setf-root node (if root root node))) (children node))) 73 (setf (root node) root) 74 (mapc #'(lambda (child) (children-setf-root child (if root root node))) (children node)) 75 node) 76 76 (setf-root-slots (root) 77 77 (setf (output-images-size root) output-images-size)
