Batch #8111 by pedrao: 0 byte-identical, 1 confirmed by peer review. - fn_12944 UINoteWnd::SendMsg: 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).
30 lines
833 B
C++
30 lines
833 B
C++
#ifndef RAGNAROK_SOURCE_UI_TEXT_UISTATICTEXT_LF_H
|
|
#define RAGNAROK_SOURCE_UI_TEXT_UISTATICTEXT_LF_H
|
|
|
|
#include "UI/Window/UIWindow.h"
|
|
|
|
#include <string>
|
|
|
|
class UIStaticText_LF : public UIWindow {
|
|
public:
|
|
// INLINED
|
|
UIStaticText_LF(UIWindowContext& windows, unsigned char cached)
|
|
: UIWindow(windows, cached), m_lineSpacing(0), m_align(0), m_fontFamily(0), m_fontHeight(12), m_textColor(0), m_bold(0) {}
|
|
|
|
void Paint() override;
|
|
void Slot25(int x, int y) override;
|
|
void Slot31(int x, int y) override;
|
|
void Slot35(int delta) override;
|
|
void SetText(std::string text);
|
|
|
|
protected:
|
|
/* 007C */ std::string m_text;
|
|
/* 0094 */ int m_lineSpacing;
|
|
/* 0098 */ int m_align;
|
|
/* 009C */ int m_fontFamily;
|
|
/* 00A0 */ int m_fontHeight;
|
|
/* 00A4 */ std::uint32_t m_textColor;
|
|
/* 00A8 */ unsigned char m_bold;
|
|
};
|
|
|
|
#endif
|