Changeset 792
- Timestamp:
- Apr 30, 2004, 5:49:42 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/ccl/examples/cocoa-window.lisp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ccl/examples/cocoa-window.lisp
r761 r792 348 348 (defun create-text-attributes (&key (font (default-font)) 349 349 (line-break-mode :char) 350 (color nil)) 350 (color nil) 351 (obliqueness nil) 352 (stroke-width nil)) 351 353 (let* ((dict (make-objc-instance 352 354 'ns-mutable-dictionary … … 359 361 (when color 360 362 (send dict :set-object color :for-key #@"NSColor")) 363 (when stroke-width 364 (send dict :set-object (make-objc-instance 'ns:ns-number 365 :with-float (float stroke-width)) 366 :for-key #@"NSStrokeWidth")) 367 (when obliqueness 368 (send dict :set-object (make-objc-instance 'ns:ns-number 369 :with-float (float obliqueness)) 370 :for-key #@"NSObliqueness")) 361 371 dict)) 362 372
Note:
See TracChangeset
for help on using the changeset viewer.
