Changeset 5914


Ignore:
Timestamp:
Feb 13, 2007, 5:10:24 PM (18 years ago)
Author:
Gary Byers
Message:

A little bit of cgfloat stuff; there are more/other float-size issues
deeper down in the code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ccl/examples/rubix/rubix.lisp

    r2027 r5914  
    226226    ;; Q: why slet here?
    227227    (ccl::slet ((w-frame (ccl::send w-content-view 'frame)))
    228       (ccl::slet ((glview-rect (ccl::ns-make-rect *aluminum-margin*
    229                                         *aluminum-margin*
    230                                         (- (pref w-frame :<NSR>ect.size.width)
    231                                            (* 2 *aluminum-margin*))
    232                                         (- (pref w-frame :<NSR>ect.size.height)
    233                                            *aluminum-margin*))))
     228      (ccl::slet ((glview-rect (ccl::ns-make-rect
     229                                (float *aluminum-margin* ccl::+cgfloat-zero+)
     230                                (float *aluminum-margin* ccl::+cgfloat-zero+)
     231                                (- (pref w-frame :<NSR>ect.size.width)
     232                                   (* 2 *aluminum-margin*))
     233                                (- (pref w-frame :<NSR>ect.size.height)
     234                                   *aluminum-margin*))))
    234235        ;; Q: why make-objc-instance here?
    235236        (let ((glview (ccl::send (ccl::send (ccl::@class rubix-opengl-view) 'alloc)
Note: See TracChangeset for help on using the changeset viewer.