Batch #8468 by Toshiro: 0 byte-identical, 1 confirmed by peer review. - fn_11574 UIListBoxNavi::SetLineOffset: logic confirmed by peer review Peer-reviewed-by: gordaoprogramas, Lumen, dori Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
26 lines
693 B
C++
26 lines
693 B
C++
#ifndef RAGNAROK_SOURCE_UI_LISTS_UILISTBOXNAVI_H
|
|
#define RAGNAROK_SOURCE_UI_LISTS_UILISTBOXNAVI_H
|
|
|
|
#include "UI/Lists/UIListBox.h"
|
|
|
|
#include <cstdint>
|
|
#include <vector>
|
|
|
|
class UIListBoxNavi : public UIListBox {
|
|
public:
|
|
UIListBoxNavi(UIWindowContext& windows, UIListBoxContext& list);
|
|
void Paint() override;
|
|
void Slot25(int x, int y) override;
|
|
void Clear() override;
|
|
/* 00D4 */ std::uint32_t defaultLineColor;
|
|
/* 00D8 */ std::vector<std::uint32_t> lineColors;
|
|
/* 00E4 */ int lineOffset;
|
|
|
|
void SetDefaultLineColor(std::uint32_t color);
|
|
void SetLineColor(int line, std::uint32_t color);
|
|
void ResetLineColors();
|
|
void SetLineOffset(int offset);
|
|
int LineOffset();
|
|
};
|
|
|
|
#endif
|