DDraceNetwork Documentation
Loading...
Searching...
No Matches
CEditorActionEnvelopeEditPointTime Class Reference

#include <editor_actions.h>

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

Public Member Functions

 CEditorActionEnvelopeEditPointTime (CEditorMap *pMap, int EnvelopeIndex, int PointIndex, CFixedTime Previous, CFixedTime Current)
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 (CFixedTime Value)

Private Attributes

int m_EnvelopeIndex
int m_PointIndex
CFixedTime m_Previous
CFixedTime m_Current
std::shared_ptr< CEnvelopem_pEnv

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]

Constructor & Destructor Documentation

◆ CEditorActionEnvelopeEditPointTime()

CEditorActionEnvelopeEditPointTime::CEditorActionEnvelopeEditPointTime ( CEditorMap * pMap,
int EnvelopeIndex,
int PointIndex,
CFixedTime Previous,
CFixedTime Current )

Member Function Documentation

◆ Apply()

void CEditorActionEnvelopeEditPointTime::Apply ( CFixedTime Value)
private

◆ Redo()

void CEditorActionEnvelopeEditPointTime::Redo ( )
overridevirtual

Implements IEditorAction.

◆ Undo()

void CEditorActionEnvelopeEditPointTime::Undo ( )
overridevirtual

Implements IEditorAction.

Member Data Documentation

◆ m_Current

CFixedTime CEditorActionEnvelopeEditPointTime::m_Current
private

◆ m_EnvelopeIndex

int CEditorActionEnvelopeEditPointTime::m_EnvelopeIndex
private

◆ m_pEnv

std::shared_ptr<CEnvelope> CEditorActionEnvelopeEditPointTime::m_pEnv
private

◆ m_PointIndex

int CEditorActionEnvelopeEditPointTime::m_PointIndex
private

◆ m_Previous

CFixedTime CEditorActionEnvelopeEditPointTime::m_Previous
private

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