Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Why isn't my subview buffered?

Why isn't my subview buffered?
Thread Tools
Mac Enthusiast
Join Date: Feb 2000
Location: Storrs,Connecticut, USA
Status: Offline
Reply With Quote
Mar 6, 2001, 11:38 AM
 
I have an NSView. It has a subview. The subview doesn't appear to be buffered. When I drag a window over it the subview flickers like crazy as it redraws and the NSView is fine. Why does my subview appear to be unbuffered? The window is a buffered Window. Is it that only the superview is buffered?

I didn't think about it when I made the subview but I have an animation in it and I realize now that I forgot to erase the old image before drawing a new one so the subview must be unbuffered since I don't have garbage left over after every frame. So... why isn't it buffered?
     
Fresh-Faced Recruit
Join Date: Mar 2001
Status: Offline
Reply With Quote
Mar 6, 2001, 07:25 PM
 
Make sure that your Window is truly buffered and not retained or non-buffered. Under OS X DP, the retained windows are somewhat broken and should be made buffered.

This is under the Attributes inspecotr for the window in IB.

Steven Noyes
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 12:31 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2