Batch #6210 by eAthena: 0 byte-identical, 1 confirmed by peer review. - fn_12895 UINoteWnd::Slot15: logic confirmed by peer review Peer-reviewed-by: ragnarok-clanker, alisonrag, gordaoprogramas Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
33 lines
799 B
C++
33 lines
799 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:
|
|
void Slot15(int width, int height) override;
|
|
void Paint() override;
|
|
|
|
protected:
|
|
/* 00B4 */ UINoteWnd_Scroll* m_scroll;
|
|
UIButtonContext* m_controls;
|
|
};
|
|
|
|
#endif
|