• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Transparent color over an image: how to prevent a hole?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: loadNibNamed:owner: Who disposes of the loaded objects?
  • Next by Date: [ANN] Path Finder 3.0
  • Previous by thread: Re: Transparent color over an image: how to prevent a hole?
  • Next by thread: dataFromPropertyList:format:errorDescription:
  • Index(es):
    • Date
    • Thread