[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
NSStepper with custom colours
From: |
Ingolf Jandt |
Subject: |
NSStepper with custom colours |
Date: |
Wed, 22 Mar 2006 03:49:33 +0100 |
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'.)
______________________________________________________________
Verschicken Sie romantische, coole und witzige Bilder per SMS!
Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193
NSStepperCell.m.diff
Description: Text Data