|
Muvicado HD
|
Mode that lets the user move selected pads and sweep a marquee to select pads. More...
#include <MovePadMode.h>


Instance Methods | |
| (void) | - nullSweep [implementation] |
| (void) | - mouseDown: [implementation] |
| (void) | - mouseDragged: [implementation] |
| (void) | - mouseMoved: [implementation] |
| (void) | - keyDown: [implementation] |
| (void) | - mouseUp: [implementation] |
| (NSCursor *) | - cursor [implementation] |
| (void) | - drawRect: [implementation] |
| (void) | - setUp [implementation] |
| (void) | - cleanUp [implementation] |
| (NSString *) | - name [implementation] |
| Instance Methods inherited from Mode | |
| (id) | - initWithPlayArea:forController: |
| (void) | - setNextMode: |
| (id) | - init [implementation] |
Protected Attributes | |
| BOOL | _hasHitPad |
| Protected Attributes inherited from Mode | |
| PlayArea * | playArea |
| Controller * | controller |
| Mode * | nextMode |
Mode that lets the user move selected pads and sweep a marquee to select pads.
Concrete implementation of MovePadMode behavior.
This mode responds to mouse and key events from the PlayArea to translate pads or update the current selection. It also defines the cursor and manages temporary state.
Definition at line 19 of file MovePadMode.h.
|
implementation |
Releases transient references when the mode is deactivated.
Reimplemented from Mode.
Definition at line 287 of file MovePadMode.m.


|
implementation |
Returns the cursor used while this mode is active.
Reimplemented from Mode.
Definition at line 264 of file MovePadMode.m.


|
implementation |
Draws transient feedback, such as the translated copies of selected pads during a drag.
| dirtyRect | The rectangle that needs redrawing. |
Reimplemented from Mode.
Definition at line 272 of file MovePadMode.m.
|
implementation |
Handles key events while the mode is active. Currently consumes the space bar to exit the mode and refresh.
| event | The key down event from AppKit. |
Reimplemented from Mode.
Definition at line 207 of file MovePadMode.m.

|
implementation |
Handles the mouse down event to begin a move or marquee operation.
Behavior:
| event | The mouse down event from AppKit. |
Reimplemented from Mode.
Definition at line 84 of file MovePadMode.m.

|
implementation |
Updates the interaction while dragging the mouse.
| event | The mouse dragged event from AppKit. |
Reimplemented from Mode.
Definition at line 161 of file MovePadMode.m.

|
implementation |
Mouse moved handler (unused in this mode).
| event | The mouse moved event. |
Reimplemented from Mode.
Definition at line 199 of file MovePadMode.m.
|
implementation |
Completes the interaction on mouse up.
| event | The mouse up event from AppKit. |
Reimplemented from Mode.
Definition at line 229 of file MovePadMode.m.

|
implementation |
Returns a user-facing name for this mode.
Reimplemented from Mode.
Definition at line 296 of file MovePadMode.m.


|
implementation |
No-op sweep handler placeholder.
Definition at line 71 of file MovePadMode.m.


|
implementation |
Initializes transient state when the mode becomes active.
Reimplemented from Mode.
Definition at line 282 of file MovePadMode.m.


|
protected |
Definition at line 21 of file MovePadMode.h.