Changeset 456
- Timestamp:
- Feb 1, 2004, 11:38:21 AM (21 years ago)
- File:
-
- 1 edited
-
trunk/ccl/examples/tiny.lisp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ccl/examples/tiny.lisp
r6 r456 26 26 27 27 ;;; Define the DemoView class 28 ;;; NOTE: This will be replaced by a DEFCLASS once ObjC objects have been29 ;;; integrated into CLOS30 28 31 (def-objc-class demo-view ns-view) 29 (defclass demo-view (ns:ns-view) 30 () 31 (:metaclass ns:+ns-object)) 32 32 33 33 … … 74 74 (with-autorelease-pool 75 75 (slet ((r (ns-make-rect 100.0 350.0 400.0 400.0))) 76 (let ((w (make- objc-instance77 'ns -window76 (let ((w (make-instance 77 'ns:ns-window 78 78 :with-content-rect r 79 79 :style-mask (logior #$NSTitledWindowMask … … 83 83 :defer nil))) 84 84 (send w :set-title #@"Tiny Window Application") 85 (let ((my-view (make- objc-instance 'demo-view :with-frame r)))85 (let ((my-view (make-instance 'demo-view :with-frame r))) 86 86 (send w :set-content-view my-view) 87 87 (send w :set-delegate my-view))
Note:
See TracChangeset
for help on using the changeset viewer.
