Batch #7711 by secret: 0 byte-identical, 12 confirmed by peer review. - fn_12846 UIAccountLimitedToolWnd::UIAccountLimitedToolWnd: logic confirmed by peer review - fn_12847 UIBalloonOpenBtn::UIBalloonOpenBtn: logic confirmed by peer review - fn_12848 UIDebuffRemoveWnd::UIDebuffRemoveWnd: logic confirmed by peer review - fn_12850 UIMileageWnd::UIMileageWnd: logic confirmed by peer review - fn_12852 UINoteWnd::UINoteWnd: logic confirmed by peer review - fn_12853 UIOpenMailBoxWnd::UIOpenMailBoxWnd: logic confirmed by peer review - fn_12854 UIOpenRoulletteWnd::UIOpenRoulletteWnd: logic confirmed by peer review - fn_12855 UIQuestDisplay::UIQuestDisplay: logic confirmed by peer review - fn_12856 UIRPImageWnd2::UIRPImageWnd2: logic confirmed by peer review - fn_12857 UISecondCostumeWnd::UISecondCostumeWnd: logic confirmed by peer review - fn_12858 UIShowWarpWnd::UIShowWarpWnd: logic confirmed by peer review - fn_12859 UITransMenuWnd::UITransMenuWnd: 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
794 B
C++
30 lines
794 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 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
|