Re: Custom NSColorWell icon
Re: Custom NSColorWell icon
- Subject: Re: Custom NSColorWell icon
- From: Henry McGilton <email@hidden>
- Date: Mon, 13 Oct 2003 07:39:03 -0700
On Monday, October 13, 2003, at 06:33 AM, Florian Soenens wrote:
Hi all,
i have subclassed NSColorWell, to give it a custom appearance.
In the drawRect method i do my drawing code to fill the rect with a
custom image.
This works fine, untill i click the colorwell and change the color.
What happens then, is that a small square (in the chosen color) gets
drawn above the image i have set.
Are there other methods i should override? Anyone has experience with
this issue?
You may need to override the drawWellInside: method as well.
Best Wishes,
........ Henry
===============================+============================
Henry McGilton, Boulevardier | Trilithon Software
Objective-C/Java Composer | Seroia Research
-------------------------------+----------------------------
mailto:email@hidden |
http://www.trilithon.com
|
===============================+============================
===============================+============================
Henry McGilton, Boulevardier | Trilithon Software
Objective-C/Java Composer | Seroia Research
-------------------------------+----------------------------
mailto:email@hidden |
http://www.trilithon.com
|
===============================+============================
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.