Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
nw4hbm::lyt::Layout Class Reference

#include <layout.h>

+ Collaboration diagram for nw4hbm::lyt::Layout:

Public Member Functions

 Layout ()
 
virtual ~Layout ()
 
virtual bool Build (const void *lytResBuf, ResourceAccessor *pResAcsr)
 
virtual AnimTransformCreateAnimTransform (const void *anmResBuf, ResourceAccessor *pResAcsr)
 
virtual void BindAnimation (AnimTransform *animTrans)
 
virtual void UnbindAnimation (AnimTransform *animTrans)
 
virtual void UnbindAllAnimation ()
 
virtual void SetAnimationEnable (AnimTransform *animTrans, bool bEnable=true)
 
virtual void CalculateMtx (const DrawInfo &drawInfo)
 
virtual void Draw (const DrawInfo &drawInfo)
 
virtual void Animate (u32 option=0)
 
virtual void SetTagProcessor (ut::WideTagProcessor *pTagProcessor) NO_INLINE
 
const ut::Rect GetLayoutRect () const
 
PaneGetRootPane () const
 
GroupContainerGetGroupContainer () const
 

Static Public Member Functions

static MEMAllocatorGetAllocator ()
 
static void SetAllocator (MEMAllocator *allocator)
 
static void * AllocMemory (u32 size)
 
static void FreeMemory (void *ptr)
 
static PaneBuildPaneObj (s32 kind, const void *dataPtr, const ResBlockSet &resBlockSet) NO_INLINE
 

Private Attributes

AnimTransformList mAnimTransList
 
PanempRootPane
 
GroupContainermpGroupContainer
 
Size mLayoutSize
 
u8 mOriginType
 

Static Private Attributes

static MEMAllocatormspAllocator
 

Constructor & Destructor Documentation

◆ Layout()

nw4hbm::lyt::Layout::Layout ( )

◆ ~Layout()

nw4hbm::lyt::Layout::~Layout ( )
virtual

Member Function Documentation

◆ AllocMemory()

static void * nw4hbm::lyt::Layout::AllocMemory ( u32 size)
inlinestatic

◆ Animate()

void nw4hbm::lyt::Layout::Animate ( u32 option = 0)
virtual

◆ BindAnimation()

void nw4hbm::lyt::Layout::BindAnimation ( AnimTransform * animTrans)
virtual

◆ Build()

bool nw4hbm::lyt::Layout::Build ( const void * lytResBuf,
ResourceAccessor * pResAcsr )
virtual

◆ BuildPaneObj()

Pane * nw4hbm::lyt::Layout::BuildPaneObj ( s32 kind,
const void * dataPtr,
const ResBlockSet & resBlockSet )
static

◆ CalculateMtx()

void nw4hbm::lyt::Layout::CalculateMtx ( const DrawInfo & drawInfo)
virtual

◆ CreateAnimTransform()

AnimTransform * nw4hbm::lyt::Layout::CreateAnimTransform ( const void * anmResBuf,
ResourceAccessor * pResAcsr )
virtual

◆ Draw()

void nw4hbm::lyt::Layout::Draw ( const DrawInfo & drawInfo)
virtual

◆ FreeMemory()

static void nw4hbm::lyt::Layout::FreeMemory ( void * ptr)
inlinestatic

◆ GetAllocator()

static MEMAllocator * nw4hbm::lyt::Layout::GetAllocator ( )
inlinestatic

◆ GetGroupContainer()

GroupContainer * nw4hbm::lyt::Layout::GetGroupContainer ( ) const
inline

◆ GetLayoutRect()

const ut::Rect nw4hbm::lyt::Layout::GetLayoutRect ( ) const

◆ GetRootPane()

Pane * nw4hbm::lyt::Layout::GetRootPane ( ) const
inline

◆ SetAllocator()

static void nw4hbm::lyt::Layout::SetAllocator ( MEMAllocator * allocator)
inlinestatic

◆ SetAnimationEnable()

void nw4hbm::lyt::Layout::SetAnimationEnable ( AnimTransform * animTrans,
bool bEnable = true )
virtual

◆ SetTagProcessor()

void nw4hbm::lyt::Layout::SetTagProcessor ( ut::WideTagProcessor * pTagProcessor)
virtual

◆ UnbindAllAnimation()

void nw4hbm::lyt::Layout::UnbindAllAnimation ( )
virtual

◆ UnbindAnimation()

void nw4hbm::lyt::Layout::UnbindAnimation ( AnimTransform * animTrans)
virtual

Member Data Documentation

◆ mAnimTransList

AnimTransformList nw4hbm::lyt::Layout::mAnimTransList
private

◆ mLayoutSize

Size nw4hbm::lyt::Layout::mLayoutSize
private

◆ mOriginType

u8 nw4hbm::lyt::Layout::mOriginType
private

◆ mpGroupContainer

GroupContainer* nw4hbm::lyt::Layout::mpGroupContainer
private

◆ mpRootPane

Pane* nw4hbm::lyt::Layout::mpRootPane
private

◆ mspAllocator

MEMAllocator * nw4hbm::lyt::Layout::mspAllocator
staticprivate

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