gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

drawTitle:withFrame:inView... should it return NSRect...


From: Gregory Casamento
Subject: drawTitle:withFrame:inView... should it return NSRect...
Date: Mon, 18 Aug 2014 16:31:25 -0400

Our current implementation is declared as such:

- (void) drawTitle: (NSAttributedString*)titleToDisplay 
         withFrame: (NSRect)cellFrame 
            inView: (NSView*)controlView

https://developer.apple.com/library/mac/documentation/cocoa/reference/applicationkit/classes/NSButtonCell_Class/Reference/Reference.html#//apple_ref/occ/instm/NSButtonCell/drawTitle:withFrame:inView:

​The version in the documentation returns NSRect.

Should we change ours to do this as well?  Any opinions?​

​Thanks, GC
--
Gregory Casamento
Open Logic Corporation, Principal Consultant
yahoo/skype: greg_casamento, aol: gjcasa
(240)274-9630 (Cell)
http://www.gnustep.org
http://heronsperch.blogspot.com

reply via email to

[Prev in Thread] Current Thread [Next in Thread]