rodecomp/Source/UI/Window/UIHotKeyWnd.h
ragnarok-clanker 5f2aa63bb7 Decompile 2 functions in Source/UI/Window/UIHotKeyWnd.cpp, Source/UI/Window/UIHotKeyWnd.h, ...
Batch #8292 by pedrao: 0 byte-identical, 2 confirmed by peer review.

- fn_12609 UIHotKeyWnd::RowFromPoint: logic confirmed by peer review
- fn_12693 UIHotKeyWnd::Slot25: logic confirmed by peer review

Peer-reviewed-by: eAthena, System4z
Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
2026-10-31 16:17:04 +00:00

45 lines
1.3 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 <map>
class UIBalloonText;
class UIButton;
class UIHotKeyWnd : public UIFrameWnd {
public:
UIHotKeyWnd(UIWindowContext& windows, UIFrameContext& frames);
void Slot25(int x, int y) override;
void Slot32(int x, int y) override;
int RowFromPoint(int x, int y);
void UpdatePageButtons();
void SaveHotkeys();
void SetHotkey(int tab, int index, HotkeyInfo info);
/* 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 */ unsigned char unknown_0100[0x4];
/* 0104 */ int m_tab;
/* 0108 */ unsigned char unknown_0108[0x4];
/* 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