DDraceNetwork Docs
CEditorActionEditEnvelopePointValue Class Reference

#include <editor_actions.h>

Inheritance diagram for CEditorActionEditEnvelopePointValue:
[legend]
Collaboration diagram for CEditorActionEditEnvelopePointValue:
[legend]

Public Types

enum class  EType { TANGENT_IN , TANGENT_OUT , POINT }
 

Public Member Functions

 CEditorActionEditEnvelopePointValue (CEditor *pEditor, int EnvIndex, int PointIndex, int Channel, EType Type, int OldTime, int OldValue, int NewTime, int NewValue)
 
void Undo () override
 
void Redo () override
 
- Public Member Functions inherited from IEditorAction
 IEditorAction (CEditor *pEditor)
 
 IEditorAction ()=default
 
virtual ~IEditorAction ()=default
 
virtual void Undo ()=0
 
virtual void Redo ()=0
 
virtual bool IsEmpty ()
 
const char * DisplayText () const
 

Private Member Functions

void Apply (bool Undo)
 

Private Attributes

int m_EnvIndex
 
int m_PtIndex
 
int m_Channel
 
EType m_Type
 
int m_OldTime
 
int m_OldValue
 
int m_NewTime
 
int m_NewValue
 

Additional Inherited Members

- Protected Attributes inherited from IEditorAction
CEditorm_pEditor
 
char m_aDisplayText [256]
 

Member Enumeration Documentation

◆ EType

Enumerator
TANGENT_IN 
TANGENT_OUT 
POINT 

Constructor & Destructor Documentation

◆ CEditorActionEditEnvelopePointValue()

CEditorActionEditEnvelopePointValue::CEditorActionEditEnvelopePointValue ( CEditor pEditor,
int  EnvIndex,
int  PointIndex,
int  Channel,
EType  Type,
int  OldTime,
int  OldValue,
int  NewTime,
int  NewValue 
)

Member Function Documentation

◆ Apply()

void CEditorActionEditEnvelopePointValue::Apply ( bool  Undo)
private

◆ Redo()

void CEditorActionEditEnvelopePointValue::Redo ( )
overridevirtual

Implements IEditorAction.

◆ Undo()

void CEditorActionEditEnvelopePointValue::Undo ( )
overridevirtual

Implements IEditorAction.

Member Data Documentation

◆ m_Channel

int CEditorActionEditEnvelopePointValue::m_Channel
private

◆ m_EnvIndex

int CEditorActionEditEnvelopePointValue::m_EnvIndex
private

◆ m_NewTime

int CEditorActionEditEnvelopePointValue::m_NewTime
private

◆ m_NewValue

int CEditorActionEditEnvelopePointValue::m_NewValue
private

◆ m_OldTime

int CEditorActionEditEnvelopePointValue::m_OldTime
private

◆ m_OldValue

int CEditorActionEditEnvelopePointValue::m_OldValue
private

◆ m_PtIndex

int CEditorActionEditEnvelopePointValue::m_PtIndex
private

◆ m_Type

EType CEditorActionEditEnvelopePointValue::m_Type
private

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