DDraceNetwork Documentation
Loading...
Searching...
No Matches
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 (CEditorMap *pMap, int EnvelopeIndex, int PointIndex, int Channel, EType Type, CFixedTime OldTime, int OldValue, CFixedTime NewTime, int NewValue)
void Undo () override
void Redo () override
Public Member Functions inherited from IEditorAction
 IEditorAction (CEditorMap *pMap)
virtual bool IsEmpty ()
const char * DisplayText () const
Public Member Functions inherited from CMapObject
 CMapObject (CEditorMap *pMap)
 CMapObject (const CMapObject &Other)
virtual ~CMapObject ()=default
virtual void OnAttach (CEditorMap *pMap)
const CEditorEditor () const
CEditorEditor ()
const CEditorMapMap () const
CEditorMapMap ()
const IGraphicsGraphics () const
IGraphicsGraphics ()
const ISoundSound () const
ISoundSound ()
const IStorageStorage () const
IStorageStorage ()
const ITextRenderTextRender () const
ITextRenderTextRender ()

Private Member Functions

void Apply (bool Undo)

Private Attributes

int m_EnvelopeIndex
int m_PointIndex
int m_Channel
EType m_Type
CFixedTime m_OldTime
int m_OldValue
CFixedTime m_NewTime
int m_NewValue

Additional Inherited Members

Public Attributes inherited from CMapObject
float m_aLayerOffset [2]
bool m_UseClipping
float m_aaClipArea [2][2]
float m_aSpeed [2]
float m_aaScreenOffset [2][2]
float m_aaBaseArea [2][2]
float m_aaExtendedArea [2][2]
Static Public Attributes inherited from CMapObject
static constexpr float ms_aStandardScreen [2] = {1430 / 2.f, 1050 / 2.f}
Protected Attributes inherited from IEditorAction
char m_aDisplayText [256]

Member Enumeration Documentation

◆ EType

Enumerator
TANGENT_IN 
TANGENT_OUT 
POINT 

Constructor & Destructor Documentation

◆ CEditorActionEditEnvelopePointValue()

CEditorActionEditEnvelopePointValue::CEditorActionEditEnvelopePointValue ( CEditorMap * pMap,
int EnvelopeIndex,
int PointIndex,
int Channel,
EType Type,
CFixedTime OldTime,
int OldValue,
CFixedTime 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_EnvelopeIndex

int CEditorActionEditEnvelopePointValue::m_EnvelopeIndex
private

◆ m_NewTime

CFixedTime CEditorActionEditEnvelopePointValue::m_NewTime
private

◆ m_NewValue

int CEditorActionEditEnvelopePointValue::m_NewValue
private

◆ m_OldTime

CFixedTime CEditorActionEditEnvelopePointValue::m_OldTime
private

◆ m_OldValue

int CEditorActionEditEnvelopePointValue::m_OldValue
private

◆ m_PointIndex

int CEditorActionEditEnvelopePointValue::m_PointIndex
private

◆ m_Type

EType CEditorActionEditEnvelopePointValue::m_Type
private

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