comparison GUIFont.h @ 0:9c0607679772

init
author Ritor1
date Sat, 12 Jan 2013 09:45:18 +0600
parents
children 91fa025e6ca6
comparison
equal deleted inserted replaced
-1:000000000000 0:9c0607679772
1 #pragma once
2
3
4 /* 171 */
5 #pragma pack(push, 1)
6 struct GUICharMetric
7 {
8 unsigned int uLeftSpacing;
9 unsigned int uWidth;
10 unsigned int uRightSpacing;
11 };
12 #pragma pack(pop)
13
14 /* 170 */
15 #pragma pack(push, 1)
16 struct GUIFont
17 {
18 bool IsCharValid(char c);
19 int AlignText_Center(unsigned int uCenterX, const char *pString);
20 int GetLineWidth(const char *pString);
21 int CalcTextHeight(const char *pString, struct GUIWindow *pWindow, int a4, int a5);
22 int GetStringHeight2(GUIFont *a2, const char *Str, int a4, int a5, int a6);
23 int _44C6C2(const char *pInString, GUIWindow *pWindow, unsigned int uX, int a5);
24 void _44D0B5(int a2, int a3, int a4, const char *pString, int a6);
25 void DrawTextLine(unsigned int uDefaultColor, signed int uX, signed int uY, const char *Str, int a6);
26 void _44D2FD_prolly_draw_credits_entry(GUIFont *pFont, int Str, int a4, unsigned int w, unsigned int h, unsigned __int16 a7, unsigned __int16 a8, const char *pString, unsigned __int16 *pPixels, unsigned int uPixelsWidth);
27
28 static char *__fastcall _44C933(const char *pString, GUIFont *pFont, GUIFont *a3, int a4, int a5, int a6);
29
30 unsigned char cFirstChar;
31 unsigned char cLastChar;
32 char field_2;
33 char field_3;
34 char field_4;
35 __int16 uFontHeight;
36 char field_7;
37 int field_8;
38 unsigned __int16 *pFontPalettes[5];
39 GUICharMetric pMetrics[256];
40 int field_C20[256];
41 };
42 #pragma pack(pop)
43
44
45
46
47
48 extern struct GUIFont *pAutonoteFont;
49 extern struct GUIFont *pSpellFont;
50 extern struct GUIFont *pFontArrus;
51 extern struct GUIFont *pFontLucida;
52 extern struct GUIFont *pBook2Font;
53 extern struct GUIFont *pBookFont;
54 extern struct GUIFont *pFontCreate;
55 extern struct GUIFont *pFontCChar;
56 extern struct GUIFont *pFontComic;
57 extern struct GUIFont *pFontSmallnum;