gnustep-dev
[Top][All Lists]
Advanced

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

NSButtonCell value, contents and cell type implementation rewritten


From: Quentin Mathé
Subject: NSButtonCell value, contents and cell type implementation rewritten
Date: Tue, 10 Aug 2004 13:04:15 +0200

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 :

Attachment: NSButtonCell.m
Description: Binary data

Attachment: NSButtonCell.h.patch
Description: Binary data

Attachment: NSCell.h.patch
Description: Binary data



Quentin.

--
Quentin Mathé
address@hidden

reply via email to

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