rodecomp/Source/UI/UIBarGraph.h
ragnarok-clanker a30154a0f3 Decompile 6 functions in Source/UI/Gauges/UIPetInfoBarGraph.cpp, Source/UI/UIBarGraph.h, ...
Batch #4012 by eAthena: 0 byte-identical, 6 confirmed by peer review.

- fn_11564 UIBarGraph4::SetValues: logic confirmed by peer review
- fn_11566 UIINT64BarGraph::SetValues: logic confirmed by peer review
- fn_11575 UIListBoxNavi::SetDefaultLineColor: logic confirmed by peer review
- fn_11585 UIChatHisBox::Show: logic confirmed by peer review
- fn_11586 UIPcGage::SetLimits: logic confirmed by peer review
- fn_11591 UIEditCtrl_Custom::Trim: logic confirmed by peer review

Peer-reviewed-by: Yommy, willerthal, superintelligence
Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
2026-10-30 00:35:21 +00:00

45 lines
890 B
C++

#ifndef RAGNAROK_SOURCE_UI_UIBARGRAPH_H
#define RAGNAROK_SOURCE_UI_UIBARGRAPH_H
#include "UI/Window/UIWindow.h"
#include <cstdint>
struct UIButtonContext;
class UIBarGraph3 : public UIWindow {
};
class UIBarGraph4 : public UIBarGraph3 {
public:
void Slot28(int x, int y) override;
void SetValues(const int* current, const int* maximum);
protected:
/* 007C */ const int* m_current;
/* 0080 */ const int* m_maximum;
UIButtonContext* m_controls;
};
class UIINT64BarGraph : public UIWindow {
public:
void Slot28(int x, int y) override;
void SetValues(std::int64_t current, std::int64_t maximum);
protected:
/* 007C */ int unknown_007C;
/* 0080 */ std::int64_t m_current;
/* 0088 */ std::int64_t m_maximum;
UIButtonContext* m_controls;
};
class UIPetInfoBarGraph : public UIWindow {
public:
void SetValue(int value);
/* 007C */ int unknown_007C;
};
#endif