GSWindowControllerProtocol Protocol Reference
| Declared in | GSWindowControllerProtocol.h |
Tasks
toolDrawDelegaterequired methodShiftKeyrequired methodAltKeyrequired methodCtrlKeyrequired methodCommandKeyrequired methodSpaceKeyrequired methodlastSelectToolIndexrequired methodselectedToolIndexrequired method– activeLayerrequired method– activeEditViewControllerrequired method– masterIndexrequired 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