42 unsigned int m_listbase;
54 UIFont(
const char *fn);
56 void Print(
float x,
float y,
const char *text,
size_t maxlen = -1,
const float *virtualScreen = NULL);
58 const UIRect2D& rect, fonthorzjustify_t horz, fontvertjustify_t vert,
const char *text,
const float *vVirtualScale
60 void PrintOutlinedJustified(
61 const UIRect2D& rect, fonthorzjustify_t horz, fontvertjustify_t vert,
const char* text,
const UColor& outlineColor,
const float* vVirtualScale
64 void setAlpha(
float alpha);
65 void setFont(
const char *fontname);
66 int getMaxWidthIndex(
const char* text,
int maxlen);
67 int getWidth(
const char *text,
int maxlen);
68 int getCharWidth(
unsigned short ch);
69 int getHeight(
const char *text,
int maxlen,
const float* virtualScale = NULL);
70 int getHeight(
const float* virtualScale = NULL);
71 int CodeSearch(
unsigned short uch);
72 bool DBCSIsLeadByte(
unsigned short uch);
73 bool DBCSIsMaekin(
unsigned short uch);
74 bool DBCSIsAtokin(
unsigned short uch);
75 int DBCSGetWordBlockCount(
const char* text,
int maxlen);
78 void CheckRefreshFont();