Batch #6088 by kyoshi: 0 byte-identical, 1 confirmed by peer review. - fn_10607 UIMenuIconWnd::UIMenuIconWnd: logic confirmed by peer review Peer-reviewed-by: eAthena, superintelligence Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
42 lines
1.2 KiB
C++
42 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:
|
|
// INLINED
|
|
UIMenuIcon(UIWindowContext& windowContext, UIButtonContext& buttonContext) : UIBitmapButton(windowContext, buttonContext) {}
|
|
|
|
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;
|
|
UIButtonContext* m_controls;
|
|
|
|
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;
|
|
|
|
bool ToggleWindow(int id);
|
|
};
|
|
|
|
#endif
|