|
From: | julian |
Subject: | [bug #34927] NSOpenGLView subclasses only work when added as "custom view" to the NIB file |
Date: | Mon, 28 Nov 2011 16:10:32 +0000 |
User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/534.51.22 (KHTML, like Gecko) Version/5.1.1 Safari/534.51.22 |
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/
[Prev in Thread] | Current Thread | [Next in Thread] |