Mercurial > mm7
comparison GUI/GUIWindow.h @ 2572:d87bfbd3bb3b
Step towards unification of Texture and RGBTexture (class Image)
author | a.parshin |
---|---|
date | Sat, 05 Mar 2016 01:51:54 +0200 |
parents | f2a8ed07e921 |
children | 0c67be4ec900 |
comparison
equal
deleted
inserted
replaced
2571:cf29f444ddd7 | 2572:d87bfbd3bb3b |
---|---|
287 WINDOW_Transition = 26, | 287 WINDOW_Transition = 26, |
288 WINDOW_CastSpell = 27, // OnCastTargetedSpell | 288 WINDOW_CastSpell = 27, // OnCastTargetedSpell |
289 WINDOW_Scroll = 0x1E, | 289 WINDOW_Scroll = 0x1E, |
290 WINDOW_CastSpell_InInventory = 31, | 290 WINDOW_CastSpell_InInventory = 31, |
291 WINDOW_ModalWindow = 70, | 291 WINDOW_ModalWindow = 70, |
292 WINDOW_50 = 80, | 292 WINDOW_50 = 80, // Debug |
293 WINDOW_59 = 89, | 293 WINDOW_59 = 89, // Debug: Item Generation Window |
294 WINDOW_PressedButton2 = 90, | 294 WINDOW_PressedButton2 = 90, |
295 WINDOW_CharactersPressedButton = 91, | 295 WINDOW_CharactersPressedButton = 91, |
296 WINDOW_PressedButton = 92, | 296 WINDOW_PressedButton = 92, |
297 WINDOW_5D = 93, | 297 WINDOW_5D = 93, |
298 WINDOW_SaveLoadBtn = 94, | 298 WINDOW_SaveLoadBtn = 94, |
340 int DrawTextInRect(GUIFont *pFont, unsigned int uX, unsigned int uY, unsigned int uColor, const char *text, int rect_width, int reverse_text); | 340 int DrawTextInRect(GUIFont *pFont, unsigned int uX, unsigned int uY, unsigned int uColor, const char *text, int rect_width, int reverse_text); |
341 void DrawText(GUIFont *a2, signed int uX, int uY, unsigned short uFontColor, const char *Str, bool present_time_transparency, int max_text_height, signed int uFontShadowColor); | 341 void DrawText(GUIFont *a2, signed int uX, int uY, unsigned short uFontColor, const char *Str, bool present_time_transparency, int max_text_height, signed int uFontShadowColor); |
342 void DrawTitleText(GUIFont *a2, signed int uHorizontalMargin, unsigned int uVerticalMargin, unsigned __int16 uDefaultColor, const char *pInString, unsigned int uLineSpacing); | 342 void DrawTitleText(GUIFont *a2, signed int uHorizontalMargin, unsigned int uVerticalMargin, unsigned __int16 uDefaultColor, const char *pInString, unsigned int uLineSpacing); |
343 void DrawShops_next_generation_time_string(__int64 next_generation_time); | 343 void DrawShops_next_generation_time_string(__int64 next_generation_time); |
344 void HouseDialogManager(); | 344 void HouseDialogManager(); |
345 void DrawMessageBox(int arg0); | 345 void DrawMessageBox(bool inside_game_viewport); |
346 GUIButton *GetControl(unsigned int uID); | 346 GUIButton *GetControl(unsigned int uID); |
347 void _41D08F_set_keyboard_control_group(int num_buttons, int a3, int a4, int a5); | 347 void _41D08F_set_keyboard_control_group(int num_buttons, int a3, int a4, int a5); |
348 void _41D73D_draw_buff_tooltip(); | 348 void _41D73D_draw_buff_tooltip(); |
349 | 349 |
350 virtual void Update() {} | 350 virtual void Update() {} |
351 virtual void Release(); | 351 virtual void Release(); |
352 | |
353 static void InitializeGUI(); | |
352 | 354 |
353 unsigned int uFrameX; | 355 unsigned int uFrameX; |
354 unsigned int uFrameY; | 356 unsigned int uFrameY; |
355 unsigned int uFrameWidth; | 357 unsigned int uFrameWidth; |
356 unsigned int uFrameHeight; | 358 unsigned int uFrameHeight; |
669 | 671 |
670 | 672 |
671 | 673 |
672 void UI_OnMouseRightClick(Vec2_int_ *_this); | 674 void UI_OnMouseRightClick(Vec2_int_ *_this); |
673 | 675 |
674 void __fastcall DrawPopupWindow(unsigned int uX, unsigned int uY, unsigned int uWidth, unsigned int uHeight); // idb | 676 void DrawPopupWindow(unsigned int uX, unsigned int uY, unsigned int uWidth, unsigned int uHeight); // idb |
675 void DrawMM7CopyrightWindow(); | 677 void DrawMM7CopyrightWindow(); |
676 //void LoadFonts_and_DrawCopyrightWindow(); | 678 //void LoadFonts_and_DrawCopyrightWindow(); |
677 void GUI_UpdateWindows(); | 679 void GUI_UpdateWindows(); |
678 int GetConditionDrawColor(unsigned int uConditionIdx); // idb | 680 int GetConditionDrawColor(unsigned int uConditionIdx); // idb |
679 void FillAwardsData(); | 681 void FillAwardsData(); |
680 void CreateAwardsScrollBar(); | 682 void CreateAwardsScrollBar(); |
681 void ReleaseAwardsScrollBar(); | 683 void ReleaseAwardsScrollBar(); |
682 void Inventory_ItemPopupAndAlchemy(); | 684 void Inventory_ItemPopupAndAlchemy(); |
683 void __fastcall LoadThumbnailLloydTexture(unsigned int uSlot, unsigned int uPlayer); | 685 void LoadThumbnailLloydTexture(unsigned int uSlot, unsigned int uPlayer); |
684 unsigned int UI_GetHealthManaAndOtherQualitiesStringColor(signed int current_pos, signed int base_pos); | 686 unsigned int UI_GetHealthManaAndOtherQualitiesStringColor(signed int current_pos, signed int base_pos); |
685 unsigned int __fastcall GetSizeInInventorySlots(unsigned int uNumPixels); | 687 unsigned int __fastcall GetSizeInInventorySlots(unsigned int uNumPixels); |
686 struct GUIButton *__fastcall GUI_HandleHotkey(unsigned __int8 uHotkey); // idb | 688 struct GUIButton *__fastcall GUI_HandleHotkey(unsigned __int8 uHotkey); // idb |
687 void GUI_ReplaceHotkey(unsigned __int8 uOldHotkey, unsigned __int8 uNewHotkey, char bFirstCall); | 689 void GUI_ReplaceHotkey(unsigned __int8 uOldHotkey, unsigned __int8 uNewHotkey, char bFirstCall); |
688 void DrawBuff_remaining_time_string(int uY, struct GUIWindow *window, __int64 remaining_time, struct GUIFont *Font); | 690 void DrawBuff_remaining_time_string(int uY, struct GUIWindow *window, __int64 remaining_time, struct GUIFont *Font); |