GSWindowControllerProtocol Protocol Reference
Declared in | GSWindowControllerProtocol.h |
Tasks
toolDrawDelegate
required methodShiftKey
required methodAltKey
required methodCtrlKey
required methodCommandKey
required methodSpaceKey
required methodlastSelectToolIndex
required methodselectedToolIndex
required method– activeLayer
required method– activeEditViewController
required method– masterIndex
required method– setToolForClass:
required method– showFontInfoWindowWithTabSelected:
required method
Properties
lastSelectToolIndex
The index of the tool that was active before the current.
@property (nonatomic) NSUInteger lastSelectToolIndex
See Also
Instance Methods
activeEditViewController
The active editView controller or nil if the font view is active
- (NSViewController<GSGlyphEditViewControllerProtocol>
*)activeEditViewController
Return Value
the active editview controller
activeLayer
the currently active layer of the window
- (GSLayer *)activeLayer
Return Value
the active layer.
Discussion
This is only valid if one layer has direct focus. If more than one are selected, this returns nil.
masterIndex
The index of the active master
- (NSUInteger)masterIndex
Return Value
The index of the active master