nsview
Layer-backed OpenGLView redraws only if window is resized
I have a window with a main view of type NSView and a subview which is a subclass of NSOpenGLView whose name is CustomOpenGLView.[详细]
2023-04-09 07:29 分类:问答Non-dirty view gets redrawn
I do have a strange problem. I programmed a a dockview. It\'s basically a NSView with three vertical subviews inside. So I have a left dock, a middle view and a right dock. Both docks are collapsable[详细]
2023-04-09 06:35 分类:问答Save NSView representation ignores transparency
I am trying to change the icon of a file to a representation of an NSView. I am using the following code to do so.[详细]
2023-04-09 05:05 分类:问答Sliding Down A Small NSView Over An Existing NSView
I\'m working with a NSWindow that displays various NSViews when buttons are pressed 开发者_StackOverflow中文版(a settings panel, essentially).[详细]
2023-04-08 09:10 分类:问答mouseMoved not called
I have a subclassed NSView which is part of a .xib-file of a subclassed NSDocu开发者_开发百科ment, which gets alive by the default behaviour of NSDocumentController\'s openDocument: method. In this su[详细]
2023-04-08 00:16 分类:问答Setting different backgrounds for nsview
I\'m trying to set custom background for an NSView. I ne开发者_JAVA百科ed different backgrounds to be set based on some action. So i created 2 CAlayers for this view and trying tofill it using colorWi[详细]
2023-04-06 19:37 分类:问答mouseDragged events get stolen by another view
I have several views of class MyView (subclass of NSView) inside another NSView. MyView implements -mouseEntered:, -mouseExited:, -mouseDown:, -mouseDragged:, and -mouseUp:.[详细]
2023-04-06 00:19 分类:问答How to keep a CALayer at the same position while resizing the parent NSView?
Imagine a small red box (CALayer instance) drawn in the lower left corner of its parent layer (which is the root layer of a layer hosting NSView).[详细]
2023-04-04 21:57 分类:问答NSView subclass for NSMenuItem
I want to create a subview of NSView and link 开发者_StackOverflowit to a MenuView.xib. I\'ll have:[详细]
2023-04-04 08:48 分类:问答Clean easy way to expand window according to subviews
I\'m developing an application that uses a master-d开发者_开发知识库etail paradigm with an NSTableView as the master and an NSView as the detail. The NSView gets populated from another NSViewControlle[详细]
2023-04-03 22:53 分类:问答