annotate GUIButton.h @ 0:8b8875f5b359

Initial commit
author Nomad
date Fri, 05 Oct 2012 16:07:14 +0200
parents
children 87c503d426e0
rev   line source
0
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
1 #pragma once
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
2
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
3
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
4 /* 156 */
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
5 #pragma pack(push, 1)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
6 struct GUIButton
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
7 {
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
8 char DrawLabel(const char *edx0, struct GUIFont *pFont, int a5, int *a9);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
9
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
10 static void _41D0D8(GUIButton *ptr);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
11
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
12
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
13 unsigned int uX;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
14 unsigned int uY;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
15 unsigned int uWidth;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
16 unsigned int uHeight;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
17 unsigned int uZ;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
18 unsigned int uW;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
19 int uButtonType;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
20 int field_1C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
21 unsigned int uControlID;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
22 unsigned int uControlParam;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
23 int field_28;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
24 int field_2C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
25 GUIButton *pPrev;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
26 GUIButton *pNext;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
27 struct GUIWindow *pParent;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
28 struct Texture *pTextures[5];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
29 unsigned int uNumTextures;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
30 unsigned __int8 uHotkey;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
31 char pButtonName[32];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
32 char field_75[71];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
33 };
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
34 #pragma pack(pop)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
35
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
36
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
37
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
38
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
39 extern struct GUIButton *ptr_5064F4;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
40 extern struct GUIButton *ptr_5064F8;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
41 extern struct GUIButton *pBtn_Autonotes_Instructors;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
42 extern struct GUIButton *pBtn_Autonotes_Misc;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
43 extern struct GUIButton *pBtn_Book_6;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
44 extern struct GUIButton *pBtn_Book_5;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
45 extern struct GUIButton *pBtn_Book_4;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
46 extern struct GUIButton *pBtn_Book_3;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
47 extern struct GUIButton *pBtn_Book_2;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
48 extern struct GUIButton *pBtn_Book_1;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
49
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
50
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
51 extern struct GUIButton *pPlayerCreationUI_BtnReset;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
52 extern struct GUIButton *pPlayerCreationUI_BtnOK;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
53 extern struct GUIButton *ptr_5076F4;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
54 extern struct GUIButton *ptr_5076FC;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
55 extern struct GUIButton *pPlayerCreationUI_BtnPlus;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
56 extern struct GUIButton *pPlayerCreationUI_BtnMinus;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
57
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
58
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
59 extern struct GUIButton *pButton_RestUI_507634;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
60 extern struct GUIButton *pButton_RestUI_Exit;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
61 extern struct GUIButton *pButton_RestUI_Wait5Minutes;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
62 extern struct GUIButton *pButton_RestUI_WaitUntilDawn;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
63 extern struct GUIButton *pButton_RestUI_Wait1Hour;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
64
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
65
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
66 extern struct GUIButton *ptr_50767C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
67 extern struct GUIButton *pCharacterScreen_AwardsBtn;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
68 extern struct GUIButton *pCharacterScreen_InventoryBtn;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
69 extern struct GUIButton *pCharacterScreen_SkillsBtn;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
70 extern struct GUIButton *pCharacterScreen_StatsBtn;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
71 extern struct GUIButton *ptr_507690;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
72 extern struct GUIButton *ptr_507694;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
73
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
74
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
75 extern struct GUIButton *ptr_5079E8;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
76 extern struct GUIButton *ptr_5079EC;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
77 extern struct GUIButton *ptr_5079F0;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
78 extern struct GUIButton *ptr_5079F4;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
79 extern struct GUIButton *ptr_5079F8;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
80 extern struct GUIButton *ptr_5079FC;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
81 extern struct GUIButton *ptr_507A00;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
82 extern struct GUIButton *dword_507A04;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
83 extern struct GUIButton *ptr_507A08;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
84 extern struct GUIButton *ptr_507A0C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
85 extern struct GUIButton *ptr_507A10;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
86
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
87
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
88 extern struct GUIButton *pMainMenu_BtnExit;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
89 extern struct GUIButton *pMainMenu_BtnCredits;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
90 extern struct GUIButton *pMainMenu_BtnLoad;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
91 extern struct GUIButton *pMainMenu_BtnNew;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
92
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
93
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
94 extern struct GUIButton *ptr_507B9C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
95 extern struct GUIButton *ptr_507BA0;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
96 extern struct GUIButton *ptr_507BA4;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
97
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
98
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
99 extern struct GUIWindow *pGUIWindow0;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
100 extern struct GUIWindow *ptr_507BB8;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
101 extern struct GUIWindow *pDialogueWindow;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
102 extern struct GUIWindow *ptr_507BC0;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
103 extern struct GUIWindow *ptr_507BC4;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
104 extern struct GUIWindow *ptr_507BC8;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
105 extern struct GUIWindow *pGUIWindow_CurrentMenu;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
106 extern struct GUIWindow *ptr_507BD0;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
107 extern struct GUIWindow *ptr_507BD4;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
108 extern struct GUIWindow *ptr_507BDC;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
109 extern struct GUIWindow *ptr_507BE0;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
110 extern struct GUIWindow *pGUIWindow2;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
111
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
112
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
113 extern struct GUIButton *ptr_50C9B0;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
114 extern struct GUIButton *ptr_50C9B4;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
115 extern struct GUIButton *pyt_50C9B8;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
116 extern struct GUIButton *ptr_50C9BC;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
117 extern struct GUIButton *ptr_50C9C0;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
118 extern struct GUIButton *ptr_50C9C4;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
119 extern struct GUIButton *ptr_50C9C8;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
120 extern struct GUIButton *ptr_50C9CC;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
121
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
122
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
123 extern struct GUIButton *ptr_69BD58;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
124 extern struct GUIButton *ptr_69BD5C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
125 extern struct GUIButton *ptr_69BD60;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
126 extern struct GUIButton *ptr_69BD64;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
127
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
128
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
129 extern GUIButton *pCreationUI_BtnPressRight2[4];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
130 extern GUIButton *pCreationUI_BtnPressLeft2[4];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
131 extern GUIButton *pCreationUI_BtnPressLeft[4];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
132 extern GUIButton *pCreationUI_BtnPressRight[4];