Loading [MathJax]/extensions/tex2jax.js
Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
J2DPane Class Reference

#include <J2DPane.h>

+ Inheritance diagram for J2DPane:
+ Collaboration diagram for J2DPane:

Public Member Functions

 J2DPane ()
 
 J2DPane (J2DPane *, bool, u64, const JGeometry::TBox2< f32 > &)
 
 J2DPane (u64, const JGeometry::TBox2< f32 > &)
 
 J2DPane (J2DPane *other, JSURandomInputStream *stream, u8 arg3)
 
void initiate ()
 
void initialize (J2DPane *, bool, u64, const JGeometry::TBox2< f32 > &)
 
void initialize (u64 tag, const JGeometry::TBox2< f32 > &dim)
 
void makePaneStream (J2DPane *other, JSURandomInputStream *stream)
 
void changeUseTrans (J2DPane *other)
 
bool appendChild (J2DPane *child)
 
bool insertChild (J2DPane *before, J2DPane *child)
 
void draw (f32 a1, f32 a2, const J2DGrafContext *ctx, bool a4, bool a5)
 
void place (const JGeometry::TBox2< f32 > &dim)
 
JGeometry::TBox2< f32 > & getBounds ()
 
void rotate (f32 offsetX, f32 offsetY, J2DRotateAxis axis, f32 angle)
 
void rotate (f32 angle)
 
void clip (const JGeometry::TBox2< f32 > &bounds)
 
void setBasePosition (J2DBasePosition position)
 
void setInfluencedAlpha (bool arg1, bool arg2)
 
Vec getGlbVtx (u8 arg1) const
 
J2DPanegetFirstChildPane ()
 
J2DPanegetNextChildPane ()
 
J2DPanegetParentPane ()
 
void makePaneExStream (J2DPane *other, JSURandomInputStream *stream)
 
void * getPointer (JSURandomInputStream *stream, u32 size, JKRArchive *archive)
 
void animationTransform ()
 
void updateTransform (const J2DAnmTransform *transform)
 
virtual ~J2DPane ()
 
virtual u16 getTypeID () const
 
virtual void move (f32 x, f32 y)
 
virtual void add (f32 x, f32 y)
 
virtual void resize (f32 x, f32 y)
 
virtual void setCullBack (bool cull)
 
virtual void setCullBack (_GXCullMode cmode)
 
virtual void setAlpha (u8)
 
virtual bool setConnectParent (bool connected)
 
virtual void calcMtx ()
 
virtual void update ()
 
virtual void drawSelf (f32 arg1, f32 arg2)
 
virtual void drawSelf (f32 arg1, f32 arg2, Mtx *mtx)
 
virtual J2DPanesearch (u64 tag)
 
virtual J2DPanesearchUserInfo (u64 tag)
 
virtual void makeMatrix (f32 a, f32 b)
 
virtual void makeMatrix (f32 a, f32 b, f32 c, f32 d)
 
virtual bool isUsed (const ResTIMG *timg)
 
virtual bool isUsed (const ResFONT *font)
 
virtual void clearAnmTransform ()
 
virtual void rewriteAlpha ()
 
virtual void setAnimation (J2DAnmBase *anm)
 
virtual void setAnimation (J2DAnmTransform *anm)
 
virtual void setAnimation (J2DAnmColor *anm)
 
virtual void setAnimation (J2DAnmTexPattern *anm)
 
virtual void setAnimation (J2DAnmTextureSRTKey *anm)
 
virtual void setAnimation (J2DAnmTevRegKey *anm)
 
virtual void setAnimation (J2DAnmVisibilityFull *anm)
 
virtual void setAnimation (J2DAnmVtxColor *anm)
 
virtual const J2DAnmTransformanimationTransform (const J2DAnmTransform *transform)
 
virtual void setVisibileAnimation (J2DAnmVisibilityFull *visibility)
 
virtual void setAnimationVF (J2DAnmVisibilityFull *visibility)
 
virtual void setVtxColorAnimation (J2DAnmVtxColor *vtx_color)
 
virtual void setAnimationVC (J2DAnmVtxColor *vtx_color)
 
virtual const J2DAnmTransformanimationPane (const J2DAnmTransform *transform)
 
f32 getHeight () const
 
f32 getWidth () const
 
JSUTree< J2DPane > * getFirstChild ()
 
JSUTree< J2DPane > * getEndChild ()
 
const JSUTree< J2DPane > * getPaneTree ()
 
u8 getAlpha () const
 
f32 getScaleX () const
 
f32 getScaleY () const
 
f32 getTranslateX () const
 
f32 getTranslateY () const
 
f32 getRotateZ () const
 
f32 getRotOffsetX () const
 
f32 getRotOffsetY () const
 
MtxP getGlbMtx ()
 
JGeometry::TBox2< f32 > & getGlbBounds ()
 
void setMtx (Mtx m)
 
void translate (f32 transX, f32 transY)
 
void scale (f32 scaleH, f32 scaleV)
 
int getKind () const
 
bool isVisible () const
 
void show ()
 
void hide ()
 
bool isConnectParent () const
 
void setUserInfo (u64 info)
 
const MtxgetMtx () const
 

Static Public Member Functions

static s16 J2DCast_F32_to_S16 (f32 value, u8 arg2)
 

Public Attributes

u16 field_0x4
 
int mKind
 
u64 mInfoTag
 
u64 mUserInfoTag
 
JGeometry::TBox2< f32mBounds
 
JGeometry::TBox2< f32mGlobalBounds
 
JGeometry::TBox2< f32mClipRect
 
Mtx mPositionMtx
 
Mtx mGlobalMtx
 
bool mVisible
 
u8 mCullMode
 
u8 mAlpha
 
u8 mColorAlpha
 
bool mIsInfluencedAlpha
 
bool mConnected
 
char mRotAxis
 
u8 mBasePosition
 
f32 mRotateX
 
f32 mRotateY
 
f32 mRotateZ
 
f32 mRotateOffsetX
 
f32 mRotateOffsetY
 
f32 mScaleX
 
f32 mScaleY
 
f32 mTranslateX
 
f32 mTranslateY
 
JSUTree< J2DPanemPaneTree
 
const J2DAnmTransformmTransform
 
u32 _fc
 

Static Public Attributes

static JGeometry::TBox2< f32static_mBounds
 

Constructor & Destructor Documentation

◆ J2DPane() [1/4]

J2DPane::J2DPane ( )

◆ J2DPane() [2/4]

J2DPane::J2DPane ( J2DPane * p_pane,
bool visible,
u64 tag,
const JGeometry::TBox2< f32 > & bounds )

◆ J2DPane() [3/4]

J2DPane::J2DPane ( u64 infoTag,
const JGeometry::TBox2< f32 > & bounds )

◆ J2DPane() [4/4]

J2DPane::J2DPane ( J2DPane * other,
JSURandomInputStream * stream,
u8 arg3 )

◆ ~J2DPane()

J2DPane::~J2DPane ( )
virtual

Member Function Documentation

◆ add()

void J2DPane::add ( f32 x,
f32 y )
virtual

◆ animationPane()

const J2DAnmTransform * J2DPane::animationPane ( const J2DAnmTransform * transform)
virtual

Reimplemented in J2DPictureEx, J2DTextBoxEx, and J2DWindowEx.

◆ animationTransform() [1/2]

void J2DPane::animationTransform ( )

◆ animationTransform() [2/2]

const J2DAnmTransform * J2DPane::animationTransform ( const J2DAnmTransform * transform)
virtual

◆ appendChild()

bool J2DPane::appendChild ( J2DPane * child)

◆ calcMtx()

virtual void J2DPane::calcMtx ( )
inlinevirtual

Reimplemented in J2DScreen.

◆ changeUseTrans()

void J2DPane::changeUseTrans ( J2DPane * other)

◆ clearAnmTransform()

void J2DPane::clearAnmTransform ( )
virtual

Reimplemented in J2DScreen.

◆ clip()

void J2DPane::clip ( const JGeometry::TBox2< f32 > & bounds)

◆ draw()

void J2DPane::draw ( f32 a1,
f32 a2,
const J2DGrafContext * ctx,
bool a4,
bool a5 )

◆ drawSelf() [1/2]

void J2DPane::drawSelf ( f32 arg1,
f32 arg2 )
virtual

Reimplemented in J2DPicture, J2DTextBox, and J2DWindow.

◆ drawSelf() [2/2]

virtual void J2DPane::drawSelf ( f32 arg1,
f32 arg2,
Mtx * mtx )
virtual

Reimplemented in J2DPicture, J2DScreen, J2DTextBox, and J2DWindow.

◆ getAlpha()

u8 J2DPane::getAlpha ( ) const
inline

◆ getBounds()

JGeometry::TBox2< f32 > & J2DPane::getBounds ( )

◆ getEndChild()

JSUTree< J2DPane > * J2DPane::getEndChild ( )
inline

◆ getFirstChild()

JSUTree< J2DPane > * J2DPane::getFirstChild ( )
inline

◆ getFirstChildPane()

J2DPane * J2DPane::getFirstChildPane ( )

◆ getGlbBounds()

JGeometry::TBox2< f32 > & J2DPane::getGlbBounds ( )
inline

◆ getGlbMtx()

MtxP J2DPane::getGlbMtx ( )
inline

◆ getGlbVtx()

Vec J2DPane::getGlbVtx ( u8 arg1) const

◆ getHeight()

f32 J2DPane::getHeight ( ) const
inline

◆ getKind()

int J2DPane::getKind ( ) const
inline

◆ getMtx()

const Mtx * J2DPane::getMtx ( ) const
inline

◆ getNextChildPane()

J2DPane * J2DPane::getNextChildPane ( )

◆ getPaneTree()

const JSUTree< J2DPane > * J2DPane::getPaneTree ( )
inline

◆ getParentPane()

J2DPane * J2DPane::getParentPane ( )

◆ getPointer()

void * J2DPane::getPointer ( JSURandomInputStream * stream,
u32 size,
JKRArchive * archive )

◆ getRotateZ()

f32 J2DPane::getRotateZ ( ) const
inline

◆ getRotOffsetX()

f32 J2DPane::getRotOffsetX ( ) const
inline

◆ getRotOffsetY()

f32 J2DPane::getRotOffsetY ( ) const
inline

◆ getScaleX()

f32 J2DPane::getScaleX ( ) const
inline

◆ getScaleY()

f32 J2DPane::getScaleY ( ) const
inline

◆ getTranslateX()

f32 J2DPane::getTranslateX ( ) const
inline

◆ getTranslateY()

f32 J2DPane::getTranslateY ( ) const
inline

◆ getTypeID()

virtual u16 J2DPane::getTypeID ( ) const
inlinevirtual

Reimplemented in J2DPicture, J2DScreen, J2DTextBox, and J2DWindow.

◆ getWidth()

f32 J2DPane::getWidth ( ) const
inline

◆ hide()

void J2DPane::hide ( )
inline

◆ initialize() [1/2]

void J2DPane::initialize ( J2DPane * p_pane,
bool visible,
u64 infoTag,
const JGeometry::TBox2< f32 > & bounds )

◆ initialize() [2/2]

void J2DPane::initialize ( u64 tag,
const JGeometry::TBox2< f32 > & dim )

◆ initiate()

void J2DPane::initiate ( )

◆ insertChild()

bool J2DPane::insertChild ( J2DPane * before,
J2DPane * child )

◆ isConnectParent()

bool J2DPane::isConnectParent ( ) const
inline

◆ isUsed() [1/2]

bool J2DPane::isUsed ( const ResFONT * font)
virtual

◆ isUsed() [2/2]

bool J2DPane::isUsed ( const ResTIMG * timg)
virtual

◆ isVisible()

bool J2DPane::isVisible ( ) const
inline

◆ J2DCast_F32_to_S16()

s16 J2DPane::J2DCast_F32_to_S16 ( f32 value,
u8 arg2 )
static

◆ makeMatrix() [1/2]

virtual void J2DPane::makeMatrix ( f32 a,
f32 b )
inlinevirtual

◆ makeMatrix() [2/2]

void J2DPane::makeMatrix ( f32 a,
f32 b,
f32 c,
f32 d )
virtual

◆ makePaneExStream()

void J2DPane::makePaneExStream ( J2DPane * other,
JSURandomInputStream * stream )

◆ makePaneStream()

void J2DPane::makePaneStream ( J2DPane * other,
JSURandomInputStream * stream )

◆ move()

void J2DPane::move ( f32 x,
f32 y )
virtual

◆ place()

void J2DPane::place ( const JGeometry::TBox2< f32 > & dim)

◆ resize()

void J2DPane::resize ( f32 x,
f32 y )
virtual

Reimplemented in J2DTextBox, and J2DWindow.

◆ rewriteAlpha()

void J2DPane::rewriteAlpha ( )
virtual

◆ rotate() [1/2]

void J2DPane::rotate ( f32 angle)

◆ rotate() [2/2]

void J2DPane::rotate ( f32 offsetX,
f32 offsetY,
J2DRotateAxis axis,
f32 angle )

◆ scale()

void J2DPane::scale ( f32 scaleH,
f32 scaleV )
inline

◆ search()

J2DPane * J2DPane::search ( u64 tag)
virtual

Reimplemented in J2DScreen.

◆ searchUserInfo()

J2DPane * J2DPane::searchUserInfo ( u64 tag)
virtual

Reimplemented in J2DScreen.

◆ setAlpha()

void J2DPane::setAlpha ( u8 alpha)
virtual

Reimplemented in J2DPictureEx, J2DTextBoxEx, and J2DWindowEx.

◆ setAnimation() [1/8]

void J2DPane::setAnimation ( J2DAnmBase * anm)
virtual

Reimplemented in J2DPictureEx, J2DScreen, J2DTextBoxEx, and J2DWindowEx.

◆ setAnimation() [2/8]

virtual void J2DPane::setAnimation ( J2DAnmColor * anm)
inlinevirtual

Reimplemented in J2DPictureEx, J2DScreen, J2DTextBoxEx, and J2DWindowEx.

◆ setAnimation() [3/8]

virtual void J2DPane::setAnimation ( J2DAnmTevRegKey * anm)
inlinevirtual

Reimplemented in J2DPictureEx, J2DScreen, J2DTextBoxEx, and J2DWindowEx.

◆ setAnimation() [4/8]

virtual void J2DPane::setAnimation ( J2DAnmTexPattern * anm)
inlinevirtual

Reimplemented in J2DPictureEx, J2DScreen, J2DTextBoxEx, and J2DWindowEx.

◆ setAnimation() [5/8]

virtual void J2DPane::setAnimation ( J2DAnmTextureSRTKey * anm)
inlinevirtual

Reimplemented in J2DPictureEx, J2DScreen, J2DTextBoxEx, and J2DWindowEx.

◆ setAnimation() [6/8]

void J2DPane::setAnimation ( J2DAnmTransform * anm)
virtual

Reimplemented in J2DPictureEx, J2DScreen, J2DTextBoxEx, and J2DWindowEx.

◆ setAnimation() [7/8]

virtual void J2DPane::setAnimation ( J2DAnmVisibilityFull * anm)
inlinevirtual

Reimplemented in J2DPictureEx, J2DScreen, J2DTextBoxEx, and J2DWindowEx.

◆ setAnimation() [8/8]

virtual void J2DPane::setAnimation ( J2DAnmVtxColor * anm)
inlinevirtual

Reimplemented in J2DPictureEx, J2DScreen, J2DTextBoxEx, and J2DWindowEx.

◆ setAnimationVC()

void J2DPane::setAnimationVC ( J2DAnmVtxColor * vtx_color)
virtual

Reimplemented in J2DScreen.

◆ setAnimationVF()

void J2DPane::setAnimationVF ( J2DAnmVisibilityFull * visibility)
virtual

Reimplemented in J2DScreen.

◆ setBasePosition()

void J2DPane::setBasePosition ( J2DBasePosition position)

◆ setConnectParent()

bool J2DPane::setConnectParent ( bool connected)
virtual

Reimplemented in J2DTextBox.

◆ setCullBack() [1/2]

virtual void J2DPane::setCullBack ( _GXCullMode cmode)
virtual

Reimplemented in J2DPictureEx, J2DTextBoxEx, and J2DWindowEx.

◆ setCullBack() [2/2]

void J2DPane::setCullBack ( bool cull)
virtual

Reimplemented in J2DPictureEx, J2DTextBoxEx, and J2DWindowEx.

◆ setInfluencedAlpha()

void J2DPane::setInfluencedAlpha ( bool arg1,
bool arg2 )

◆ setMtx()

void J2DPane::setMtx ( Mtx m)
inline

◆ setUserInfo()

void J2DPane::setUserInfo ( u64 info)
inline

◆ setVisibileAnimation()

void J2DPane::setVisibileAnimation ( J2DAnmVisibilityFull * visibility)
virtual

◆ setVtxColorAnimation()

void J2DPane::setVtxColorAnimation ( J2DAnmVtxColor * vtx_color)
virtual

◆ show()

void J2DPane::show ( )
inline

◆ translate()

void J2DPane::translate ( f32 transX,
f32 transY )
inline

◆ update()

void J2DPane::update ( )
virtual

◆ updateTransform()

void J2DPane::updateTransform ( const J2DAnmTransform * transform)

Member Data Documentation

◆ _fc

u32 J2DPane::_fc

◆ field_0x4

u16 J2DPane::field_0x4

◆ mAlpha

u8 J2DPane::mAlpha

◆ mBasePosition

u8 J2DPane::mBasePosition

◆ mBounds

JGeometry::TBox2<f32> J2DPane::mBounds

◆ mClipRect

JGeometry::TBox2<f32> J2DPane::mClipRect

◆ mColorAlpha

u8 J2DPane::mColorAlpha

◆ mConnected

bool J2DPane::mConnected

◆ mCullMode

u8 J2DPane::mCullMode

◆ mGlobalBounds

JGeometry::TBox2<f32> J2DPane::mGlobalBounds

◆ mGlobalMtx

Mtx J2DPane::mGlobalMtx

◆ mInfoTag

u64 J2DPane::mInfoTag

◆ mIsInfluencedAlpha

bool J2DPane::mIsInfluencedAlpha

◆ mKind

int J2DPane::mKind

◆ mPaneTree

JSUTree<J2DPane> J2DPane::mPaneTree

◆ mPositionMtx

Mtx J2DPane::mPositionMtx

◆ mRotateOffsetX

f32 J2DPane::mRotateOffsetX

◆ mRotateOffsetY

f32 J2DPane::mRotateOffsetY

◆ mRotateX

f32 J2DPane::mRotateX

◆ mRotateY

f32 J2DPane::mRotateY

◆ mRotateZ

f32 J2DPane::mRotateZ

◆ mRotAxis

char J2DPane::mRotAxis

◆ mScaleX

f32 J2DPane::mScaleX

◆ mScaleY

f32 J2DPane::mScaleY

◆ mTransform

const J2DAnmTransform* J2DPane::mTransform

◆ mTranslateX

f32 J2DPane::mTranslateX

◆ mTranslateY

f32 J2DPane::mTranslateY

◆ mUserInfoTag

u64 J2DPane::mUserInfoTag

◆ mVisible

bool J2DPane::mVisible

◆ static_mBounds

JGeometry::TBox2< f32 > J2DPane::static_mBounds
static

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