Changeset main,39 for main/flat-menu.lisp
- Timestamp:
- 11/08/2007 05:57:54 AM (19 years ago)
- branch-nick:
- tui-new
- revision id:
- dsowen@fugue88.ws-20071108055754-sphaa0ww9903cndr
- File:
-
- 1 edited
-
main/flat-menu.lisp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
main/flat-menu.lisp
r19 r39 55 55 (redraw-selected menu nil)) 56 56 57 (defun bound (a b c)58 (min (max a b) c))59 60 57 (defmethod (setf selected) :around (i (menu menu)) 61 (call-next-method (bound 0 i(1- (length (slot-value menu 'entries)))) menu))58 (call-next-method (bound i 0 (1- (length (slot-value menu 'entries)))) menu)) 62 59 63 60 (defmethod (setf selected) :after (i (menu menu))
Note: See TracChangeset
for help on using the changeset viewer.
