Changeset 6797


Ignore:
Timestamp:
Jul 8, 2007, 11:13:44 PM (17 years ago)
Author:
Gary Byers
Message:

Handle :color default values without expecting pointers to persist
across sessions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/ide-1.0/ccl/examples/cocoa-defaults.lisp

    r6758 r6797  
    5555                                          :doc doc
    5656                                          :change-hook change-hook))
    57   value)
     57  (if (eq type :color)
     58    (apply #'color-values-to-nscolor value)
     59    value))
    5860
    5961;;; Names which contain #\* confuse Cocoa Bindings.
     
    126128                               (:color (#/archivedDataWithRootObject:
    127129                                        ns:ns-archiver
    128                                         value))
     130                                        (apply #'color-values-to-nscolor value)))
    129131                               (:bool (if value #@"YES" #@"NO"))
    130132                               (t
Note: See TracChangeset for help on using the changeset viewer.