Changeset main,74 for main/form.lisp
- Timestamp:
- 11/30/2007 05:24:25 AM (19 years ago)
- branch-nick:
- tui
- revision id:
- dsowen@fugue88.ws-20071130052425-7zefu1mg36np1q63
- File:
-
- 1 edited
-
main/form.lisp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
main/form.lisp
r64 r74 63 63 :display-width ,display-width :data-width ,data-width 64 64 :read-only ,read-only 65 :inactive-background ',inactive-background66 :active-background ',active-background))65 :inactive-background (list ,@inactive-background) 66 :active-background (list ,@active-background))) 67 67 68 68 (defun make-numberbox-def (row column name display-width … … 76 76 :display-width ,display-width :data-width ,data-width 77 77 :precision ,precision :read-only ,read-only 78 :inactive-background ',inactive-background79 :active-background ',active-background))78 :inactive-background (list ,@inactive-background) 79 :active-background (list ,@active-background))) 80 80 81 81 (defun parse-widget-form (widget-form) … … 91 91 (defmacro defform (name (&rest options) &body widgets) 92 92 "Each widget is one of: 93 -(:label row column text)94 -(:textbox row column name display-width &key data-width read-only)95 -(:numberbox row column name display-width &key data-width precision read-only)"96 (destructuring-bind (&key ((:inactive-widget-background *default-inactive-widget-background*) '(#\ Space0))97 ((:active-widget-background *default-active-widget-background*) '(#\ Space0)))93 * (:label row column text) 94 * (:textbox row column name display-width &key data-width read-only) 95 * (:numberbox row column name display-width &key data-width precision read-only)" 96 (destructuring-bind (&key ((:inactive-widget-background *default-inactive-widget-background*) '(#\Nul 0)) 97 ((:active-widget-background *default-active-widget-background*) '(#\Nul 0))) 98 98 options 99 99 (with-gensyms (elements)
Note: See TracChangeset
for help on using the changeset viewer.
