Batch #7711 by secret: 0 byte-identical, 12 confirmed by peer review. - fn_12846 UIAccountLimitedToolWnd::UIAccountLimitedToolWnd: logic confirmed by peer review - fn_12847 UIBalloonOpenBtn::UIBalloonOpenBtn: logic confirmed by peer review - fn_12848 UIDebuffRemoveWnd::UIDebuffRemoveWnd: logic confirmed by peer review - fn_12850 UIMileageWnd::UIMileageWnd: logic confirmed by peer review - fn_12852 UINoteWnd::UINoteWnd: logic confirmed by peer review - fn_12853 UIOpenMailBoxWnd::UIOpenMailBoxWnd: logic confirmed by peer review - fn_12854 UIOpenRoulletteWnd::UIOpenRoulletteWnd: logic confirmed by peer review - fn_12855 UIQuestDisplay::UIQuestDisplay: logic confirmed by peer review - fn_12856 UIRPImageWnd2::UIRPImageWnd2: logic confirmed by peer review - fn_12857 UISecondCostumeWnd::UISecondCostumeWnd: logic confirmed by peer review - fn_12858 UIShowWarpWnd::UIShowWarpWnd: logic confirmed by peer review - fn_12859 UITransMenuWnd::UITransMenuWnd: 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).
34 lines
889 B
C++
34 lines
889 B
C++
#ifndef RAGNAROK_SOURCE_UI_WINDOW_UINOTEWND_H
|
|
#define RAGNAROK_SOURCE_UI_WINDOW_UINOTEWND_H
|
|
|
|
#include "UI/UIScrollWnd.h"
|
|
#include "UI/Window/UIFrameWnd.h"
|
|
|
|
struct UIButtonContext;
|
|
|
|
class UINoteWnd_Scroll : public UIScrollWnd {
|
|
public:
|
|
// INLINED
|
|
UINoteWnd_Scroll(UIWindowContext& windows, int width, int height) : UIScrollWnd(windows, width, height, 0), unknown_00B0(0) {
|
|
this->SetSize(width, height);
|
|
}
|
|
void Paint() override;
|
|
void Slot25(int x, int y) override;
|
|
void Slot31(int x, int y) override;
|
|
void Slot35(int delta) override;
|
|
|
|
/* 00B0 */ int unknown_00B0;
|
|
};
|
|
|
|
class UINoteWnd : public UIFrameWnd {
|
|
public:
|
|
UINoteWnd(UIWindowContext& windows, UIFrameContext& frames, UIButtonContext& controls);
|
|
void Slot15(int width, int height) override;
|
|
void Paint() override;
|
|
|
|
protected:
|
|
/* 00B4 */ UINoteWnd_Scroll* m_scroll;
|
|
UIButtonContext* m_controls;
|
|
};
|
|
|
|
#endif
|