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

#include <J2DTextBoxEx.h>

+ Inheritance diagram for J2DTextBoxEx:
+ Collaboration diagram for J2DTextBoxEx:

Public Types

enum  stage_enum { STAGE_0 , STAGE_1 , STAGE_2 }
 

Public Member Functions

 J2DTextBoxEx (J2DPane *, JSURandomInputStream *, u32, J2DMaterial *)
 
void setTevOrder (bool)
 
void setTevStage (bool)
 
void setStage (J2DTevStage *, J2DTextBoxEx::stage_enum)
 
bool getBlackWhite (JUtility::TColor *, JUtility::TColor *) const
 
bool isSetBlackWhite (JUtility::TColor, JUtility::TColor) const
 
virtual ~J2DTextBoxEx ()
 
virtual void setCullBack (bool)
 
virtual void setCullBack (_GXCullMode)
 
virtual void setAlpha (u8)
 
virtual void drawSelf (f32, f32, f32(*)[3][4])
 
virtual bool isUsed (ResTIMG const *)
 
virtual bool isUsed (ResFONT const *)
 
virtual void rewriteAlpha ()
 
virtual void setAnimation (J2DAnmBase *)
 
virtual void setAnimation (J2DAnmTransform *transform)
 
virtual void setAnimation (J2DAnmColor *)
 
virtual void setAnimation (J2DAnmTexPattern *)
 
virtual void setAnimation (J2DAnmTextureSRTKey *)
 
virtual void setAnimation (J2DAnmTevRegKey *)
 
virtual void setAnimation (J2DAnmVisibilityFull *)
 
virtual void setAnimation (J2DAnmVtxColor *)
 
virtual const J2DAnmTransformanimationPane (J2DAnmTransform const *)
 
virtual void draw (f32, f32)
 
virtual void draw (f32, f32, f32, J2DTextBoxHBinding)
 
virtual void setFont (JUTFont *)
 
virtual JUTFontgetFont () const
 
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 J2DMaterialgetMaterial () const
 
- Public Member Functions inherited from J2DTextBox
virtual ~J2DTextBox ()
 
virtual u16 getTypeID () const
 
virtual void resize (f32, f32)
 
virtual bool setConnectParent (bool)
 
virtual void drawSelf (f32, f32, Mtx *)
 
virtual void drawSelf (f32, f32)
 
 J2DTextBox (u64, JGeometry::TBox2< f32 > const &, ResFONT const *, char const *, s16, J2DTextBoxHBinding, J2DTextBoxVBinding)
 
 J2DTextBox (J2DPane *, JSURandomInputStream *, JKRArchive *)
 
 J2DTextBox (J2DPane *, JSURandomInputStream *, u32, J2DMaterial *)
 
 J2DTextBox ()
 
void initiate (ResFONT const *, char const *, s16, J2DTextBoxHBinding, J2DTextBoxVBinding)
 
void private_readStream (J2DPane *, JSURandomInputStream *, JKRArchive *)
 
chargetStringPtr () const
 
s32 setString (s16, char const *,...)
 
s32 setString (char const *,...)
 
void setFontSize (f32 sizeX, f32 sizeY)
 
void setFontSize (TFontSize size)
 
void getFontSize (TFontSize &size) const
 
void setFontColor (JUtility::TColor i_charColor, JUtility::TColor i_GradientColor)
 
void setCharColor (JUtility::TColor i_charColor)
 
void setGradColor (JUtility::TColor i_GradientColor)
 
void setCharSpace (f32 space)
 
f32 getCharSpace () const
 
void setLineSpace (f32 space)
 
f32 getLineSpace () const
 
J2DTextBoxVBinding getVBinding () const
 
J2DTextBoxHBinding getHBinding () const
 
JUtility::TColor getCharColor ()
 
JUtility::TColor getGradColor ()
 
u16 getStringAllocByte () const
 
- 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 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 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)
 
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
 

Private Attributes

J2DMaterialmMaterial
 
u16 field_0x13c
 
u16 field_0x13e
 
u8 field_0x140
 
J2DAnmVisibilityFullmVisibilityAnm
 

Additional Inherited Members

- Static Public Member Functions inherited from J2DPane
static s16 J2DCast_F32_to_S16 (f32 value, u8 arg2)
 
- Public Attributes inherited from J2DTextBox
JUTFontmFont
 
JUtility::TColor mCharColor
 
JUtility::TColor mGradientColor
 
f32 field_0x10c
 
f32 field_0x110
 
f32 mCharSpacing
 
f32 mLineSpacing
 
f32 mFontSizeX
 
f32 mFontSizeY
 
charmStringPtr
 
JUtility::TColor mWhiteColor
 
JUtility::TColor mBlackColor
 
u8 mFlags
 
bool mTextFontOwned
 
u16 mStringLength
 
u8 field_0x134 [4]
 
- 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
 

Member Enumeration Documentation

◆ stage_enum

Enumerator
STAGE_0 
STAGE_1 
STAGE_2 

Constructor & Destructor Documentation

◆ J2DTextBoxEx()

J2DTextBoxEx::J2DTextBoxEx ( J2DPane p_pane,
JSURandomInputStream p_stream,
u32  param_2,
J2DMaterial p_material 
)

◆ ~J2DTextBoxEx()

J2DTextBoxEx::~J2DTextBoxEx ( )
virtual

Member Function Documentation

◆ animationPane()

const J2DAnmTransform * J2DTextBoxEx::animationPane ( J2DAnmTransform const param_0)
virtual

Reimplemented from J2DPane.

◆ draw() [1/2]

void J2DTextBoxEx::draw ( f32  posX,
f32  posY 
)
virtual

Reimplemented from J2DTextBox.

◆ draw() [2/2]

void J2DTextBoxEx::draw ( f32  posX,
f32  posY,
f32  param_2,
J2DTextBoxHBinding  hBind 
)
virtual

Reimplemented from J2DTextBox.

◆ drawSelf()

void J2DTextBoxEx::drawSelf ( f32  ,
f32  ,
f32(*)  [3][4] 
)
virtual

◆ getBlack()

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

Reimplemented from J2DTextBox.

◆ getBlackWhite()

bool J2DTextBoxEx::getBlackWhite ( JUtility::TColor param_0,
JUtility::TColor param_1 
) const

◆ getFont()

JUTFont * J2DTextBoxEx::getFont ( ) const
virtual

Reimplemented from J2DTextBox.

◆ getMaterial()

virtual J2DMaterial * J2DTextBoxEx::getMaterial ( ) const
inlinevirtual

Reimplemented from J2DTextBox.

◆ getWhite()

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

Reimplemented from J2DTextBox.

◆ isSetBlackWhite()

bool J2DTextBoxEx::isSetBlackWhite ( JUtility::TColor  param_0,
JUtility::TColor  param_1 
) const

◆ isUsed() [1/2]

bool J2DTextBoxEx::isUsed ( ResFONT const p_font)
virtual

Reimplemented from J2DTextBox.

◆ isUsed() [2/2]

bool J2DTextBoxEx::isUsed ( ResTIMG const p_timg)
virtual

Reimplemented from J2DTextBox.

◆ rewriteAlpha()

void J2DTextBoxEx::rewriteAlpha ( )
virtual

Reimplemented from J2DTextBox.

◆ setAlpha()

void J2DTextBoxEx::setAlpha ( u8  alpha)
virtual

Reimplemented from J2DPane.

◆ setAnimation() [1/8]

void J2DTextBoxEx::setAnimation ( J2DAnmBase anm)
virtual

Reimplemented from J2DPane.

◆ setAnimation() [2/8]

void J2DTextBoxEx::setAnimation ( J2DAnmColor anm)
virtual

Reimplemented from J2DPane.

◆ setAnimation() [3/8]

void J2DTextBoxEx::setAnimation ( J2DAnmTevRegKey anm)
virtual

Reimplemented from J2DPane.

◆ setAnimation() [4/8]

void J2DTextBoxEx::setAnimation ( J2DAnmTexPattern anm)
virtual

Reimplemented from J2DPane.

◆ setAnimation() [5/8]

void J2DTextBoxEx::setAnimation ( J2DAnmTextureSRTKey anm)
virtual

Reimplemented from J2DPane.

◆ setAnimation() [6/8]

virtual void J2DTextBoxEx::setAnimation ( J2DAnmTransform transform)
inlinevirtual

Reimplemented from J2DPane.

◆ setAnimation() [7/8]

void J2DTextBoxEx::setAnimation ( J2DAnmVisibilityFull anm)
virtual

Reimplemented from J2DPane.

◆ setAnimation() [8/8]

void J2DTextBoxEx::setAnimation ( J2DAnmVtxColor param_0)
virtual

Reimplemented from J2DPane.

◆ setBlack()

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

Reimplemented from J2DTextBox.

◆ setBlackWhite()

bool J2DTextBoxEx::setBlackWhite ( JUtility::TColor  param_0,
JUtility::TColor  param_1 
)
virtual

Reimplemented from J2DTextBox.

◆ setCullBack() [1/2]

virtual void J2DTextBoxEx::setCullBack ( _GXCullMode  )
virtual

Reimplemented from J2DPane.

◆ setCullBack() [2/2]

void J2DTextBoxEx::setCullBack ( bool  param_0)
virtual

Reimplemented from J2DPane.

◆ setFont()

void J2DTextBoxEx::setFont ( JUTFont p_font)
virtual

Reimplemented from J2DTextBox.

◆ setStage()

void J2DTextBoxEx::setStage ( J2DTevStage param_0,
J2DTextBoxEx::stage_enum  param_1 
)

◆ setTevOrder()

void J2DTextBoxEx::setTevOrder ( bool  param_0)

◆ setTevStage()

void J2DTextBoxEx::setTevStage ( bool  param_0)

◆ setWhite()

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

Reimplemented from J2DTextBox.

Member Data Documentation

◆ field_0x13c

u16 J2DTextBoxEx::field_0x13c
private

◆ field_0x13e

u16 J2DTextBoxEx::field_0x13e
private

◆ field_0x140

u8 J2DTextBoxEx::field_0x140
private

◆ mMaterial

J2DMaterial* J2DTextBoxEx::mMaterial
private

◆ mVisibilityAnm

J2DAnmVisibilityFull* J2DTextBoxEx::mVisibilityAnm
private

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