Muvicado HD
Loading...
Searching...
No Matches
PageSelectArea Class Reference

A PadView subclass providing UI to select and navigate pages. More...

#include <PageSelectArea.h>

Inheritance diagram for PageSelectArea:
Collaboration diagram for PageSelectArea:

Instance Methods

(id) - initWithFrame: [implementation]
(void) - awakeFromNib [implementation]
(void) - drawRect: [implementation]
(void) - doPad: [implementation]
(void) - doit: [implementation]
(void) - mouseDown: [implementation]
 Forwards to doit: to process pad selection and actions.
(void) - mouseDragged: [implementation]
 Forwards to doit: to process pad selection and actions.
(void) - mouseMoved: [implementation]
 Unused handler (reserved for hover feedback).
(void) - mouseUp: [implementation]
 Returns focus to the play area window after interaction.
(void) - dealloc [implementation]
Instance Methods inherited from PadView
(Controller *) - makeController
(Controller *) - getController
(void) - refresh
(void) - addPad:
(void) - addElement:
(NSPoint) - localPointForEvent:
(Pad *) - testForPadHitWithPoint:
(void) - startPad:
(void) - stopPad:
(void) - doAction:
(Pad *) - findPadForNote:
(NSMutableArray *) - findPadsForNote:
(NSMutableArray *) - selectedPads
(NSMutableArray *) - unselectedPads
(void) - selectAllPadsForCurrentLayer
(void) - setAllPadsToSelected:
(void) - selectAllPads
(void) - deselectAllPads
(void) - deletePad:
(void) - randomColors
(void) - setSeeThru:
(void) - duplicateSelectedPads
(NSPoint) - snapGridWithX:Y:
(NSPoint) - snapGridWithPoint:
(void) - nullSweep
(int) - numSelectedPads
(Pad *) - getSingleSelectedPad
(NSMutableArray *) - getElementBag
(void) - setNoteOfSelectedPads:
(void) - setNoteOfSingleSelectedPad:
(void) - setMarquee:
(void) - showMarquee
(void) - hideMarquee
(void) - selectPadsIntersectingWithRect:onLayer:
(void) - doCutElements
(void) - doCopyElements
(void) - doPasteElements
(void) - doDeleteElements
(void) - doSelectAllElements
(bool) - shouldDrawPad: [implementation]
(BOOL) - acceptsFirstMouse: [implementation]
(BOOL) - mouseDownCanMoveWindow [implementation]
(void) - dummy [implementation]
(NSMutableArray *) - findPadsForSelected: [implementation]
(BOOL) - acceptsFirstResponder [implementation]
(BOOL) - becomeFirstResponder [implementation]
(BOOL) - resignFirstResponder [implementation]
(void) - rightMouseDown: [implementation]
(void) - otherMouseDown: [implementation]
(void) - rightMouseUp: [implementation]
(void) - otherMouseUp: [implementation]
(void) - scrollWheel: [implementation]
(void) - rightMouseDragged: [implementation]
(void) - otherMouseDragged: [implementation]
(void) - mouseEntered: [implementation]
(void) - mouseExited: [implementation]
(void) - keyUp: [implementation]
(void) - tabletPoint: [implementation]
(void) - tabletProximity: [implementation]
(void) - cursorUpdate: [implementation]
(void) - noResponderFor: [implementation]
(BOOL) - isFlipped [implementation]
(void) - setNoteOfPad:fromPad: [implementation]
(IBAction) - doOpen:
(IBAction) - doSave:
(IBAction) - doSaveAs:
(IBAction) - doImport:
(IBAction) - doExport:
(BOOL) - getPointFromXYPair [implementation]
(void) - parser:didStartElement:namespaceURI:qualifiedName:attributes: [implementation]
(void) - parser:parseErrorOccurred: [implementation]
(void) - parser:didEndElement:namespaceURI:qualifiedName: [implementation]
(void) - alertDidEnd:returnCode:contextInfo: [implementation]
(void) - parseXMLFile: [implementation]
(void) - openXmlPanelDidEnd:returnCode:contextInfo: [implementation]
(void) - openXMLFile [implementation]
(void) - setCurrentFile: [implementation]
(void) - parseMvFile: [implementation]
(void) - openMvPanelDidEnd:returnCode:contextInfo: [implementation]
(void) - openMvFile [implementation]
(NSString *) - panel:userEnteredFilename:confirmed: [implementation]
(void) - saveXMLFile: [implementation]
(void) - saveXmlPanelDidEnd:returnCode:contextInfo: [implementation]
(void) - saveXMLFile [implementation]
(BOOL) - saveMvToFile: [implementation]
(void) - saveMvPanelDidEnd:returnCode:contextInfo: [implementation]
(void) - saveMvFile [implementation]

Protected Attributes

IBOutlet PlayAreaplayArea
Protected Attributes inherited from PadView
NSMutableArray * elementBag
IBOutlet Controllercontroller
PadlastPad
PadlastPadPlayed
Boolean gridShow
int gridX
int gridY
int padLayer
NSMutableArray * _clipboard
BOOL _marqueeVisible
NSRect _marqueeSelectionBounds
int num_draws
BOOL _hasHitPad

Additional Inherited Members

Class Methods inherited from PadView
(NSPoint) + snap90Point:fromAnchor:

Detailed Description

A PadView subclass providing UI to select and navigate pages.

Concrete implementation of PageSelectArea behaviors and event routing.

Definition at line 17 of file PageSelectArea.h.

Method Documentation

◆ awakeFromNib

- (void) awakeFromNib
implementation

Builds the grid of layer pads and the row of target-layer pads, then sizes the window to fit the content.

Definition at line 34 of file PageSelectArea.m.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ dealloc

- (void) dealloc
implementation

Releases resources before deallocation.

Reimplemented from PadView.

Definition at line 169 of file PageSelectArea.m.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ doit:

- (void) doit: (NSEvent *) event
implementation

Convenience: hit-tests for a pad from the event and dispatches doPad:.

Reimplemented from PadView.

Definition at line 144 of file PageSelectArea.m.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ doPad:

- (void) doPad: (Pad *) pad
implementation

Performs the action for a hit pad: either switches the current layer, or assigns a target layer to selected pads (or clears it when < 0).

Reimplemented from PadView.

Definition at line 109 of file PageSelectArea.m.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ drawRect:

- (void) drawRect: (NSRect) dirtyRect
implementation

Fills background, draws pads, and highlights the current layer.

Reimplemented from PadView.

Definition at line 94 of file PageSelectArea.m.

Here is the call graph for this function:

◆ initWithFrame:

- (id) initWithFrame: (NSRect) frame
implementation

Initializes the page selector view with default configuration.

Reimplemented from PadView.

Definition at line 23 of file PageSelectArea.m.

Here is the call graph for this function:

◆ mouseDown:

- (void) mouseDown: (NSEvent *) event
implementation

Forwards to doit: to process pad selection and actions.

Reimplemented from PadView.

Definition at line 150 of file PageSelectArea.m.

Here is the call graph for this function:

◆ mouseDragged:

- (void) mouseDragged: (NSEvent *) event
implementation

Forwards to doit: to process pad selection and actions.

Reimplemented from PadView.

Definition at line 155 of file PageSelectArea.m.

Here is the call graph for this function:

◆ mouseMoved:

- (void) mouseMoved: (NSEvent *) event
implementation

Unused handler (reserved for hover feedback).

Reimplemented from PadView.

Definition at line 160 of file PageSelectArea.m.

◆ mouseUp:

- (void) mouseUp: (NSEvent *) event
implementation

Returns focus to the play area window after interaction.

Reimplemented from PadView.

Definition at line 164 of file PageSelectArea.m.

Member Data Documentation

◆ playArea

- (IBOutlet PlayArea*) playArea
protected

Reference to the owning play area that this view controls.

Definition at line 19 of file PageSelectArea.h.


The documentation for this class was generated from the following files: