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

#include <pane.h>

+ Inheritance diagram for nw4hbm::lyt::Pane:
+ Collaboration diagram for nw4hbm::lyt::Pane:

Public Member Functions

 Pane ()
 
 Pane (const res::Pane *pBlock)
 
virtual ~Pane ()
 
virtual void CalculateMtx (const DrawInfo &drawInfo)
 
virtual void Draw (const DrawInfo &drawInfo)
 
virtual void DrawSelf (const DrawInfo &drawInfo)
 
virtual void Animate (u32 option=0)
 
virtual void AnimateSelf (u32 option=0)
 
virtual ut::Color GetVtxColor (u32 idx) const
 
virtual void SetVtxColor (u32 idx, ut::Color valuw)
 
virtual u8 GetColorElement (u32 idx) const
 
virtual void SetColorElement (u32 idx, u8 color)
 
virtual u8 GetVtxColorElement (u32 idx) const
 
virtual void SetVtxColorElement (u32 idx, u8 element)
 
virtual PaneFindPaneByName (const char *findName, bool bRecursive=true)
 
virtual MaterialFindMaterialByName (const char *findName, bool bRecursive=true)
 
virtual void BindAnimation (AnimTransform *animTrans, bool bRecursive=true)
 
virtual void UnbindAnimation (AnimTransform *animTrans, bool bRecursive=true)
 
virtual void UnbindAllAnimation (bool bRecursive=true)
 
virtual void UnbindAnimationSelf (AnimTransform *animTrans)
 
virtual AnimationLinkFindAnimationLink (AnimTransform *animTrans)
 
virtual void SetAnimationEnable (AnimTransform *animTrans, bool bEnable, bool bRecursive=true)
 
virtual MaterialGetMaterial () const
 
virtual void LoadMtx (const DrawInfo &drawInfo)
 
PaneGetParent () const
 
PaneListGetChildList ()
 
const math::VEC3GetTranslate ()
 
void SetTranslate (const math::VEC3 &translate)
 
void SetTranslate (const math::VEC2 &translate)
 
const math::VEC3GetRotate () const
 
void SetRotate (const math::VEC3 &rotate)
 
const math::VEC2GetScale () const
 
void SetScale (const math::VEC2 &scale)
 
const SizeGetSize () const
 
void SetSize (const Size &size)
 
bool IsVisible ()
 
void SetVisible (bool visible)
 
bool IsInfluencedAlpha ()
 
void SetInfluencedAlpha (bool visible)
 
bool IsLocationAdjust ()
 
void SetLocationAdjust (bool visible)
 
const math::MTX34GetGlobalMtx () const
 
void SetGlobalMtx (const math::MTX34 &mtx)
 
const math::MTX34GetMtx () const
 
void SetMtx (const math::MTX34 &mtx)
 
u8 GetAlpha ()
 
void SetAlpha (u8 alpha)
 
const char * GetName () const
 
void SetSRTElement (u32 idx, f32 value)
 
bool IsUserAllocated () const
 
const ut::Rect GetPaneRect (const DrawInfo &drawInfo) const
 
math::VEC2 GetVtxPos () const
 
void SetName (const char *name)
 
void SetUserData (const char *userData)
 
void Init ()
 
void InsertChild (PaneList::Iterator next, Pane *pChild)
 
void InsertChild (Pane *pNext, Pane *pChild)
 
void PrependChild (Pane *pChild)
 
void AppendChild (Pane *pChild)
 
void RemoveChild (Pane *pChild)
 
void CalculateMtxChild (const DrawInfo &drawInfo)
 
void AddAnimationLink (AnimationLink *animationLink)
 

Public Attributes

 NW4HBM_UT_RUNTIME_TYPEINFO
 

Protected Attributes

PanempParent
 
PaneList mChildList
 
AnimationLinkList mAnimList
 
MaterialmpMaterial
 
math::VEC3 mTranslate
 
math::VEC3 mRotate
 
math::VEC2 mScale
 
Size mSize
 
math::MTX34 mMtx
 
math::MTX34 mGlbMtx
 
char mName [16]
 
char mUserData [8]
 
u8 mBasePosition
 
u8 mAlpha
 
u8 mGlbAlpha
 
u8 mFlag
 
bool mbUserAllocated
 

Private Types

enum  { BIT_VISIBLE = 0 , BIT_INFLUENCED_ALPHA , BIT_LOCATION_ADJUST }
 

Additional Inherited Members

- Private Member Functions inherited from nw4hbm::lyt::detail::PaneBase
 PaneBase ()
 
virtual ~PaneBase ()
 
- Private Attributes inherited from nw4hbm::lyt::detail::PaneBase
ut::LinkListNode mLink
 

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
private
Enumerator
BIT_VISIBLE 
BIT_INFLUENCED_ALPHA 
BIT_LOCATION_ADJUST 

Constructor & Destructor Documentation

◆ Pane() [1/2]

nw4hbm::lyt::Pane::Pane ( )

◆ Pane() [2/2]

nw4hbm::lyt::Pane::Pane ( const res::Pane * pBlock)

◆ ~Pane()

nw4hbm::lyt::Pane::~Pane ( )
virtual

Member Function Documentation

◆ AddAnimationLink()

void nw4hbm::lyt::Pane::AddAnimationLink ( AnimationLink * animationLink)

◆ Animate()

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

◆ AnimateSelf()

void nw4hbm::lyt::Pane::AnimateSelf ( u32 option = 0)
virtual

Reimplemented in nw4hbm::lyt::Window.

◆ AppendChild()

void nw4hbm::lyt::Pane::AppendChild ( Pane * pChild)

◆ BindAnimation()

void nw4hbm::lyt::Pane::BindAnimation ( AnimTransform * animTrans,
bool bRecursive = true )
virtual

◆ CalculateMtx()

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

◆ CalculateMtxChild()

void nw4hbm::lyt::Pane::CalculateMtxChild ( const DrawInfo & drawInfo)

◆ Draw()

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

◆ DrawSelf()

void nw4hbm::lyt::Pane::DrawSelf ( const DrawInfo & drawInfo)
virtual

◆ FindAnimationLink()

AnimationLink * nw4hbm::lyt::Pane::FindAnimationLink ( AnimTransform * animTrans)
virtual

Reimplemented in nw4hbm::lyt::Window.

◆ FindMaterialByName()

Material * nw4hbm::lyt::Pane::FindMaterialByName ( const char * findName,
bool bRecursive = true )
virtual

Reimplemented in nw4hbm::lyt::Window.

◆ FindPaneByName()

Pane * nw4hbm::lyt::Pane::FindPaneByName ( const char * findName,
bool bRecursive = true )
virtual

◆ GetAlpha()

u8 nw4hbm::lyt::Pane::GetAlpha ( )
inline

◆ GetChildList()

PaneList & nw4hbm::lyt::Pane::GetChildList ( )
inline

◆ GetColorElement()

u8 nw4hbm::lyt::Pane::GetColorElement ( u32 idx) const
virtual

◆ GetGlobalMtx()

const math::MTX34 & nw4hbm::lyt::Pane::GetGlobalMtx ( ) const
inline

◆ GetMaterial()

Material * nw4hbm::lyt::Pane::GetMaterial ( ) const
virtual

◆ GetMtx()

const math::MTX34 & nw4hbm::lyt::Pane::GetMtx ( ) const
inline

◆ GetName()

const char * nw4hbm::lyt::Pane::GetName ( ) const
inline

◆ GetPaneRect()

const ut::Rect nw4hbm::lyt::Pane::GetPaneRect ( const DrawInfo & drawInfo) const

◆ GetParent()

Pane * nw4hbm::lyt::Pane::GetParent ( ) const
inline

◆ GetRotate()

const math::VEC3 & nw4hbm::lyt::Pane::GetRotate ( ) const
inline

◆ GetScale()

const math::VEC2 & nw4hbm::lyt::Pane::GetScale ( ) const
inline

◆ GetSize()

const Size & nw4hbm::lyt::Pane::GetSize ( ) const
inline

◆ GetTranslate()

const math::VEC3 & nw4hbm::lyt::Pane::GetTranslate ( )
inline

◆ GetVtxColor()

ut::Color nw4hbm::lyt::Pane::GetVtxColor ( u32 idx) const
virtual

◆ GetVtxColorElement()

u8 nw4hbm::lyt::Pane::GetVtxColorElement ( u32 idx) const
virtual

◆ GetVtxPos()

math::VEC2 nw4hbm::lyt::Pane::GetVtxPos ( ) const

◆ Init()

void nw4hbm::lyt::Pane::Init ( )

◆ InsertChild() [1/2]

void nw4hbm::lyt::Pane::InsertChild ( Pane * pNext,
Pane * pChild )

◆ InsertChild() [2/2]

void nw4hbm::lyt::Pane::InsertChild ( PaneList::Iterator next,
Pane * pChild )

◆ IsInfluencedAlpha()

bool nw4hbm::lyt::Pane::IsInfluencedAlpha ( )
inline

◆ IsLocationAdjust()

bool nw4hbm::lyt::Pane::IsLocationAdjust ( )
inline

◆ IsUserAllocated()

bool nw4hbm::lyt::Pane::IsUserAllocated ( ) const
inline

◆ IsVisible()

bool nw4hbm::lyt::Pane::IsVisible ( )
inline

◆ LoadMtx()

void nw4hbm::lyt::Pane::LoadMtx ( const DrawInfo & drawInfo)
virtual

◆ PrependChild()

void nw4hbm::lyt::Pane::PrependChild ( Pane * pChild)

◆ RemoveChild()

void nw4hbm::lyt::Pane::RemoveChild ( Pane * pChild)

◆ SetAlpha()

void nw4hbm::lyt::Pane::SetAlpha ( u8 alpha)
inline

◆ SetAnimationEnable()

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

Reimplemented in nw4hbm::lyt::Window.

◆ SetColorElement()

void nw4hbm::lyt::Pane::SetColorElement ( u32 idx,
u8 color )
virtual

◆ SetGlobalMtx()

void nw4hbm::lyt::Pane::SetGlobalMtx ( const math::MTX34 & mtx)
inline

◆ SetInfluencedAlpha()

void nw4hbm::lyt::Pane::SetInfluencedAlpha ( bool visible)
inline

◆ SetLocationAdjust()

void nw4hbm::lyt::Pane::SetLocationAdjust ( bool visible)
inline

◆ SetMtx()

void nw4hbm::lyt::Pane::SetMtx ( const math::MTX34 & mtx)
inline

◆ SetName()

void nw4hbm::lyt::Pane::SetName ( const char * name)

◆ SetRotate()

void nw4hbm::lyt::Pane::SetRotate ( const math::VEC3 & rotate)
inline

◆ SetScale()

void nw4hbm::lyt::Pane::SetScale ( const math::VEC2 & scale)
inline

◆ SetSize()

void nw4hbm::lyt::Pane::SetSize ( const Size & size)
inline

◆ SetSRTElement()

void nw4hbm::lyt::Pane::SetSRTElement ( u32 idx,
f32 value )
inline

◆ SetTranslate() [1/2]

void nw4hbm::lyt::Pane::SetTranslate ( const math::VEC2 & translate)
inline

◆ SetTranslate() [2/2]

void nw4hbm::lyt::Pane::SetTranslate ( const math::VEC3 & translate)
inline

◆ SetUserData()

void nw4hbm::lyt::Pane::SetUserData ( const char * userData)

◆ SetVisible()

void nw4hbm::lyt::Pane::SetVisible ( bool visible)
inline

◆ SetVtxColor()

void nw4hbm::lyt::Pane::SetVtxColor ( u32 idx,
ut::Color valuw )
virtual

◆ SetVtxColorElement()

void nw4hbm::lyt::Pane::SetVtxColorElement ( u32 idx,
u8 element )
virtual

◆ UnbindAllAnimation()

void nw4hbm::lyt::Pane::UnbindAllAnimation ( bool bRecursive = true)
virtual

◆ UnbindAnimation()

void nw4hbm::lyt::Pane::UnbindAnimation ( AnimTransform * animTrans,
bool bRecursive = true )
virtual

◆ UnbindAnimationSelf()

void nw4hbm::lyt::Pane::UnbindAnimationSelf ( AnimTransform * animTrans)
virtual

Reimplemented in nw4hbm::lyt::Window.

Member Data Documentation

◆ mAlpha

u8 nw4hbm::lyt::Pane::mAlpha
protected

◆ mAnimList

AnimationLinkList nw4hbm::lyt::Pane::mAnimList
protected

◆ mBasePosition

u8 nw4hbm::lyt::Pane::mBasePosition
protected

◆ mbUserAllocated

bool nw4hbm::lyt::Pane::mbUserAllocated
protected

◆ mChildList

PaneList nw4hbm::lyt::Pane::mChildList
protected

◆ mFlag

u8 nw4hbm::lyt::Pane::mFlag
protected

◆ mGlbAlpha

u8 nw4hbm::lyt::Pane::mGlbAlpha
protected

◆ mGlbMtx

math::MTX34 nw4hbm::lyt::Pane::mGlbMtx
protected

◆ mMtx

math::MTX34 nw4hbm::lyt::Pane::mMtx
protected

◆ mName

char nw4hbm::lyt::Pane::mName[16]
protected

◆ mpMaterial

Material* nw4hbm::lyt::Pane::mpMaterial
protected

◆ mpParent

Pane* nw4hbm::lyt::Pane::mpParent
protected

◆ mRotate

math::VEC3 nw4hbm::lyt::Pane::mRotate
protected

◆ mScale

math::VEC2 nw4hbm::lyt::Pane::mScale
protected

◆ mSize

Size nw4hbm::lyt::Pane::mSize
protected

◆ mTranslate

math::VEC3 nw4hbm::lyt::Pane::mTranslate
protected

◆ mUserData

char nw4hbm::lyt::Pane::mUserData[8]
protected

◆ NW4HBM_UT_RUNTIME_TYPEINFO

nw4hbm::lyt::Pane::NW4HBM_UT_RUNTIME_TYPEINFO

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