rodecomp/Source/UI/Lists/UIMemberListBox.h
ragnarok-clanker af722357a4 Decompile fn_11197 (UIChatHisBox::AddTextWrapped)
Batch #8968 by SapitoSucio: 0 byte-identical, 1 confirmed by peer review.

- fn_11197 UIChatHisBox::AddTextWrapped: logic confirmed by peer review

Peer-reviewed-by: ragnarok-clanker, gordaoprogramas, System4z
Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
2026-10-31 23:16:27 +00:00

47 lines
1.3 KiB
C++

#ifndef RAGNAROK_SOURCE_UI_LISTS_UIMEMBERLISTBOX_H
#define RAGNAROK_SOURCE_UI_LISTS_UIMEMBERLISTBOX_H
#include "UI/Lists/UIChatHisBox.h"
struct UIButtonContext;
class UIChatHisBox2 : public UIChatHisBox {
public:
UIChatHisBox2(UIWindowContext& windows, UIListBoxContext& list);
bool Slot08() override;
void Paint() override;
void Slot15(int width, int height) override;
void Configure(int x, int y, int width, int height, unsigned char transparent) override;
void Slot33(int x, int y) override;
/* 0124 */ int backgroundRed;
/* 0128 */ int backgroundGreen;
/* 012C */ int backgroundBlue;
};
class UIChatHisBox3 : public UIChatHisBox2 {
public:
UIChatHisBox3(UIWindowContext& windows, UIListBoxContext& list);
void Paint() override;
void Slot15(int width, int height) override;
void Resize(int width, int height) override;
virtual void AddText(const char* text, int color);
/* 0130 */ int unknown_0130;
/* 0134 */ int unknown_0134;
};
class UIMemberListBox : public UIChatHisBox2 {
public:
UIMemberListBox(UIWindowContext& windows, UIListBoxContext& list);
void Paint() override;
void Slot25(int x, int y) override;
void Slot28(int x, int y) override;
void Slot32(int x, int y) override;
void Slot33(int x, int y) override;
protected:
UIButtonContext* m_controls;
};
#endif