Batch #14681 by ragnarok-clanker: forced by an admin (6 lower score(s), 70 changed function(s)); checked with 555 compiled unit(s), including every includer of Source/Client/Mode/CLoginMode.h, Source/Client/Session.h, Source/Contents/Actors/GameActor.h, Source/Contents/Actors/GrannyGameActor.h, Source/Contents/Actors/Pc.h, Source/Contents/Actors/RenderObject.h, Source/Contents/EffectResourceSwitcher.h, Source/Contents/Effects/CartCannon.h, Source/Contents/Effects/EZ2STREffectEx.h, Source/Contents/Effects/EffectActor.h, Source/Contents/Effects/MonsterSkillEffects.h, Source/Contents/Effects/RagEffect.h, Source/Contents/Effects/RectUpEffect.h, Source/Contents/Ground/GroundGeometry.h, Source/Network/Connection/Connection.h, Source/Resource/Audio/WaveResource.h, Source/Resource/Bitmap/BitmapResource.h, Source/Resource/EZeffectResource.h, Source/Resource/EmblemResource.h, Source/Resource/GifResource.h, Source/Resource/ImfResource.h, Source/Resource/Models/AnimatedModelResource.h, Source/Resource/Models/GrannyModelResource.h, Source/Resource/Models/ModelResource.h, Source/Resource/PaletteResource.h, Source/Resource/RmaResource.h, Source/Resource/Sprites/ActionResource.h, Source/Resource/Sprites/SpriteResource.h, Source/Resource/World/GroundResource.h, Source/Resource/World/TerrainResource.h, Source/Resource/World/WorldResource.h, Source/UI/Buttons/UIBmpRadioBtn.h, Source/UI/Buttons/UITextButton.h, Source/UI/Item/UIItemPurchaseWnd.h, Source/UI/Item/UIItemSellWnd.h, Source/UI/Item/UIItemSellWnd2.h, Source/UI/Item/UIItemStoreWnd.h, Source/UI/Item/UIItemWnd.h, Source/UI/Item/UIParaItemShopWnd.h, Source/UI/Items/UIItemRepairWnd.h, Source/UI/Items/UIMakeTargetListWnd.h, Source/UI/Items/UIMakeTargetProcessWnd.h, Source/UI/Items/UIWeaponRefineWnd.h, Source/UI/Rodex/UIRodexInboxWnd.h, Source/UI/Shop/UIMerchantItemShopWnd.h, Source/UI/Shop/UIMerchantMirrorItemWnd.h, Source/UI/Shop/UIMerchantShopMakeWnd.h, Source/UI/StylingShop/UIStylingShopWnd.h, Source/UI/UIChangeMaterialWnd.h, Source/UI/UIIngredientInfoWnd.h, Source/UI/UIItemReformWnd.h, Source/UI/UILapineScrollBar.h, Source/UI/Window/UIHotKeyWnd.h, Source/UI/Window/UINewSelectCharWnd.h.
61 lines
1.7 KiB
C++
61 lines
1.7 KiB
C++
#ifndef RAGNAROK_SOURCE_UI_WINDOW_UIHOTKEYWND_H
|
|
#define RAGNAROK_SOURCE_UI_WINDOW_UIHOTKEYWND_H
|
|
|
|
#include "Contents/Hotkeys/HotkeyInfo.h"
|
|
#include "UI/Window/UIFrameWnd.h"
|
|
|
|
#include <cstdint>
|
|
#include <map>
|
|
|
|
class UIBalloonText;
|
|
class UIButton;
|
|
class UITabControl;
|
|
class UIWindow;
|
|
|
|
class UIHotKeyWnd : public UIFrameWnd {
|
|
public:
|
|
struct HotkeyEntry {
|
|
int index;
|
|
HotkeyInfo info;
|
|
};
|
|
|
|
UIHotKeyWnd();
|
|
void Slot15(int width, int height) override;
|
|
void Slot25(int x, int y) override;
|
|
void Slot32(int x, int y) override;
|
|
int RowFromPoint(int x, int y);
|
|
void Paint() override;
|
|
int SendMsg(UIWindow* sender, int message, std::intptr_t argument1, std::intptr_t argument2, std::intptr_t argument3, std::intptr_t argument4) override;
|
|
void UpdatePageButtons();
|
|
void SaveHotkeys();
|
|
void SetHotkey(int tab, int index, HotkeyInfo info);
|
|
HotkeyEntry GetHotkey(int tab, int index, bool resolve);
|
|
void Slot28(int x, int y) override;
|
|
void ReloadHotkeys();
|
|
bool AssignSelectedHotkey(int mode);
|
|
int CheckHotkeyConflict();
|
|
|
|
/* 00B4 */ int m_selectedRow;
|
|
/* 00B8 */ int m_rowsPerPage;
|
|
/* 00BC */ int unknown_00BC;
|
|
/* 00C0 */ int unknown_00C0;
|
|
/* 00C4 */ int unknown_00C4;
|
|
/* 00C8 */ int unknown_00C8;
|
|
/* 00CC */ int unknown_00CC;
|
|
/* 00D0 */ int unknown_00D0;
|
|
/* 00D4 */ int unknown_00D4;
|
|
/* 00D8 */ int unknown_00D8;
|
|
/* 00DC */ std::map<int, HotkeyInfo> hotkeys[4];
|
|
/* 00FC */ UIBalloonText* m_balloon;
|
|
/* 0100 */ UITabControl* unknown_0100;
|
|
/* 0104 */ int m_tab;
|
|
/* 0108 */ UIWindow* unknown_0108;
|
|
/* 010C */ int m_page;
|
|
/* 0110 */ int m_pageCount;
|
|
/* 0114 */ unsigned char unknown_0114;
|
|
/* 0115 */ unsigned char unknown_0115[0x3];
|
|
/* 0118 */ UIButton* m_prevButton;
|
|
/* 011C */ UIButton* m_nextButton;
|
|
};
|
|
|
|
#endif
|