URL:
<http://savannah.gnu.org/bugs/?34927>
Summary: NSOpenGLView subclasses only work when added as
"custom view" to the NIB file
Project: GNUstep
Submitted by: julian_
Submitted on: Mo 28 Nov 2011 16:10:31 GMT
Category: Gui/AppKit
Severity: 3 - Normal
Item Group: Bug
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
hello
this bug seems to be similar to bug #34764 where custom classes don't properly
get decoded from XIB files. but this is with NIB files.
attached is a simple NSOpenGLView example.
CocoaGL-1 works fine. the NSOpenGLView is added as a custom view to the NIB
file and the pixel format is set up in the code.
CocoaGL-2 doesn't work on gnustep. the only difference is that the
NSOpenGLView subclass has been added to the nibfile not by adding a "custom
view" and changing its class but by adding a NSOpenGLView and changing its
class to the subclass. the pixel format is setup right in Interface Builder
instead of in the code.
both examples work fine under Mac OS X, but only the first one works on
gnustep.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?34927>
_______________________________________________
Nachricht geschickt von/durch Savannah
http://savannah.gnu.org/
_______________________________________________
Bug-gnustep mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-gnustep