• 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: Does NSOpenGLView override -isOpaque?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Does NSOpenGLView override -isOpaque?


  • Subject: Re: Does NSOpenGLView override -isOpaque?
  • From: Corbin Dunn <email@hidden>
  • Date: Fri, 6 Jan 2012 09:50:40 -0800

On Jan 6, 2012, at 3:03 AM, Vincent Habchi wrote:

> Hi there, and happy new year to everybody!
>
> I had to battle to correctly display an NSOpenGLView whose context was set to "draw under" (Glint swapInt = 1; [[self openGLContext] setValues:&swapInt forParameter:NSOpenGLCPSwapInterval];). It seems that NSOpenGLView silently overrides the -isOpaque method of NSView to return YES instead of NO; Is that intended behavior (I can’t find any documentation about it)?
>

Yes, NSOpenGLView has:

- (BOOL)isOpaque {
    return YES;
}

corbin

> Cheers!
> Vincent
>
> _______________________________________________
>
> 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

_______________________________________________

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: Does NSOpenGLView override -isOpaque?
      • From: vincent habchi <email@hidden>
References: 
 >Does NSOpenGLView override -isOpaque? (From: Vincent Habchi <email@hidden>)

  • Prev by Date: Re: Does NSOpenGLView override -isOpaque?
  • Next by Date: Re: Does NSOpenGLView override -isOpaque?
  • Previous by thread: Re: Does NSOpenGLView override -isOpaque?
  • Next by thread: Re: Does NSOpenGLView override -isOpaque?
  • Index(es):
    • Date
    • Thread