DDraceNetwork Docs
CLayerGroup Class Reference

#include <layer_group.h>

Collaboration diagram for CLayerGroup:
[legend]

Public Member Functions

 CLayerGroup ()
 
 ~CLayerGroup ()
 
void Convert (CUIRect *pRect) const
 
void Render ()
 
void MapScreen () const
 
void Mapping (float *pPoints) const
 
void GetSize (float *pWidth, float *pHeight) const
 
void DeleteLayer (int Index)
 
void DuplicateLayer (int Index)
 
int SwapLayers (int Index0, int Index1)
 
bool IsEmpty () const
 
void Clear ()
 
void AddLayer (const std::shared_ptr< CLayer > &pLayer)
 
void ModifyImageIndex (FIndexModifyFunction Func)
 
void ModifyEnvelopeIndex (FIndexModifyFunction Func)
 
void ModifySoundIndex (FIndexModifyFunction Func)
 

Public Attributes

class CEditorMapm_pMap
 
std::vector< std::shared_ptr< CLayer > > m_vpLayers
 
int m_OffsetX
 
int m_OffsetY
 
int m_ParallaxX
 
int m_ParallaxY
 
int m_UseClipping
 
int m_ClipX
 
int m_ClipY
 
int m_ClipW
 
int m_ClipH
 
char m_aName [12]
 
bool m_GameGroup
 
bool m_Visible
 
bool m_Collapse
 

Constructor & Destructor Documentation

◆ CLayerGroup()

CLayerGroup::CLayerGroup ( )

◆ ~CLayerGroup()

CLayerGroup::~CLayerGroup ( )

Member Function Documentation

◆ AddLayer()

void CLayerGroup::AddLayer ( const std::shared_ptr< CLayer > &  pLayer)

◆ Clear()

void CLayerGroup::Clear ( )
inline

◆ Convert()

void CLayerGroup::Convert ( CUIRect pRect) const

◆ DeleteLayer()

void CLayerGroup::DeleteLayer ( int  Index)

◆ DuplicateLayer()

void CLayerGroup::DuplicateLayer ( int  Index)

◆ GetSize()

void CLayerGroup::GetSize ( float *  pWidth,
float *  pHeight 
) const

◆ IsEmpty()

bool CLayerGroup::IsEmpty ( ) const
inline

◆ Mapping()

void CLayerGroup::Mapping ( float *  pPoints) const

◆ MapScreen()

void CLayerGroup::MapScreen ( ) const

◆ ModifyEnvelopeIndex()

void CLayerGroup::ModifyEnvelopeIndex ( FIndexModifyFunction  Func)
inline

◆ ModifyImageIndex()

void CLayerGroup::ModifyImageIndex ( FIndexModifyFunction  Func)
inline

◆ ModifySoundIndex()

void CLayerGroup::ModifySoundIndex ( FIndexModifyFunction  Func)
inline

◆ Render()

void CLayerGroup::Render ( )

◆ SwapLayers()

int CLayerGroup::SwapLayers ( int  Index0,
int  Index1 
)

Member Data Documentation

◆ m_aName

char CLayerGroup::m_aName[12]

◆ m_ClipH

int CLayerGroup::m_ClipH

◆ m_ClipW

int CLayerGroup::m_ClipW

◆ m_ClipX

int CLayerGroup::m_ClipX

◆ m_ClipY

int CLayerGroup::m_ClipY

◆ m_Collapse

bool CLayerGroup::m_Collapse

◆ m_GameGroup

bool CLayerGroup::m_GameGroup

◆ m_OffsetX

int CLayerGroup::m_OffsetX

◆ m_OffsetY

int CLayerGroup::m_OffsetY

◆ m_ParallaxX

int CLayerGroup::m_ParallaxX

◆ m_ParallaxY

int CLayerGroup::m_ParallaxY

◆ m_pMap

class CEditorMap* CLayerGroup::m_pMap

◆ m_UseClipping

int CLayerGroup::m_UseClipping

◆ m_Visible

bool CLayerGroup::m_Visible

◆ m_vpLayers

std::vector<std::shared_ptr<CLayer> > CLayerGroup::m_vpLayers

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