hydrogen 1.2.3
SE_moveNotePianoRollAction Class Reference

#include <UndoActions.h>

Inheritance diagram for SE_moveNotePianoRollAction:

Public Member Functions

 SE_moveNotePianoRollAction (int nOldPosition, H2Core::Note::Octave oldOctave, H2Core::Note::Key oldKey, int nPattern, int nNewPosition, H2Core::Note::Octave newOctave, H2Core::Note::Key newKey, H2Core::Note *pNote)
 

Private Member Functions

 ~SE_moveNotePianoRollAction ()
 
virtual void redo ()
 
virtual void undo ()
 

Private Attributes

H2Core::Note::Key m_newKey
 
H2Core::Note::Octave m_newOctave
 
int m_nNewPosition
 
int m_nOldPosition
 
int m_nPattern
 
H2Core::Note::Key m_oldKey
 
H2Core::Note::Octave m_oldOctave
 
H2Core::Notem_pNote
 

Detailed Description

Definition at line 1240 of file UndoActions.h.

Constructor & Destructor Documentation

◆ SE_moveNotePianoRollAction()

SE_moveNotePianoRollAction ( int nOldPosition,
H2Core::Note::Octave oldOctave,
H2Core::Note::Key oldKey,
int nPattern,
int nNewPosition,
H2Core::Note::Octave newOctave,
H2Core::Note::Key newKey,
H2Core::Note * pNote )
inline

Definition at line 1243 of file UndoActions.h.

◆ ~SE_moveNotePianoRollAction()

~SE_moveNotePianoRollAction ( )
inlineprivate

Definition at line 1267 of file UndoActions.h.

Member Function Documentation

◆ redo()

virtual void redo ( )
inlineprivatevirtual

Definition at line 1279 of file UndoActions.h.

◆ undo()

virtual void undo ( )
inlineprivatevirtual

Definition at line 1272 of file UndoActions.h.

Field Documentation

◆ m_newKey

H2Core::Note::Key m_newKey
private

Definition at line 1264 of file UndoActions.h.

◆ m_newOctave

H2Core::Note::Octave m_newOctave
private

Definition at line 1263 of file UndoActions.h.

◆ m_nNewPosition

int m_nNewPosition
private

Definition at line 1262 of file UndoActions.h.

◆ m_nOldPosition

int m_nOldPosition
private

Definition at line 1258 of file UndoActions.h.

◆ m_nPattern

int m_nPattern
private

Definition at line 1261 of file UndoActions.h.

◆ m_oldKey

H2Core::Note::Key m_oldKey
private

Definition at line 1260 of file UndoActions.h.

◆ m_oldOctave

H2Core::Note::Octave m_oldOctave
private

Definition at line 1259 of file UndoActions.h.

◆ m_pNote

H2Core::Note* m_pNote
private

Definition at line 1265 of file UndoActions.h.