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

#include <J2DTextBox.h>

+ Inheritance diagram for J2DTextBox:
+ Collaboration diagram for J2DTextBox:

Classes

struct  TFontSize
 

Public Member Functions

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)
 
virtual bool isUsed (ResTIMG const *)
 
virtual bool isUsed (ResFONT const *)
 
virtual void rewriteAlpha ()
 
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 white)
 
virtual bool setBlackWhite (JUtility::TColor black, JUtility::TColor white)
 
virtual JUtility::TColor getBlack () const
 
virtual JUtility::TColor getWhite () const
 
virtual J2DMaterialgetMaterial () const
 
 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 setCullBack (bool cull)
 
virtual void setCullBack (_GXCullMode cmode)
 
virtual void setAlpha (u8)
 
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
 

Public Attributes

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
 

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ ~J2DTextBox()

J2DTextBox::~J2DTextBox ( )
virtual

◆ J2DTextBox() [1/4]

J2DTextBox::J2DTextBox ( u64  tag,
JGeometry::TBox2< f32 > const bounds,
ResFONT const p_font,
char const string,
s16  strLength,
J2DTextBoxHBinding  hBind,
J2DTextBoxVBinding  vBind 
)

◆ J2DTextBox() [2/4]

J2DTextBox::J2DTextBox ( J2DPane p_pane,
JSURandomInputStream p_stream,
JKRArchive p_archive 
)

◆ J2DTextBox() [3/4]

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

◆ J2DTextBox() [4/4]

J2DTextBox::J2DTextBox ( )

Member Function Documentation

◆ draw() [1/2]

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

Reimplemented in J2DTextBoxEx.

◆ draw() [2/2]

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

Reimplemented in J2DTextBoxEx.

◆ drawSelf() [1/2]

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

Reimplemented from J2DPane.

◆ drawSelf() [2/2]

void J2DTextBox::drawSelf ( f32  param_0,
f32  param_1,
Mtx p_mtx 
)
virtual

Reimplemented from J2DPane.

◆ getBlack()

virtual JUtility::TColor J2DTextBox::getBlack ( ) const
inlinevirtual

Reimplemented in J2DTextBoxEx.

◆ getCharColor()

JUtility::TColor J2DTextBox::getCharColor ( )
inline

◆ getCharSpace()

f32 J2DTextBox::getCharSpace ( ) const
inline

◆ getFont()

virtual JUTFont * J2DTextBox::getFont ( ) const
inlinevirtual

Reimplemented in J2DTextBoxEx.

◆ getFontSize()

void J2DTextBox::getFontSize ( TFontSize size) const
inline

◆ getGradColor()

JUtility::TColor J2DTextBox::getGradColor ( )
inline

◆ getHBinding()

J2DTextBoxHBinding J2DTextBox::getHBinding ( ) const
inline

◆ getLineSpace()

f32 J2DTextBox::getLineSpace ( ) const
inline

◆ getMaterial()

virtual J2DMaterial * J2DTextBox::getMaterial ( ) const
inlinevirtual

Reimplemented in J2DTextBoxEx.

◆ getStringAllocByte()

u16 J2DTextBox::getStringAllocByte ( ) const
inline

◆ getStringPtr()

char * J2DTextBox::getStringPtr ( ) const

◆ getTypeID()

u16 J2DTextBox::getTypeID ( ) const
virtual

Reimplemented from J2DPane.

◆ getVBinding()

J2DTextBoxVBinding J2DTextBox::getVBinding ( ) const
inline

◆ getWhite()

virtual JUtility::TColor J2DTextBox::getWhite ( ) const
inlinevirtual

Reimplemented in J2DTextBoxEx.

◆ initiate()

void J2DTextBox::initiate ( ResFONT const p_font,
char const string,
s16  length,
J2DTextBoxHBinding  hBind,
J2DTextBoxVBinding  vBind 
)

◆ isUsed() [1/2]

bool J2DTextBox::isUsed ( ResFONT const p_font)
virtual

Reimplemented from J2DPane.

Reimplemented in J2DTextBoxEx.

◆ isUsed() [2/2]

bool J2DTextBox::isUsed ( ResTIMG const p_timg)
virtual

Reimplemented from J2DPane.

Reimplemented in J2DTextBoxEx.

◆ private_readStream()

void J2DTextBox::private_readStream ( J2DPane p_pane,
JSURandomInputStream p_stream,
JKRArchive p_archive 
)

◆ resize()

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

Reimplemented from J2DPane.

◆ rewriteAlpha()

void J2DTextBox::rewriteAlpha ( )
virtual

Reimplemented from J2DPane.

Reimplemented in J2DTextBoxEx.

◆ setBlack()

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

Reimplemented in J2DTextBoxEx.

◆ setBlackWhite()

virtual bool J2DTextBox::setBlackWhite ( JUtility::TColor  black,
JUtility::TColor  white 
)
inlinevirtual

Reimplemented in J2DTextBoxEx.

◆ setCharColor()

void J2DTextBox::setCharColor ( JUtility::TColor  i_charColor)
inline

◆ setCharSpace()

void J2DTextBox::setCharSpace ( f32  space)
inline

◆ setConnectParent()

bool J2DTextBox::setConnectParent ( bool  connected)
virtual

Reimplemented from J2DPane.

◆ setFont()

void J2DTextBox::setFont ( JUTFont p_font)
virtual

Reimplemented in J2DTextBoxEx.

◆ setFontColor()

void J2DTextBox::setFontColor ( JUtility::TColor  i_charColor,
JUtility::TColor  i_GradientColor 
)
inline

◆ setFontSize() [1/2]

void J2DTextBox::setFontSize ( f32  sizeX,
f32  sizeY 
)
inline

◆ setFontSize() [2/2]

void J2DTextBox::setFontSize ( TFontSize  size)
inline

◆ setGradColor()

void J2DTextBox::setGradColor ( JUtility::TColor  i_GradientColor)
inline

◆ setLineSpace()

void J2DTextBox::setLineSpace ( f32  space)
inline

◆ setString() [1/2]

s32 J2DTextBox::setString ( char const string,
  ... 
)

◆ setString() [2/2]

s32 J2DTextBox::setString ( s16  length,
char const string,
  ... 
)

◆ setWhite()

virtual bool J2DTextBox::setWhite ( JUtility::TColor  white)
inlinevirtual

Reimplemented in J2DTextBoxEx.

Member Data Documentation

◆ field_0x10c

f32 J2DTextBox::field_0x10c

◆ field_0x110

f32 J2DTextBox::field_0x110

◆ field_0x134

u8 J2DTextBox::field_0x134[4]

◆ mBlackColor

JUtility::TColor J2DTextBox::mBlackColor

◆ mCharColor

JUtility::TColor J2DTextBox::mCharColor

◆ mCharSpacing

f32 J2DTextBox::mCharSpacing

◆ mFlags

u8 J2DTextBox::mFlags

◆ mFont

JUTFont* J2DTextBox::mFont

◆ mFontSizeX

f32 J2DTextBox::mFontSizeX

◆ mFontSizeY

f32 J2DTextBox::mFontSizeY

◆ mGradientColor

JUtility::TColor J2DTextBox::mGradientColor

◆ mLineSpacing

f32 J2DTextBox::mLineSpacing

◆ mStringLength

u16 J2DTextBox::mStringLength

◆ mStringPtr

char* J2DTextBox::mStringPtr

◆ mTextFontOwned

bool J2DTextBox::mTextFontOwned

◆ mWhiteColor

JUtility::TColor J2DTextBox::mWhiteColor

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