• 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
Invalidating Rects for redraw
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Invalidating Rects for redraw


  • Subject: Invalidating Rects for redraw
  • From: Richard Schreyer <email@hidden>
  • Date: Tue, 23 Jul 2002 14:41:51 -0700

I'm having a problem with redrawing too much when rolling over JavaScript links in Chimera.

It seems that when you roll over a link, the area of that link is marked for redraw (highlight color, whatever...), and the progress text in the lower left is also marked for redraw (to display the new URL).

The problem is that Cocoa appears to be unioning these rects, meaning that much more is being redrawn than needs to be. If you roll over a link near the top of a page, almost the entire page needs to be redrawn.

See: http://homepage.mac.com/frogblast/chimera_redraw.png

The highlighted area is what redraws if you rollover the "click for indexes" link, when all that is needed is the area of the link alone + the progress text. They are in two entirely separate NSViews, so they really don't have to draw at the same time.

Is there some way I can get Cocoa to draw these two areas separately, without having to completely work around the entire cocoa redraw system?

Richard Schreyer
_______________________________________________
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.

  • Follow-Ups:
    • Re: Invalidating Rects for redraw
      • From: David Martin <email@hidden>
  • Prev by Date: Drawing an old style Terminal Cursor
  • Next by Date: Re: Writing (not reading) XML
  • Previous by thread: Drawing an old style Terminal Cursor
  • Next by thread: Re: Invalidating Rects for redraw
  • Index(es):
    • Date
    • Thread