discuss-gnustep
[Top][All Lists]
Advanced

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

Re: FW: NSStepper with custom colours


From: Fred Kiefer
Subject: Re: FW: NSStepper with custom colours
Date: Fri, 24 Mar 2006 01:06:07 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050921

Submitted in a altered form. Your patch was drawing more frame and then
overwritting it with the fill colour.

Cheers
Fred

Ingolf Jandt wrote:
> Some mails of mine to the lists seem never to arrive...
> A mail I sent the night before yesterday:
> 
> 
>> -----Ursprüngliche Nachricht-----
>> Von: "Ingolf Jandt" <i.jandt@web.de>
>> Gesendet: 22.03.06 03:49:33
>> An: discuss-gnustep@gnu.org
>> Betreff: NSStepper with custom colours
> 
>> I've attached a patch for NSStepperCell.m modifying its drawing functions to 
>> use NS.. / GS.. for the background and thus making NSStepper follow the 
>> colour setup. (Tested with different colour schemes and also with Camaelon.)
>>
>> It might have been more elegant to rewrite the foreground drawing code, too. 
>> But I did not see enough reason to do so, as
>> - it works
>> - other widgets seem to mix NS... and PS... code, too.
>>
>> It would be nice if someone (Nicolas?) could rewiew the patch and submit it 
>> if appropriate.
>>
>> ingolf
>>
>> (ps: I hope I have made the diff correctly. I did 'svn diff --old 
>> NSStepperCell.m'.)
>>





reply via email to

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