annotate GUIButton.h @ 834:95d9727412c9

Слияние
author Ritor1
date Wed, 27 Mar 2013 21:24:24 +0600
parents 2dfb67633b01
children
rev   line source
0
Ritor1
parents:
diff changeset
1 #pragma once
Ritor1
parents:
diff changeset
2
Ritor1
parents:
diff changeset
3
Ritor1
parents:
diff changeset
4 /* 156 */
Ritor1
parents:
diff changeset
5 #pragma pack(push, 1)
Ritor1
parents:
diff changeset
6 struct GUIButton
Ritor1
parents:
diff changeset
7 {
Ritor1
parents:
diff changeset
8 char DrawLabel(const char *edx0, struct GUIFont *pFont, int a5, int *a9);
Ritor1
parents:
diff changeset
9
697
2dfb67633b01 GUIButton Release
zipi
parents: 336
diff changeset
10 void Release();
0
Ritor1
parents:
diff changeset
11
Ritor1
parents:
diff changeset
12
Ritor1
parents:
diff changeset
13 unsigned int uX;
Ritor1
parents:
diff changeset
14 unsigned int uY;
Ritor1
parents:
diff changeset
15 unsigned int uWidth;
Ritor1
parents:
diff changeset
16 unsigned int uHeight;
Ritor1
parents:
diff changeset
17 unsigned int uZ;
Ritor1
parents:
diff changeset
18 unsigned int uW;
Ritor1
parents:
diff changeset
19 int uButtonType;
8
13da46a8d45d 15.01.13(CharacterScreen run)
Ritor1
parents: 2
diff changeset
20 int field_1C;//may be pMessageType
0
Ritor1
parents:
diff changeset
21 unsigned int uControlID;
Ritor1
parents:
diff changeset
22 unsigned int uControlParam;
Ritor1
parents:
diff changeset
23 int field_28;
271
1f0af5cac2dd _42ECB5_PlayerAttacksActor
Nomad
parents: 8
diff changeset
24 int field_2C_is_pushed;
0
Ritor1
parents:
diff changeset
25 GUIButton *pPrev;
Ritor1
parents:
diff changeset
26 GUIButton *pNext;
Ritor1
parents:
diff changeset
27 struct GUIWindow *pParent;
Ritor1
parents:
diff changeset
28 struct Texture *pTextures[5];
Ritor1
parents:
diff changeset
29 unsigned int uNumTextures;
Ritor1
parents:
diff changeset
30 unsigned __int8 uHotkey;
Ritor1
parents:
diff changeset
31 char pButtonName[32];
Ritor1
parents:
diff changeset
32 char field_75[71];
Ritor1
parents:
diff changeset
33 };
Ritor1
parents:
diff changeset
34 #pragma pack(pop)
Ritor1
parents:
diff changeset
35
Ritor1
parents:
diff changeset
36
Ritor1
parents:
diff changeset
37
Ritor1
parents:
diff changeset
38
Ritor1
parents:
diff changeset
39 extern struct GUIButton *pBtn_CloseBook;
Ritor1
parents:
diff changeset
40 extern struct GUIButton *pBtn_InstallRemoveSpell;
Ritor1
parents:
diff changeset
41 extern struct GUIButton *pBtn_Autonotes_Instructors;
Ritor1
parents:
diff changeset
42 extern struct GUIButton *pBtn_Autonotes_Misc;
Ritor1
parents:
diff changeset
43 extern struct GUIButton *pBtn_Book_6;
Ritor1
parents:
diff changeset
44 extern struct GUIButton *pBtn_Book_5;
Ritor1
parents:
diff changeset
45 extern struct GUIButton *pBtn_Book_4;
Ritor1
parents:
diff changeset
46 extern struct GUIButton *pBtn_Book_3;
Ritor1
parents:
diff changeset
47 extern struct GUIButton *pBtn_Book_2;
Ritor1
parents:
diff changeset
48 extern struct GUIButton *pBtn_Book_1;
Ritor1
parents:
diff changeset
49
Ritor1
parents:
diff changeset
50
Ritor1
parents:
diff changeset
51 extern struct GUIButton *pPlayerCreationUI_BtnReset;
Ritor1
parents:
diff changeset
52 extern struct GUIButton *pPlayerCreationUI_BtnOK;
Ritor1
parents:
diff changeset
53 extern struct GUIButton *pBtn_ExitCancel;
Ritor1
parents:
diff changeset
54 extern struct GUIButton *pBtn_YES;
Ritor1
parents:
diff changeset
55 extern struct GUIButton *pPlayerCreationUI_BtnPlus;
Ritor1
parents:
diff changeset
56 extern struct GUIButton *pPlayerCreationUI_BtnMinus;
Ritor1
parents:
diff changeset
57
Ritor1
parents:
diff changeset
58
Ritor1
parents:
diff changeset
59 extern struct GUIButton *pButton_RestUI_Main;
Ritor1
parents:
diff changeset
60 extern struct GUIButton *pButton_RestUI_Exit;
Ritor1
parents:
diff changeset
61 extern struct GUIButton *pButton_RestUI_Wait5Minutes;
Ritor1
parents:
diff changeset
62 extern struct GUIButton *pButton_RestUI_WaitUntilDawn;
Ritor1
parents:
diff changeset
63 extern struct GUIButton *pButton_RestUI_Wait1Hour;
Ritor1
parents:
diff changeset
64
Ritor1
parents:
diff changeset
65
Ritor1
parents:
diff changeset
66 extern struct GUIButton *pCharacterScreen_ExitBtn;
Ritor1
parents:
diff changeset
67 extern struct GUIButton *pCharacterScreen_AwardsBtn;
Ritor1
parents:
diff changeset
68 extern struct GUIButton *pCharacterScreen_InventoryBtn;
Ritor1
parents:
diff changeset
69 extern struct GUIButton *pCharacterScreen_SkillsBtn;
Ritor1
parents:
diff changeset
70 extern struct GUIButton *pCharacterScreen_StatsBtn;
Ritor1
parents:
diff changeset
71 extern struct GUIButton *pCharacterScreen_DollBtn;
Ritor1
parents:
diff changeset
72 extern struct GUIButton *pCharacterScreen_DetalizBtn;
Ritor1
parents:
diff changeset
73
Ritor1
parents:
diff changeset
74
Ritor1
parents:
diff changeset
75 extern struct GUIButton *pBtn_NPCRight;
Ritor1
parents:
diff changeset
76 extern struct GUIButton *pBtn_NPCLeft;
Ritor1
parents:
diff changeset
77 extern struct GUIButton *pBtn_GameSettings;
Ritor1
parents:
diff changeset
78 extern struct GUIButton *pBtn_QuickReference;
Ritor1
parents:
diff changeset
79 extern struct GUIButton *pBtn_CastSpell;
Ritor1
parents:
diff changeset
80 extern struct GUIButton *pBtn_Rest;
Ritor1
parents:
diff changeset
81 extern struct GUIButton *pBtn_History;
Ritor1
parents:
diff changeset
82 extern struct GUIButton *pBtn_Calendar;
Ritor1
parents:
diff changeset
83 extern struct GUIButton *pBtn_Maps;
Ritor1
parents:
diff changeset
84 extern struct GUIButton *pBtn_Autonotes;
Ritor1
parents:
diff changeset
85 extern struct GUIButton *pBtn_Quests;
Ritor1
parents:
diff changeset
86
Ritor1
parents:
diff changeset
87
Ritor1
parents:
diff changeset
88 extern struct GUIButton *pMainMenu_BtnExit;
Ritor1
parents:
diff changeset
89 extern struct GUIButton *pMainMenu_BtnCredits;
Ritor1
parents:
diff changeset
90 extern struct GUIButton *pMainMenu_BtnLoad;
Ritor1
parents:
diff changeset
91 extern struct GUIButton *pMainMenu_BtnNew;
Ritor1
parents:
diff changeset
92
Ritor1
parents:
diff changeset
93
Ritor1
parents:
diff changeset
94 extern struct GUIButton *pBtn_Up;
Ritor1
parents:
diff changeset
95 extern struct GUIButton *pBtn_Down;
Ritor1
parents:
diff changeset
96 extern struct GUIButton *ptr_507BA4;
Ritor1
parents:
diff changeset
97
Ritor1
parents:
diff changeset
98
Ritor1
parents:
diff changeset
99 extern struct GUIWindow *pPrimaryWindow;
Ritor1
parents:
diff changeset
100 extern struct GUIWindow *pChestWindow;
Ritor1
parents:
diff changeset
101 extern struct GUIWindow *pDialogueWindow;
336
ea55d6414029 Event_proceccor preliminary
Gloval
parents: 271
diff changeset
102 extern struct GUIWindow *window_SpeakInHouse;
0
Ritor1
parents:
diff changeset
103 extern struct GUIWindow *pGUIWindow_ScrollWindow;
Ritor1
parents:
diff changeset
104 extern struct GUIWindow *ptr_507BC8;
Ritor1
parents:
diff changeset
105 extern struct GUIWindow *pGUIWindow_CurrentMenu;
Ritor1
parents:
diff changeset
106 extern struct GUIWindow *ptr_507BD0;
Ritor1
parents:
diff changeset
107 extern struct GUIWindow *pGUIWindow_Settings;
Ritor1
parents:
diff changeset
108 extern struct GUIWindow *ptr_507BDC;
Ritor1
parents:
diff changeset
109 extern struct GUIWindow *pGUIWindow_EscMessageWindow;
Ritor1
parents:
diff changeset
110 extern struct GUIWindow *pBooksWindow;
Ritor1
parents:
diff changeset
111 extern struct GUIWindow *pGUIWindow2;
Ritor1
parents:
diff changeset
112
Ritor1
parents:
diff changeset
113
Ritor1
parents:
diff changeset
114 extern struct GUIButton *pBtn_Resume;
Ritor1
parents:
diff changeset
115 extern struct GUIButton *pBtn_QuitGame;
Ritor1
parents:
diff changeset
116 extern struct GUIButton *pBtn_GameControls;
Ritor1
parents:
diff changeset
117 extern struct GUIButton *pBtn_LoadGame;
Ritor1
parents:
diff changeset
118 extern struct GUIButton *pBtn_SaveGame;
Ritor1
parents:
diff changeset
119 extern struct GUIButton *pBtn_NewGame;
Ritor1
parents:
diff changeset
120
Ritor1
parents:
diff changeset
121 extern struct GUIButton *pBtn_SliderRight;
Ritor1
parents:
diff changeset
122 extern struct GUIButton *pBtn_SliderLeft;
Ritor1
parents:
diff changeset
123
Ritor1
parents:
diff changeset
124
2
89240115d392 MainMenuBtn(work)
Ritor1
parents: 0
diff changeset
125 extern struct GUIButton *pBtnDownArrow;
89240115d392 MainMenuBtn(work)
Ritor1
parents: 0
diff changeset
126 extern struct GUIButton *pBtnArrowUp;
89240115d392 MainMenuBtn(work)
Ritor1
parents: 0
diff changeset
127 extern struct GUIButton *pBtnCancel;
89240115d392 MainMenuBtn(work)
Ritor1
parents: 0
diff changeset
128 extern struct GUIButton *pBtnLoadSlot;
0
Ritor1
parents:
diff changeset
129
Ritor1
parents:
diff changeset
130
Ritor1
parents:
diff changeset
131 extern GUIButton *pCreationUI_BtnPressRight2[4];
Ritor1
parents:
diff changeset
132 extern GUIButton *pCreationUI_BtnPressLeft2[4];
Ritor1
parents:
diff changeset
133 extern GUIButton *pCreationUI_BtnPressLeft[4];
Ritor1
parents:
diff changeset
134 extern GUIButton *pCreationUI_BtnPressRight[4];