Re: radio button contrast
Re: radio button contrast
- Subject: Re: radio button contrast
- From: "J.E. Schotsman" <email@hidden>
- Date: Tue, 06 Dec 2016 18:53:41 +0100
> On 05 Dec 2016, at 17:23, J.E. Schotsman <email@hidden> wrote:
>
> Hello,
>
> I intend to increase contrast of inactive radio buttons a little because they are hardly legible.
> The idea is to draw to a bitmap, increase contrast, draw to screen.
> To my surprise this already increases contrast without any manipulation of the bitmap.
> What is going on here?
To answer my own question, I forgot to clear the bitmap each time before drawing.
Also the bitmap itself needs to be renewed each time in order to force regeneration of its CGImage.
Jan E.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden