rodecomp/Source/UI/Quest/UIQuestDisplay.h
ragnarok-clanker 50558b0a31 Decompile fn_12911 (UIQuestDisplay::Paint)
Batch #8567 by youko: 0 byte-identical, 1 confirmed by peer review.

- fn_12911 UIQuestDisplay::Paint: logic confirmed by peer review

Peer-reviewed-by: eAthena, gordaoprogramas, superintelligence, KWDev
Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
2026-10-31 22:46:54 +00:00

31 lines
819 B
C++

#ifndef RAGNAROK_SOURCE_UI_QUEST_UIQUESTDISPLAY_H
#define RAGNAROK_SOURCE_UI_QUEST_UIQUESTDISPLAY_H
#include "UI/Window/UIWindow.h"
#include <string>
#include <vector>
struct QuestDisplayInfo;
struct QuestDisplayMenuItem {
std::string text;
int command;
};
class UIQuestDisplay : public UIWindow {
public:
UIQuestDisplay(UIWindowContext& windows);
bool Slot08() override;
void Slot11() override;
void Paint() override;
void Slot33(int x, int y) override;
int SendMsg(UIWindow* sender, int message, std::intptr_t argument1, std::intptr_t argument2, std::intptr_t argument3, std::intptr_t argument4) override;
void Create(int width, int height);
protected:
/* 0080 */ int m_selectedIndex;
/* 0084 */ std::vector<QuestDisplayMenuItem> m_menuItems;
/* 0090 */ int* m_visibleSetting;
};
#endif