gnustep-dev
[Top][All Lists]
Advanced

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

Re: NSButtonCell value, contents and cell type implementation rewritten


From: Quentin Mathé
Subject: Re: NSButtonCell value, contents and cell type implementation rewritten
Date: Mon, 30 Aug 2004 16:18:07 +0200

Le 10 août 04, à 13:04, Quentin Mathé a écrit :

Hi everybody,

As a continuation of the thread :
Rép : [PATCH] Proposal to fix NSButtonCell issue with -setFont -setTitle:

I have partially rewritten NSButtonCell to support value related methods which are bound to the cell state (on, off and mixed) in order to match Cocoa and OpenStep behavior (this rewrite is based on an initial patch by Matt Rice); otherwise as a side effect, title related methods have been rewritten and I also fixed « -image returns nil » issue (aka cell type problem) which was the goal of my previously sent patch. I have done some methods disposition changes to improve the readability. Here is the new NSButtonCell.m file with two needed NSCell.h NSButtonCell.h patches :

<NSButtonCell.m><NSButtonCell.h.patch><NSCell.h.patch>

Well, here is the NSButtonCell.m patch but without the new methods disposition in order to ease the comparison between the previous NSButtonCell.m version and this new version…

Attachment: NSButtonCell.m.patch
Description: Binary data

Attachment: NSButtonCell.h.patch
Description: Binary data

Attachment: NSCell.h.patch
Description: Binary data



hmm, Alexander, is this ok to commit ?

Quentin.

--
Quentin Mathé
address@hidden

reply via email to

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