rodecomp/Source/UI/Window/UIPadding.h
ragnarok-clanker 60c11a92ad Decompile 3 functions in Source/UI/Window/UIControl.cpp, Source/UI/Window/UIControl.h, ...
Batch #7718 by Yommy: 0 byte-identical, 3 confirmed by peer review.

- fn_14561 CUITextButton::Slot54: logic confirmed by peer review
- fn_14669 CUIStaticText::Paint: logic confirmed by peer review
- fn_14578 CUIEditCtrl::DrawBlinkingCaret: logic confirmed by peer review

Peer-reviewed-by: eAthena, secret
Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
2026-10-31 11:22:05 +00:00

24 lines
534 B
C++

#ifndef RAGNAROK_SOURCE_UI_WINDOW_UIPADDING_H
#define RAGNAROK_SOURCE_UI_WINDOW_UIPADDING_H
#include "UI/Window/UIControl.h"
#include <cstdint>
class CUIPadding : public CUIControl {
public:
// INLINED
explicit CUIPadding(UIWindowContext& context) : CUIControl(context), color(0xFFFFFF), left(3), top(3), right(3), bottom(3) {
}
bool CanHitTest() override;
void Paint() override;
/* 0080 */ std::uint32_t color;
/* 0084 */ int left;
/* 0088 */ int top;
/* 008C */ int right;
/* 0090 */ int bottom;
};
#endif