Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
J2DWindow Class Reference

#include <J2DWindow.h>

+ Inheritance diagram for J2DWindow:
+ Collaboration diagram for J2DWindow:

Classes

struct  TContentsColor
 
struct  TMaterial
 

Public Member Functions

 J2DWindow (J2DPane *, JSURandomInputStream *, J2DMaterial *)
 
 J2DWindow (J2DPane *, JSURandomInputStream *, JKRArchive *)
 
 J2DWindow ()
 
void private_readStream (J2DPane *, JSURandomInputStream *, JKRArchive *)
 
void initinfo2 ()
 
void draw_private (JGeometry::TBox2< f32 > const &, JGeometry::TBox2< f32 > const &)
 
void setContentsColor (JUtility::TColor, JUtility::TColor, JUtility::TColor, JUtility::TColor)
 
void drawFrameTexture (JUTTexture *, f32, f32, f32, f32, u16, u16, u16, u16, bool)
 
void drawFrameTexture (JUTTexture *, f32, f32, bool, bool, bool)
 
void drawContentsTexture (f32, f32, f32, f32)
 
void setTevMode (JUTTexture *, JUtility::TColor, JUtility::TColor)
 
virtual ~J2DWindow ()
 
virtual u16 getTypeID () const
 
virtual void resize (f32, f32)
 
virtual void drawSelf (f32, f32)
 
virtual void drawSelf (f32, f32, Mtx *)
 
virtual bool isUsed (ResTIMG const *)
 
virtual bool isUsed (ResFONT const *)
 
virtual void rewriteAlpha ()
 
virtual void draw (JGeometry::TBox2< f32 > const &)
 
virtual void draw (JGeometry::TBox2< f32 > const &, JGeometry::TBox2< f32 > const &)
 
virtual void draw (f32, f32, f32, f32)
 
virtual bool setBlack (JUtility::TColor)
 
virtual bool setWhite (JUtility::TColor)
 
virtual bool setBlackWhite (JUtility::TColor, JUtility::TColor)
 
virtual JUtility::TColor getBlack () const
 
virtual JUtility::TColor getWhite () const
 
virtual JUTTexturegetFrameTexture (u8, u8) const
 
virtual JUTTexturegetContentsTexture (u8) const
 
virtual void getMaterial (J2DWindow::TMaterial &) const
 
virtual J2DMaterialgetFrameMaterial (u8) const
 
virtual J2DMaterialgetContentsMaterial () const
 
virtual void drawContents (JGeometry::TBox2< f32 > const &)
 
bool isField0x145Set (u8 flag)
 
void getContentsColor (TContentsColor &param_0) const
 
void setContentsColor (JUtility::TColor param_0)
 
- Public Member Functions inherited from J2DPane
 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)
 
voidgetPointer (JSURandomInputStream *stream, u32 size, JKRArchive *archive)
 
void animationTransform ()
 
void updateTransform (const J2DAnmTransform *transform)
 
virtual ~J2DPane ()
 
virtual void move (f32 x, f32 y)
 
virtual void add (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 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 void clearAnmTransform ()
 
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
 

Protected Attributes

JUTTexturefield_0x100
 
JUTTexturefield_0x104
 
JUTTexturefield_0x108
 
JUTTexturefield_0x10c
 
JUTTexturefield_0x110
 
JGeometry::TBox2< f32field_0x114
 
JUTPalettemPalette
 
JUtility::TColor field_0x128
 
JUtility::TColor field_0x12C
 
JUtility::TColor field_0x130
 
JUtility::TColor field_0x134
 
JUtility::TColor mWhite
 
JUtility::TColor mBlack
 
s16 field_0x140
 
s16 field_0x142
 
u8 field_0x144
 
u8 field_0x145
 

Additional Inherited Members

- Static Public Member Functions inherited from J2DPane
static s16 J2DCast_F32_to_S16 (f32 value, u8 arg2)
 
- Public Attributes inherited from J2DPane
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 inherited from J2DPane
static JGeometry::TBox2< f32static_mBounds
 

Constructor & Destructor Documentation

◆ J2DWindow() [1/3]

J2DWindow::J2DWindow ( J2DPane param_0,
JSURandomInputStream param_1,
J2DMaterial param_2 
)

◆ J2DWindow() [2/3]

J2DWindow::J2DWindow ( J2DPane param_0,
JSURandomInputStream param_1,
JKRArchive param_2 
)

◆ J2DWindow() [3/3]

J2DWindow::J2DWindow ( )

◆ ~J2DWindow()

J2DWindow::~J2DWindow ( )
virtual

Member Function Documentation

◆ draw() [1/3]

void J2DWindow::draw ( f32  param_0,
f32  param_1,
f32  param_2,
f32  param_3 
)
virtual

Reimplemented in J2DWindowEx.

◆ draw() [2/3]

void J2DWindow::draw ( JGeometry::TBox2< f32 > const param_0)
virtual

Reimplemented in J2DWindowEx.

◆ draw() [3/3]

void J2DWindow::draw ( JGeometry::TBox2< f32 > const param_0,
JGeometry::TBox2< f32 > const param_1 
)
virtual

Reimplemented in J2DWindowEx.

◆ draw_private()

void J2DWindow::draw_private ( JGeometry::TBox2< f32 > const param_0,
JGeometry::TBox2< f32 > const param_1 
)

◆ drawContents()

void J2DWindow::drawContents ( JGeometry::TBox2< f32 > const param_0)
virtual

Reimplemented in J2DWindowEx.

◆ drawContentsTexture()

void J2DWindow::drawContentsTexture ( f32  param_0,
f32  param_1,
f32  param_2,
f32  param_3 
)

◆ drawFrameTexture() [1/2]

void J2DWindow::drawFrameTexture ( JUTTexture param_0,
f32  param_1,
f32  param_2,
bool  param_3,
bool  param_4,
bool  param_5 
)

◆ drawFrameTexture() [2/2]

void J2DWindow::drawFrameTexture ( JUTTexture param_0,
f32  param_1,
f32  param_2,
f32  param_3,
f32  param_4,
u16  param_5,
u16  param_6,
u16  param_7,
u16  param_8,
bool  param_9 
)

◆ drawSelf() [1/2]

void J2DWindow::drawSelf ( f32  param_0,
f32  param_1 
)
virtual

Reimplemented from J2DPane.

◆ drawSelf() [2/2]

void J2DWindow::drawSelf ( f32  param_0,
f32  param_1,
Mtx param_2 
)
virtual

Reimplemented from J2DPane.

◆ getBlack()

JUtility::TColor J2DWindow::getBlack ( ) const
virtual

Reimplemented in J2DWindowEx.

◆ getContentsColor()

void J2DWindow::getContentsColor ( TContentsColor param_0) const
inline

◆ getContentsMaterial()

J2DMaterial * J2DWindow::getContentsMaterial ( ) const
virtual

Reimplemented in J2DWindowEx.

◆ getContentsTexture()

JUTTexture * J2DWindow::getContentsTexture ( u8  param_0) const
virtual

Reimplemented in J2DWindowEx.

◆ getFrameMaterial()

J2DMaterial * J2DWindow::getFrameMaterial ( u8  param_0) const
virtual

Reimplemented in J2DWindowEx.

◆ getFrameTexture()

JUTTexture * J2DWindow::getFrameTexture ( u8  param_0,
u8  param_1 
) const
virtual

Reimplemented in J2DWindowEx.

◆ getMaterial()

void J2DWindow::getMaterial ( J2DWindow::TMaterial param_0) const
virtual

Reimplemented in J2DWindowEx.

◆ getTypeID()

u16 J2DWindow::getTypeID ( ) const
virtual

Reimplemented from J2DPane.

◆ getWhite()

JUtility::TColor J2DWindow::getWhite ( ) const
virtual

Reimplemented in J2DWindowEx.

◆ initinfo2()

void J2DWindow::initinfo2 ( )

◆ isField0x145Set()

bool J2DWindow::isField0x145Set ( u8  flag)
inline

◆ isUsed() [1/2]

bool J2DWindow::isUsed ( ResFONT const param_0)
virtual

Reimplemented from J2DPane.

Reimplemented in J2DWindowEx.

◆ isUsed() [2/2]

bool J2DWindow::isUsed ( ResTIMG const param_0)
virtual

Reimplemented from J2DPane.

Reimplemented in J2DWindowEx.

◆ private_readStream()

void J2DWindow::private_readStream ( J2DPane param_0,
JSURandomInputStream param_1,
JKRArchive param_2 
)

◆ resize()

void J2DWindow::resize ( f32  param_0,
f32  param_1 
)
virtual

Reimplemented from J2DPane.

◆ rewriteAlpha()

void J2DWindow::rewriteAlpha ( )
virtual

Reimplemented from J2DPane.

Reimplemented in J2DWindowEx.

◆ setBlack()

bool J2DWindow::setBlack ( JUtility::TColor  black)
virtual

Reimplemented in J2DWindowEx.

◆ setBlackWhite()

bool J2DWindow::setBlackWhite ( JUtility::TColor  black,
JUtility::TColor  white 
)
virtual

Reimplemented in J2DWindowEx.

◆ setContentsColor() [1/2]

void J2DWindow::setContentsColor ( JUtility::TColor  param_0)
inline

◆ setContentsColor() [2/2]

void J2DWindow::setContentsColor ( JUtility::TColor  param_0,
JUtility::TColor  param_1,
JUtility::TColor  param_2,
JUtility::TColor  param_3 
)

◆ setTevMode()

void J2DWindow::setTevMode ( JUTTexture param_0,
JUtility::TColor  param_1,
JUtility::TColor  param_2 
)

◆ setWhite()

bool J2DWindow::setWhite ( JUtility::TColor  white)
virtual

Reimplemented in J2DWindowEx.

Member Data Documentation

◆ field_0x100

JUTTexture* J2DWindow::field_0x100
protected

◆ field_0x104

JUTTexture* J2DWindow::field_0x104
protected

◆ field_0x108

JUTTexture* J2DWindow::field_0x108
protected

◆ field_0x10c

JUTTexture* J2DWindow::field_0x10c
protected

◆ field_0x110

JUTTexture* J2DWindow::field_0x110
protected

◆ field_0x114

JGeometry::TBox2<f32> J2DWindow::field_0x114
protected

◆ field_0x128

JUtility::TColor J2DWindow::field_0x128
protected

◆ field_0x12C

JUtility::TColor J2DWindow::field_0x12C
protected

◆ field_0x130

JUtility::TColor J2DWindow::field_0x130
protected

◆ field_0x134

JUtility::TColor J2DWindow::field_0x134
protected

◆ field_0x140

s16 J2DWindow::field_0x140
protected

◆ field_0x142

s16 J2DWindow::field_0x142
protected

◆ field_0x144

u8 J2DWindow::field_0x144
protected

◆ field_0x145

u8 J2DWindow::field_0x145
protected

◆ mBlack

JUtility::TColor J2DWindow::mBlack
protected

◆ mPalette

JUTPalette* J2DWindow::mPalette
protected

◆ mWhite

JUtility::TColor J2DWindow::mWhite
protected

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