Re: Transparent color over an image: how to prevent a hole?
Re: Transparent color over an image: how to prevent a hole?
- Subject: Re: Transparent color over an image: how to prevent a hole?
- From: email@hidden
- Date: Wed, 24 Sep 2003 16:55:31 -0700 (PDT)
The application is a terminal emulator (iTerm.app). I want to support the
blinking functionality of a vt102 terminal. iTerm already does that by setting
the foreground and background color to the same color in a timer thread, but
there are some visual artifacts when there is a background image.
Having to draw and "not draw" the text to get blinking can be tedious and impact
performance.
Ujwal
On Wed, 24 Sep 2003 11:54:09 -0700, Greg Titus wrote:
>
>
> I have some text over an image, and I would like to make the text
>
> blink by
>
> periodically making it disappear. I tried to do this by setting the
>
> NSBackgroundColorAttributeName and NSForegroundColorAttributeName to
>
> [NSColor
>
> clearColor], but when I do this, the clear color goes right through
>
> the image
>
> and the window making a hole.
>
>
Is there some reason why you can't just _not_ draw the text when you
>
don't want it to be there?
>
>
- Greg
_______________________________________________
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.