NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
|
Definition at line 77 of file lyt_pane.h.
Public Member Functions | |
NW4R_UT_RTTI_DECL (Pane) | |
Pane (const res::Pane *pRes) | |
virtual void | CalculateMtx (const DrawInfo &rInfo) |
void | CalculateMtxChild (const DrawInfo &rInfo) |
virtual void | Draw (const DrawInfo &rInfo) |
virtual void | DrawSelf (const DrawInfo &rInfo) |
virtual void | Animate (ulong option) |
virtual void | AnimateSelf (ulong option) |
virtual ut::Color | GetVtxColor (ulong idx) const |
virtual void | SetVtxColor (ulong idx, ut::Color color) |
virtual u8 | GetColorElement (ulong idx) const |
virtual void | SetColorElement (ulong idx, u8 value) |
virtual u8 | GetVtxColorElement (ulong idx) const |
virtual void | SetVtxColorElement (ulong idx, u8 value) |
virtual Pane * | FindPaneByName (const char *pName, bool recursive) |
virtual Material * | FindMaterialByName (const char *pName, bool recursive) |
virtual void | BindAnimation (AnimTransform *pAnimTrans, bool recursive) |
virtual void | UnbindAnimation (AnimTransform *pAnimTrans, bool recursive) |
virtual void | UnbindAllAnimation (bool recursive) |
virtual void | UnbindAnimationSelf (AnimTransform *pAnimTrans) |
virtual AnimationLink * | FindAnimationLinkSelf (AnimTransform *pAnimTrans) |
virtual AnimationLink * | FindAnimationLinkSelf (const AnimResource &) |
virtual void | SetAnimationEnable (AnimTransform *pAnimTrans, bool enable, bool recursive) |
virtual void | SetAnimationEnable (const AnimResource &, bool enable, bool recursive) |
virtual bool | GetMaterialNum () const |
virtual Material * | GetMaterial () const |
virtual Material * | GetMaterial (ulong) const |
virtual void | LoadMtx (const DrawInfo &rInfo) |
void | AppendChild (Pane *pChild) |
void | RemoveChild (Pane *pChild) |
ut::Rect | GetPaneRect (const DrawInfo &rInfo) const |
void | AddAnimationLink (AnimationLink *pAnimLink) |
math::VEC2 | GetVtxPos () const |
Pane * | GetParent () const |
PaneList & | GetChildList () |
void | SetSRTElement (ulong idx, f32 value) |
const math::VEC3 & | GetTranslate () const |
void | SetTranslate (const math::VEC2 &rTransXY) |
void | SetTranslate (const math::VEC3 &rTrans) |
const math::VEC3 & | GetRotate () const |
void | SetRotate (const math::VEC3 &rRotate) |
const math::VEC2 & | GetScale () const |
void | SetScale (const math::VEC2 &rScale) |
const Size & | GetSize () const |
void | SetSize (const Size &rSize) |
const math::MTX34 & | GetMtx () const |
void | SetMtx (const math::MTX34 &rMtx) |
const math::MTX34 & | GetGlobalMtx () const |
void | SetGlobalMtx (const math::MTX34 &rGlbMtx) |
u8 | GetAlpha () const |
void | SetAlpha (u8 alpha) |
u8 | GetGlbAlpha () const |
void | SetGlbAlpha (u8 alpha) |
u8 | GetBasePositionH () const |
void | SetBasePositionH (u8 position) |
u8 | GetBasePositionV () const |
void | SetBasePositionV (u8 position) |
bool | IsVisible () const |
void | SetVisible (bool visible) |
bool | IsInfluencedAlpha () const |
void | SetInfluencedAlpha (bool influenced) |
bool | IsLocationAdjust () const |
void | SetLocationAdjust (bool adjust) |
const char * | GetName () const |
void | SetName (const char *pName) |
const char * | GetUserData () const |
void | SetUserData (const char *pUserData) |
bool | IsUserAllocated () const |
![]() | |
NW4R_UT_LINKLIST_NODE_DECL () | |
Protected Member Functions | |
void | InsertChild (PaneList::Iterator next, Pane *pChild) |
Protected Attributes | |
Pane * | mpParent |
PaneList | mChildList |
AnimationLinkList | mAnimList |
Material * | mpMaterial |
math::VEC3 | mTranslate |
math::VEC3 | mRotate |
math::VEC2 | mScale |
Size | mSize |
math::MTX34 | mMtx |
math::MTX34 | mGlbMtx |
ulong | mExtUserDataNum |
u8 | mAlpha |
u8 | mGlbAlpha |
u8 | mBasePosition |
u8 | mFlag |
char | mName [NW4R_LYT_RES_NAME_LEN+1] |
char | mUserData [NW4R_LYT_PANE_USERDATA_LEN+1] |
bool | mbUserAllocated |
u8 | PADDING_0xD3 |
Private Types | |
enum | { BIT_VISIBLE , BIT_INFLUENCED_ALPHA , BIT_LOCATION_ADJUST } |
typedef ut::LinkList< Pane, offsetof(PaneBase, node)> | PaneList |
Private Member Functions | |
void | Init () |
|
private |
Definition at line 89 of file lyt_pane.h.
|
private |
Definition at line 82 of file lyt_pane.h.
|
inline |
Definition at line 147 of file lyt_pane.h.
|
inline |
Definition at line 151 of file lyt_pane.h.
|
inline |
Definition at line 155 of file lyt_pane.h.
|
inline |
Definition at line 159 of file lyt_pane.h.
|
inline |
Definition at line 162 of file lyt_pane.h.
|
inline |
Definition at line 166 of file lyt_pane.h.
|
inline |
Definition at line 170 of file lyt_pane.h.
|
inline |
Definition at line 173 of file lyt_pane.h.
|
inline |
Definition at line 177 of file lyt_pane.h.
|
inline |
Definition at line 180 of file lyt_pane.h.
|
inline |
Definition at line 184 of file lyt_pane.h.
|
inline |
Definition at line 187 of file lyt_pane.h.
|
inline |
Definition at line 191 of file lyt_pane.h.
|
inline |
Definition at line 194 of file lyt_pane.h.
|
inline |
Definition at line 198 of file lyt_pane.h.
|
inline |
Definition at line 201 of file lyt_pane.h.
|
inline |
Definition at line 205 of file lyt_pane.h.
|
inline |
Definition at line 208 of file lyt_pane.h.
|
inline |
Definition at line 212 of file lyt_pane.h.
|
inline |
Definition at line 215 of file lyt_pane.h.
|
inline |
Definition at line 219 of file lyt_pane.h.
|
inline |
Definition at line 222 of file lyt_pane.h.
|
inline |
Definition at line 226 of file lyt_pane.h.
|
inline |
Definition at line 229 of file lyt_pane.h.
|
inline |
Definition at line 233 of file lyt_pane.h.
|
inline |
Definition at line 236 of file lyt_pane.h.
|
inline |
Definition at line 240 of file lyt_pane.h.
|
inline |
Definition at line 243 of file lyt_pane.h.
|
inline |
Definition at line 247 of file lyt_pane.h.
|
inline |
Definition at line 250 of file lyt_pane.h.
|
inline |
Definition at line 254 of file lyt_pane.h.
|
inline |
Definition at line 259 of file lyt_pane.h.
|
inline |
Definition at line 264 of file lyt_pane.h.
|
protected |
Definition at line 269 of file lyt_pane.h.
|
protected |
Definition at line 270 of file lyt_pane.h.
|
protected |
Definition at line 271 of file lyt_pane.h.
|
protected |
Definition at line 272 of file lyt_pane.h.
|
protected |
Definition at line 274 of file lyt_pane.h.
|
protected |
Definition at line 275 of file lyt_pane.h.
|
protected |
Definition at line 276 of file lyt_pane.h.
|
protected |
Definition at line 277 of file lyt_pane.h.
|
protected |
Definition at line 279 of file lyt_pane.h.
|
protected |
Definition at line 280 of file lyt_pane.h.
|
protected |
Definition at line 282 of file lyt_pane.h.
|
protected |
Definition at line 284 of file lyt_pane.h.
|
protected |
Definition at line 285 of file lyt_pane.h.
|
protected |
Definition at line 286 of file lyt_pane.h.
|
protected |
Definition at line 287 of file lyt_pane.h.
|
protected |
Definition at line 289 of file lyt_pane.h.
|
protected |
Definition at line 290 of file lyt_pane.h.
|
protected |
Definition at line 292 of file lyt_pane.h.
|
protected |
Definition at line 293 of file lyt_pane.h.