rodecomp/Source/UI/Buttons/UITVTextButton.h
ragnarok-clanker 1d3b73372d Decompile 13 functions in Source/UI/Gauges/UIPlayerGage.cpp, Source/UI/UIBarGraph.cpp, ...
Batch #5221 by Yommy: 0 byte-identical, 13 confirmed by peer review.

- fn_11568 UIRechargeGage::SetValues: logic confirmed by peer review
- fn_11569 UIPlayerGage::SetFourthValues: logic confirmed by peer review
- fn_11578 UIPlayerGage::SetFirstValues: logic confirmed by peer review
- fn_11579 UIPlayerGage::SetThirdValues: logic confirmed by peer review
- fn_11580 UIMonsterGage::SetMode: logic confirmed by peer review
- fn_11587 UIPlayerGage::SetSecondValues: logic confirmed by peer review
- fn_11593 UIBarGraphHomun::SetValues: logic confirmed by peer review
- fn_11594 UIBarGraphPlayer::SetValues: logic confirmed by peer review
- fn_11570 UIBmpRadioBtn::SetBitmap: logic confirmed by peer review
- fn_11573 UITextButton::CenterIn: logic confirmed by peer review
- fn_11590 UITVTextButton::SetLabel: logic confirmed by peer review
- fn_11592 UIBmpRadioBtn::AddText: logic confirmed by peer review
- fn_11595 UIItemTagOnMail::SetLines: logic confirmed by peer review

Peer-reviewed-by: eAthena, alisonrag
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/Gauges/UIPlayerGage.cpp
2026-10-30 09:33:02 +00:00

42 lines
1.2 KiB
C++

#ifndef RAGNAROK_SOURCE_UI_BUTTONS_UITVTEXTBUTTON_H
#define RAGNAROK_SOURCE_UI_BUTTONS_UITVTEXTBUTTON_H
#include "UI/Buttons/UIButton.h"
#include <cstdint>
#include <string>
class UITVTextButton : public UIButton {
public:
void Paint() override;
void Slot25(int x, int y) override;
void Slot26(int x, int y) override;
void Slot27(int x, int y) override;
void ResetCursor(int x, int y) override;
void Slot31(int x, int y) override;
void Slot32(int x, int y) override;
void Slot33(int x, int y) override;
void ResizeToText();
void SetLabel(std::string text);
protected:
/* 00B4 */ unsigned char unknown_00B4;
/* 00B5 */ unsigned char unknown_00B5;
/* 00B6 */ unsigned char unknown_00B6;
/* 00B7 */ unsigned char m_border;
/* 00B8 */ unsigned char m_fill;
/* 00B9 */ unsigned char unknown_00B9[0x3];
/* 00BC */ std::uint32_t m_borderColor;
/* 00C0 */ std::uint32_t m_fillColor;
/* 00C4 */ std::uint32_t m_textColor;
/* 00C8 */ std::uint32_t m_outlineColor;
/* 00CC */ std::uint32_t m_highlightColor;
/* 00D0 */ unsigned char m_outlined;
/* 00D1 */ unsigned char unknown_00D1[0x3];
/* 00D4 */ int m_fontHeight;
/* 00D8 */ int m_fontFamily;
/* 00DC */ std::string unknown_00DC;
/* 00F4 */ int m_value;
};
#endif