rodecomp/Source/UI/Buttons/UISlotBmpButton.h
ragnarok-clanker 3beaf6fab8 Decompile 7 functions in Source/UI/Buttons/UIBmpRadioBtn.h, Source/UI/Buttons/UIItemMoveInfo.h, ...
Batch #7851 by Yommy: 0 byte-identical, 7 confirmed by peer review.

- fn_11021 TableBox::TableBox: logic confirmed by peer review
- fn_11084 UITableBox::UITableBox: logic confirmed by peer review
- fn_11026 UIBasicItemCtrl::UIBasicItemCtrl: logic confirmed by peer review
- fn_11027 UIBasicSkillCtrl::UIBasicSkillCtrl: logic confirmed by peer review
- fn_11028 UIBmpRadioBtn::UIBmpRadioBtn: logic confirmed by peer review
- fn_11029 UICaptchaImage::UICaptchaImage: logic confirmed by peer review
- fn_11033 UIComboBox::UIComboBox: logic confirmed by peer review

Peer-reviewed-by: ragnarok-clanker, eAthena, secret
Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
Adds to the build: Source/UI/Buttons/UIBmpRadioBtn.cpp, Source/UI/Buttons/UIItemMoveInfo.cpp, Source/UI/Buttons/UISlotBmpButton.cpp, Source/UI/Edit/UIEditCtrl_Currency.cpp, Source/UI/Lists/TableBox.cpp, Source/UI/Lists/UIComboBoxV2Wnd.cpp, Source/UI/Lists/UIListBoxNavi.cpp, Source/UI/Lists/UIPackageBoxNameList.cpp, Source/UI/Lists/UITreeView.cpp, Source/UI/UIBasicCtrl.cpp, Source/UI/UIStaticItem.cpp
2026-10-31 12:08:59 +00:00

29 lines
808 B
C++

#ifndef RAGNAROK_SOURCE_UI_BUTTONS_UISLOTBMPBUTTON_H
#define RAGNAROK_SOURCE_UI_BUTTONS_UISLOTBMPBUTTON_H
#include "UI/Buttons/UIBitmapButton.h"
class UIStaticBitmap;
class UISlotBmpButton : public UIBitmapButton {
public:
UISlotBmpButton(UIWindowContext& windows, UIButtonContext& buttons, int index, bool);
void Slot15(int width, int height) override;
void Slot19() override;
void Slot25(int x, int y) override;
void Slot26(int x, int y) override;
void Slot32(int x, int y) override;
void SetSlot(int slot, int fallback);
protected:
/* 0120 */ int m_index;
/* 0124 */ bool unknown_0124;
/* 0128 */ int unknown_0128;
/* 012C */ int m_slot;
/* 0130 */ UIStaticBitmap* icon;
/* 0134 */ short unknown_0134;
/* 0136 */ short unknown_0136;
/* 0138 */ bool m_inRange;
};
#endif