Mercurial > mm7
comparison GUIFont.h @ 189:038a4d09406f
new texts file, fix text rendender error
author | Gloval |
---|---|
date | Sat, 16 Feb 2013 00:33:21 +0400 |
parents | c5bd7a825ef2 |
children | c0bfb386b15f |
comparison
equal
deleted
inserted
replaced
185:16d257ffc802 | 189:038a4d09406f |
---|---|
15 #pragma pack(push, 1) | 15 #pragma pack(push, 1) |
16 struct GUIFont | 16 struct GUIFont |
17 { | 17 { |
18 | 18 |
19 //----- (0044C4DE) -------------------------------------------------------- | 19 //----- (0044C4DE) -------------------------------------------------------- |
20 bool IsCharValid(char c) { return (c >= cFirstChar) && (c <= cLastChar) || (c == '\f') || (c == '\r') || (c == '\t') || (c == '\n');} | 20 bool IsCharValid(unsigned char c) { return (c >= cFirstChar) && (c <= cLastChar) || (c == '\f') || (c == '\r') || (c == '\t') || (c == '\n');} |
21 int AlignText_Center(unsigned int uCenterX, const char *pString); | 21 int AlignText_Center(unsigned int uCenterX, const char *pString); |
22 int GetLineWidth(const char *pString); | 22 int GetLineWidth(const char *pString); |
23 int CalcTextHeight(const char *pString, struct GUIWindow *pWindow, int a4, int a5); | 23 int CalcTextHeight(const char *pString, struct GUIWindow *pWindow, int a4, int a5); |
24 int GetStringHeight2(GUIFont *a2, const char *Str, int a4, int a5, int a6); | 24 int GetStringHeight2(GUIFont *a2, const char *Str, int a4, int a5, int a6); |
25 int _44C6C2(const char *pInString, GUIWindow *pWindow, unsigned int uX, int a5); | 25 int _44C6C2(const char *pInString, GUIWindow *pWindow, unsigned int uX, int a5); |