DDNet documentation
Loading...
Searching...
No Matches
CSoundSourceRectShapePropTracker Class Reference

#include <editor_trackers.h>

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

Public Member Functions

 CSoundSourceRectShapePropTracker (CEditorMap *pMap)
Public Member Functions inherited from CPropTracker< CSoundSource, ERectangleShapeProp >
 CPropTracker (CEditorMap *pMap)
void Begin (const CSoundSource *pObject, ERectangleShapeProp Prop, EEditState State, int GroupIndex=-1, int LayerIndex=-1)
void End (ERectangleShapeProp Prop, EEditState State, int GroupIndex=-1, int LayerIndex=-1)
Public Member Functions inherited from CMapObject
 CMapObject (CEditorMap *pMap)
 CMapObject (const CMapObject &Other)
virtual ~CMapObject ()=default
virtual void OnAttach (CEditorMap *pMap)
const CEditor * Editor () const
CEditor * Editor ()
const CEditorMap * Map () const
CEditorMap * Map ()
const IGraphics * Graphics () const
IGraphics * Graphics ()
const ISound * Sound () const
ISound * Sound ()
const IStorage * Storage () const
IStorage * Storage ()
const ITextRender * TextRender () const
ITextRender * TextRender ()

Protected Member Functions

void OnEnd (ERectangleShapeProp Prop, int Value) override
int PropToValue (ERectangleShapeProp Prop) override
Protected Member Functions inherited from CPropTracker< CSoundSource, ERectangleShapeProp >
virtual void OnStart (ERectangleShapeProp Prop)
virtual bool EndChecker (ERectangleShapeProp Prop, int Value)

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 CPropTracker< CSoundSource, ERectangleShapeProp >
int m_OriginalValue
const CSoundSource * m_pObject
int m_OriginalLayerIndex
int m_OriginalGroupIndex
int m_CurrentLayerIndex
int m_CurrentGroupIndex
bool m_Tracking

Constructor & Destructor Documentation

◆ CSoundSourceRectShapePropTracker()

CSoundSourceRectShapePropTracker::CSoundSourceRectShapePropTracker ( CEditorMap * pMap)
inlineexplicit

Member Function Documentation

◆ OnEnd()

void CSoundSourceRectShapePropTracker::OnEnd ( ERectangleShapeProp Prop,
int Value )
overrideprotectedvirtual

◆ PropToValue()

int CSoundSourceRectShapePropTracker::PropToValue ( ERectangleShapeProp Prop)
overrideprotectedvirtual

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