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
myFontClass Class Reference

#include <d_s_menu.h>

+ Inheritance diagram for myFontClass:
+ Collaboration diagram for myFontClass:

Public Member Functions

 myFontClass (const ResFONT *i_font, JKRHeap *i_heap)
 
virtual ~myFontClass ()
 
virtual f32 drawChar_scale (f32 param_0, f32 param_1, f32 param_2, f32 param_3, int param_4, bool param_5)
 
- Public Member Functions inherited from JUTResFont
virtual ~JUTResFont ()
 
virtual void setGX ()
 
virtual void setGX (JUtility::TColor, JUtility::TColor)
 
virtual int getLeading () const
 
virtual s32 getAscent () const
 
virtual s32 getDescent () const
 
virtual s32 getHeight () const
 
virtual s32 getWidth () const
 
virtual void getWidthEntry (int, JUTFont::TWidth *) const
 
virtual s32 getCellWidth () const
 
virtual s32 getCellHeight () const
 
virtual int getFontType () const
 
virtual ResFONTgetResFont () const
 
virtual bool isLeadByte (int) const
 
virtual void loadImage (int, _GXTexMapID)
 
virtual void setBlock ()
 
 JUTResFont (ResFONT const *, JKRHeap *)
 
 JUTResFont ()
 
void deleteMemBlocks_ResFont ()
 
void initialize_state ()
 
bool initiate (ResFONT const *, JKRHeap *)
 
bool protected_initiate (ResFONT const *, JKRHeap *)
 
void countBlock ()
 
void loadFont (int, _GXTexMapID, JUTFont::TWidth *)
 
int getFontCode (int) const
 
int convertSjis (int, u16 *) const
 
void delete_and_initialize ()
 
- Public Member Functions inherited from JUTFont
 JUTFont ()
 
virtual ~JUTFont ()
 
void initialize_state ()
 
void setCharColor (JUtility::TColor col1)
 
void setGradColor (JUtility::TColor col1, JUtility::TColor col2)
 
f32 drawString_size_scale (f32 posX, f32 posY, f32 width, f32 height, const char *str, u32 usz, bool visible)
 
void drawString (int posX, int posY, const char *str, bool visible)
 
void drawString_size (int posX, int posY, const char *str, u32 len, bool visible)
 
void drawString_scale (f32 posX, f32 posY, f32 width, f32 height, const char *str, bool visible)
 
int getWidth (int i_no) const
 
bool isValid () const
 
bool isFixed () const
 
int getFixedWidth () const
 

Public Attributes

JUTResFont field_0x70
 
- Public Attributes inherited from JUTResFont
int mWidth
 
int mHeight
 
GXTexObj mTexObj
 
int mTexPageIdx
 
const ResFONTmResFont
 
ResFONT::INF1mInf1Ptr
 
void ** mMemBlocks
 
ResFONT::WID1 ** mpWidthBlocks
 
ResFONT::GLY1 ** mpGlyphBlocks
 
ResFONT::MAP1 ** mpMapBlocks
 
u16 mWid1BlockNum
 
u16 mGly1BlockNum
 
u16 mMap1BlockNum
 
u16 field_0x66
 
u16 mMaxCode
 
const IsLeadByte_funcmIsLeadByte
 
- Public Attributes inherited from JUTFont
bool mValid
 
bool mFixed
 
int mFixedWidth
 
JUtility::TColor mColor1
 
JUtility::TColor mColor2
 
JUtility::TColor mColor3
 
JUtility::TColor mColor4
 

Additional Inherited Members

- Static Public Member Functions inherited from JUTFont
static bool isLeadByte_1Byte (int b)
 
static bool isLeadByte_2Byte (int b)
 
static bool isLeadByte_ShiftJIS (int b)
 
static bool isLeadByte_EUC (int b)
 
- Static Public Attributes inherited from JUTResFont
static IsLeadByte_func const saoAboutEncoding_ [3]
 

Constructor & Destructor Documentation

◆ myFontClass()

myFontClass::myFontClass ( const ResFONT * i_font,
JKRHeap * i_heap )
inline

◆ ~myFontClass()

myFontClass::~myFontClass ( )
virtual

Member Function Documentation

◆ drawChar_scale()

f32 myFontClass::drawChar_scale ( f32 param_0,
f32 param_1,
f32 param_2,
f32 param_3,
int param_4,
bool param_5 )
virtual

Reimplemented from JUTResFont.

Member Data Documentation

◆ field_0x70

JUTResFont myFontClass::field_0x70

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