rodecomp/Source/UI/UIBasicCtrl.h
ragnarok-clanker d539847a8b Decompile 7 functions in Source/UI/Buttons/UIBitmapButton2.h, Source/UI/Buttons/UIBmpRadioBtn.h, ...
Batch #3679 by eAthena: 6 byte-identical, 1 confirmed by peer review.

- fn_11400 UIComboBox::Slot26: byte-identical
- fn_11402 UIComboBoxID::Slot26: byte-identical
- fn_11413 UIComboBox::Slot25: byte-identical
- fn_11415 UIComboBoxID::Slot25: byte-identical
- fn_11427 UITVTextButton::Slot25: logic confirmed by peer review
- fn_11432 UIChatHisBox::Slot31: byte-identical
- fn_11437 UIComboBoxV2Wnd::Slot31: byte-identical

Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
2026-10-29 22:58:30 +00:00

43 lines
1 KiB
C++

#ifndef RAGNAROK_SOURCE_UI_UIBASICCTRL_H
#define RAGNAROK_SOURCE_UI_UIBASICCTRL_H
#include "Contents/Items/ItemInfo.h"
#include "UI/Window/UIWindow.h"
#include <string>
struct ItemNaming;
struct ClientSkills;
struct UIButtonContext;
class WindowManagerWindows;
class UIBasicItemCtrl : public UIWindow {
public:
void Slot26(int x, int y) override;
void Slot28(int x, int y) override;
void Slot32(int x, int y) override;
protected:
/* 007C */ unsigned char unknown_007C[0xC];
/* 0088 */ std::string m_tooltip;
/* 00A0 */ ITEM_INFO m_item;
ItemNaming* m_naming;
UIButtonContext* m_controls;
WindowManagerWindows* m_windows;
};
class UIBasicSkillCtrl : public UIWindow {
public:
void Slot26(int x, int y) override;
void Slot28(int x, int y) override;
protected:
/* 007C */ int m_skillId;
ClientSkills* m_skills;
UIButtonContext* m_controls;
};
std::string SkillUseTextPercent(const char* name, int level, int sp, int ap);
std::string SkillUseTextFlat(const char* name, int level, int sp, int ap);
#endif