Batch #7736 by secret: 0 byte-identical, 7 confirmed by peer review. - fn_11653 UIAllyGuildAcceptWnd::UIAllyGuildAcceptWnd: logic confirmed by peer review - fn_11654 UIBank_NewWnd::UIBank_NewWnd: logic confirmed by peer review - fn_11655 UIChatRoomWnd::UIChatRoomWnd: logic confirmed by peer review - fn_11656 UICntWnd::UICntWnd: logic confirmed by peer review - fn_11658 UIHomunInfoWnd::UIHomunInfoWnd: logic confirmed by peer review - fn_11659 UILoginOTPWnd::UILoginOTPWnd: logic confirmed by peer review - fn_11660 UILoginWnd::UILoginWnd: logic confirmed by peer review Peer-reviewed-by: eAthena, Yommy Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
31 lines
975 B
C++
31 lines
975 B
C++
#ifndef RAGNAROK_SOURCE_UI_WINDOW_UIBANK_NEWWND_H
|
|
#define RAGNAROK_SOURCE_UI_WINDOW_UIBANK_NEWWND_H
|
|
|
|
#include "UI/Window/UIFrameWnd.h"
|
|
|
|
class UIEditCtrl;
|
|
struct UIButtonContext;
|
|
struct UIEditContext;
|
|
|
|
class UIBank_NewWnd : public UIFrameWnd {
|
|
public:
|
|
UIBank_NewWnd(UIWindowContext& windows, UIFrameContext& frames, UIButtonContext& controls, UIEditContext& editContext);
|
|
bool Slot03() override;
|
|
void Slot15(int width, int height) override;
|
|
long long AdjustAmount(int amount);
|
|
long long TransactionAmount(unsigned char deposit);
|
|
void Paint() override;
|
|
int SendMsg(UIWindow* sender, int message, std::intptr_t a, std::intptr_t b, std::intptr_t c, std::intptr_t d) override;
|
|
bool IsNumeric(std::string text);
|
|
void AnimateLoading();
|
|
|
|
protected:
|
|
/* 00B4 */ UIEditCtrl* m_amountEdit;
|
|
/* 00B8 */ std::string m_status;
|
|
/* 00D0 */ int unknown_00D0;
|
|
/* 00D4 */ UIWindow* m_loading[4];
|
|
UIButtonContext* m_controls;
|
|
UIEditContext* m_editContext;
|
|
};
|
|
|
|
#endif
|