rodecomp/Source/UI/Menu/UIMenuIconWnd.h
ragnarok-clanker 27b60f2e9d Decompile fn_10606 (UIMenuIcon::UIMenuIcon)
Batch #8066 by pedrao: 0 byte-identical, 1 confirmed by peer review.

- fn_10606 UIMenuIcon::UIMenuIcon: logic confirmed by peer review

Peer-reviewed-by: ragnarok-clanker, eAthena
Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
2026-10-31 13:53:23 +00:00

41 lines
1.2 KiB
C++

#ifndef RAGNAROK_SOURCE_UI_MENU_UIMENUICONWND_H
#define RAGNAROK_SOURCE_UI_MENU_UIMENUICONWND_H
#include "UI/Buttons/UIBitmapButton.h"
#include "UI/Window/UIFrameWnd.h"
#include <list>
#include <map>
class UIMenuIcon : public UIBitmapButton {
public:
UIMenuIcon();
void Slot27(int x, int y) override;
};
class UIMenuIconWnd : public UIFrameWnd {
public:
UIMenuIconWnd(UIWindowContext& windowContext, UIFrameContext& frameContext);
/* 00B4 */ std::map<int, UIButton*> unknown_00B4;
/* 00BC */ std::map<int, UIButton*> unknown_00BC;
/* 00C4 */ std::list<int> unknown_00C4;
/* 00CC */ UIBitmapButton* unknown_00CC;
/* 00D0 */ UIBitmapButton* unknown_00D0;
/* 00D4 */ UIBitmapButton* unknown_00D4;
void Move(int x, int y) override;
bool Slot08() override;
void Slot15(int width, int height) override;
void Paint() override;
void Slot25(int x, int y) override;
void Slot27(int x, int y) override;
void Slot31(int x, int y) override;
UIWindow* HitTest(int x, int y) override;
int SendMsg(UIWindow* sender, int message, std::intptr_t argument1, std::intptr_t argument2, std::intptr_t argument3, std::intptr_t argument4) override;
bool ToggleWindow(int id);
};
#endif