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

redraw problem


  • Subject: redraw problem
  • From: Tony Romano <email@hidden>
  • Date: Thu, 29 Jul 2010 13:26:31 -0700

I have a document based Cocoa App and I am trying to understand what is causing these residual lines to happen.  Attached is a link to what I am referring to.  The solid blue lines are the new lines after they have moved.  The greyish lines are what's being left behind. http://dl.dropbox.com/u/5614061/Screen shot 2010-07-29 at 1.08.36 PM.png.  Notice they look like borders from the old lines.

The Class structure is(as seen by FScript):

NSThemeFrame
	NSView (ContentView)
		MyView


I am setting the ContentView's window to setBackgroundColor: clearColor and setOpaque:NO.  And in the .png, the opacity is 0.0.  If I set the opacity to 1.0, the greyish lines are hidden but adjusting to 0.0 will cause them to be revealed(the same one. i.e. I only change the opacity and not move the lines).  I am getting the drawRect calls due to me calling setNeedsDisplay:YES during observing the keypath changes to grid values.


Not sure what other information is needed.  Please let me know,

Thanks in advance,
-Tony

_______________________________________________

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

  • Follow-Ups:
    • Re: redraw problem
      • From: Michael Ash <email@hidden>
    • Re: redraw problem
      • From: Michael Dautermann <email@hidden>
  • Prev by Date: Re: Intercepting deletion of NSManagedObjects or how to handle deletion in non-explicit relationships?
  • Next by Date: Re: redraw problem
  • Previous by thread: Re: View not visible
  • Next by thread: Re: redraw problem
  • Index(es):
    • Date
    • Thread