NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
nw4r::lyt::Pane Class Reference
Inheritance diagram for nw4r::lyt::Pane:
[legend]

Description

Definition at line 11 of file lyt_pane.hpp.

Public Member Functions

 Pane (const res::Pane *)
 
virtual int * GetRuntimeTypeInfo () const
 
virtual void CalculateMtx (const DrawInfo &)
 
virtual void Draw (const DrawInfo &)
 
virtual void DrawSelf (const DrawInfo &)
 
virtual void Animate (unsigned long)
 
virtual void AnimateSelf (unsigned long)
 
virtual ut::Color GetVtxColor (unsigned long) const
 
virtual ut::Color SetVtxColor (unsigned long, ut::Color)
 
virtual unsigned char GetColorElement (unsigned long) const
 
virtual void SetColorElement (unsigned long, unsigned char)
 
virtual unsigned char GetVtxColorElement (unsigned long) const
 
virtual void SetVtxColorElement (unsigned long, unsigned char)
 
virtual PaneFindPaneByName (const char *, bool)
 
virtual MaterialFindMaterialByName (const char *, bool)
 
virtual void BindAnimation (AnimTransform *, bool, bool)
 
virtual void UnbindAnimation (AnimTransform *, bool)
 
virtual void UnbindAllAnimation (bool)
 
virtual void UnbindAnimationSelf (AnimTransform *)
 
virtual ut::LinkList< AnimationLink, 0 > * FindAnimationLinkSelf (AnimTransform *)
 
virtual ut::LinkList< AnimationLink, 0 > * FindAnimationLinkSelf (const AnimResource &)
 
virtual void SetAnimationEnable (AnimTransform *, bool, bool)
 
virtual void SetAnimationEnable (const AnimResource &, bool, bool)
 
virtual bool GetMaterialNum () const
 
virtual MaterialGetMaterial () const
 
virtual MaterialGetMaterial (unsigned long) const
 
virtual void LoadMtx (const nw4r::lyt::DrawInfo &)
 
void AppendChild (nw4r::lyt::Pane *)
 
void RemoveChild (nw4r::lyt::Pane *)
 
math::VEC2 GetVtxPos () const
 
unsigned short GetExtUserDataNum () const
 
void * FindExtUserDataByName (const char *)
 
void setVisible (bool visible)
 
void setScale (const math::VEC2 &scale)
 
void setAlpha (u8 alpha)
 

Public Attributes

char mFill1 [0x28]
 
math::VEC3 mPos
 
math::VEC3 mRot
 
math::VEC2 mScale
 
u8 mFlags
 

Static Public Attributes

static int typeInfo
 

Private Types

enum  FlagBit {
  BIT_VISIBLE ,
  BIT_INFLUENCED_ALPHA ,
  BIT_LOCATION_ADJUST
}
 

Private Attributes

float width
 
float height
 
char mFill2 [0x64]
 
u8 mAlpha
 
u8 mField_b9
 
u8 mOriginType
 

Member Enumeration Documentation

◆ FlagBit

enum nw4r::lyt::Pane::FlagBit
private

Definition at line 13 of file lyt_pane.hpp.

Member Function Documentation

◆ GetRuntimeTypeInfo()

virtual int * nw4r::lyt::Pane::GetRuntimeTypeInfo ( ) const
inlinevirtual

Definition at line 21 of file lyt_pane.hpp.

◆ setVisible()

void nw4r::lyt::Pane::setVisible ( bool visible)
inline

Definition at line 55 of file lyt_pane.hpp.

◆ setScale()

void nw4r::lyt::Pane::setScale ( const math::VEC2 & scale)
inline

Definition at line 59 of file lyt_pane.hpp.

◆ setAlpha()

void nw4r::lyt::Pane::setAlpha ( u8 alpha)
inline

Definition at line 60 of file lyt_pane.hpp.

Member Data Documentation

◆ mFill1

char nw4r::lyt::Pane::mFill1[0x28]

Definition at line 63 of file lyt_pane.hpp.

◆ mPos

math::VEC3 nw4r::lyt::Pane::mPos

Definition at line 64 of file lyt_pane.hpp.

◆ mRot

math::VEC3 nw4r::lyt::Pane::mRot

Definition at line 65 of file lyt_pane.hpp.

◆ mScale

math::VEC2 nw4r::lyt::Pane::mScale

Definition at line 66 of file lyt_pane.hpp.

◆ width

float nw4r::lyt::Pane::width
private

Definition at line 68 of file lyt_pane.hpp.

◆ height

float nw4r::lyt::Pane::height
private

Definition at line 69 of file lyt_pane.hpp.

◆ mFill2

char nw4r::lyt::Pane::mFill2[0x64]
private

Definition at line 70 of file lyt_pane.hpp.

◆ mAlpha

u8 nw4r::lyt::Pane::mAlpha
private

Definition at line 71 of file lyt_pane.hpp.

◆ mField_b9

u8 nw4r::lyt::Pane::mField_b9
private

Definition at line 72 of file lyt_pane.hpp.

◆ mOriginType

u8 nw4r::lyt::Pane::mOriginType
private

Definition at line 73 of file lyt_pane.hpp.

◆ mFlags

u8 nw4r::lyt::Pane::mFlags

Definition at line 76 of file lyt_pane.hpp.

◆ typeInfo

int nw4r::lyt::Pane::typeInfo
static

Definition at line 78 of file lyt_pane.hpp.