Batch #5211 by zindokar: 0 byte-identical, 1 confirmed by peer review. - fn_12707 UIBattleMsgOptionWnd::Slot28: logic confirmed by peer review Peer-reviewed-by: eAthena, alisonrag Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
39 lines
1 KiB
C++
39 lines
1 KiB
C++
#ifndef RAGNAROK_SOURCE_UI_WINDOW_UIBATTLEMSGOPTIONWND_H
|
|
#define RAGNAROK_SOURCE_UI_WINDOW_UIBATTLEMSGOPTIONWND_H
|
|
|
|
#include "UI/Window/UIFrameWnd.h"
|
|
|
|
#include <string>
|
|
#include <vector>
|
|
|
|
class UIScrollBar;
|
|
struct UIButtonContext;
|
|
|
|
class UIBattleMsgOptionWnd : public UIFrameWnd {
|
|
public:
|
|
UIBattleMsgOptionWnd(UIWindowContext& windows, UIFrameContext& frames);
|
|
void Paint() override;
|
|
void Slot26(int x, int y) override;
|
|
void Slot28(int x, int y) override;
|
|
void Slot35(int delta) override;
|
|
int RowAt(int x, int y);
|
|
virtual void UpdateScrollBar();
|
|
|
|
/* 00B4 */ UIScrollBar* m_scrollBar;
|
|
/* 00B8 */ int unknown_00B8;
|
|
/* 00BC */ int m_visibleRows;
|
|
/* 00C0 */ int m_scrollable;
|
|
/* 00C4 */ int unknown_00C4;
|
|
/* 00C8 */ std::vector<const char*> messages;
|
|
/* 00D4 */ std::string text;
|
|
/* 00EC */ unsigned char unknown_00EC[0x1C];
|
|
/* 0108 */ int unknown_0108;
|
|
/* 010C */ int unknown_010C;
|
|
/* 0110 */ unsigned char unknown_0110;
|
|
/* 0111 */ unsigned char unknown_0111[0x7];
|
|
|
|
protected:
|
|
UIButtonContext* m_controls;
|
|
};
|
|
|
|
#endif
|