rodecomp/Source/UI/UICaptchaRegisterWnd.cpp
ragnarok-clanker d67e00e520 Decompile 6 functions in Source/UI/UIGradeEnchantWnd.cpp, Source/UI/UIGradeEnchantWnd.h, ...
Batch #3145 by youko: 0 byte-identical, 6 confirmed by peer review.

- fn_09759 UIGradeEnchantWnd::Slot25: logic confirmed by peer review
- fn_09761 UIGradeEnchantWnd::Slot28: logic confirmed by peer review
- fn_09762 UIGradeEnchant_BtnEnhancedUp::Slot28: logic confirmed by peer review
- fn_09767 UIGradeEnchantWnd::SetEnchantInfo: logic confirmed by peer review
- fn_09771 UIGradeEnchantWnd::SetResult: logic confirmed by peer review
- fn_09791 UICaptchaRegisterWnd::SetRegisterDisabled: logic confirmed by peer review

Peer-reviewed-by: ragnarok-clanker, meitogi, superintelligence
Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
2026-10-29 20:36:42 +00:00

21 lines
688 B
C++

#include "UI/UICaptchaRegisterWnd.h"
#include "UI/Buttons/UIBitmapButton.h"
#include "UI/Window/WindowBorder.h"
// OFFSET: 0x007EA8D0
// FUNCTION: fn_09789
void UICaptchaRegisterWnd::Paint() {
UIButtonContext& controls = *this->m_controls;
DrawFilledRoundedBorder(*this, 0, 0, this->geometry.width, this->geometry.height, 0xFFFFFFFF);
this->DrawTitleBar(controls.fonts, controls.locale, true, "", 0);
DrawRectangleBorder(*this, 34, 80, 222, 92, 0);
}
// OFFSET: 0x007EAD90
// FUNCTION: fn_09791
void UICaptchaRegisterWnd::SetRegisterDisabled(unsigned char disabled) {
this->registerButton->SetDisabled(disabled);
this->registerButton->Invalidate();
this->Invalidate();
}