hydrogen 1.1.1
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 undo ()
 
virtual void redo ()
 

Private Attributes

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

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

◆ ~SE_moveNotePianoRollAction()

~SE_moveNotePianoRollAction ( )
inlineprivate

Member Function Documentation

◆ redo()

virtual void redo ( )
inlineprivatevirtual

◆ undo()

virtual void undo ( )
inlineprivatevirtual

Field Documentation

◆ m_newKey

H2Core::Note::Key m_newKey
private

◆ m_newOctave

H2Core::Note::Octave m_newOctave
private

◆ m_nNewPosition

int m_nNewPosition
private

◆ m_nOldPosition

int m_nOldPosition
private

◆ m_nPattern

int m_nPattern
private

◆ m_oldKey

H2Core::Note::Key m_oldKey
private

◆ m_oldOctave

H2Core::Note::Octave m_oldOctave
private

◆ m_pNote

H2Core::Note* m_pNote
private