Batch #16997 by eAthena: 10 byte-identical, 2 confirmed by peer review. - fn_09185 UIAchViewWnd::UIAchViewWnd: byte-identical - fn_09216 UIAchievementWnd::OnCreate: byte-identical (already on main) - fn_11931 UIChooseWarpWnd::UIChooseWarpWnd: byte-identical - fn_12367 UIPartyInvitationToWnd::SendMsg: byte-identical - fn_12117 UISayDialogWnd::GetReplayData: logic confirmed by peer review - fn_11998 UISpellListWnd::~UISpellListWnd: logic confirmed by peer review (already on main) - fn_14043 CUIListBoxEx<AdventureGuide::CUIItemInfo,AdventureGuide::CItemData>::OnScroll: byte-identical - fn_14044 CUIListBoxEx<AdventureGuide::CUIMonsterInfo,AdventureGuide::CMonsterData>::OnScroll: byte-identical - fn_14045 CUIListBoxEx<AdventureGuide::CUIQuestInfo,AdventureGuide::CQuestInfo>::OnScroll: byte-identical - fn_14046 CUIListBoxEx<AdventureGuide::CUITabInfo,Guide_Intro::Contents>::OnScroll: byte-identical - fn_14843 CUIListBoxEx<EnchantUI::CUITargetItem,ITEM_INFO>::OnScroll: byte-identical - fn_14844 CUIListBoxEx<EnchantUI::CUIEnchantItem,EnchantUI::CEnchantItemData>::OnScroll: byte-identical Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
71 lines
2.2 KiB
C++
71 lines
2.2 KiB
C++
#ifndef RAGNAROK_SOURCE_UI_ITEMS_UIITEMIDENTIFYWND_H
|
|
#define RAGNAROK_SOURCE_UI_ITEMS_UIITEMIDENTIFYWND_H
|
|
|
|
#include "Contents/Items/ItemInfo.h"
|
|
#include "UI/Window/UIFrameWnd.h"
|
|
|
|
#include <list>
|
|
#include <string>
|
|
|
|
struct WindowPlacement;
|
|
|
|
class UIItemIdentifyWnd : public UIFrameWnd {
|
|
public:
|
|
/* 00B4 */ UIWindow* m_scrollBar;
|
|
/* 00B8 */ int m_scroll;
|
|
/* 00BC */ int m_selected;
|
|
/* 00C0 */ int m_columns;
|
|
/* 00C4 */ int m_rows;
|
|
/* 00C8 */ int m_scrollable;
|
|
/* 00CC */ std::list<ITEM_INFO> m_items;
|
|
/* 00D4 */ std::string m_title;
|
|
/* 00EC */ WindowPlacement* m_placement;
|
|
|
|
UIItemIdentifyWnd();
|
|
// INLINED
|
|
~UIItemIdentifyWnd() override {
|
|
}
|
|
void StoreInfo() override;
|
|
void Paint() override;
|
|
void OnCreate(int width, int height) override;
|
|
void UpdateScroll();
|
|
void OnLBtnDown(int x, int y) override;
|
|
void OnLBtnDblClk(int x, int y) override;
|
|
void OnRBtnUp(int x, int y) override;
|
|
void OnWheel(int delta) override;
|
|
std::vector<unsigned char> GetReplayData() override;
|
|
ITEM_INFO GetItem(int index, int* found);
|
|
ITEM_INFO GetSelectedItem(int* found);
|
|
int SendMsg(UIWindow* sender, int message, std::intptr_t a, std::intptr_t b, std::intptr_t c, std::intptr_t d) override;
|
|
};
|
|
|
|
class UIMakingArrowListWnd : public UIItemIdentifyWnd {
|
|
public:
|
|
UIMakingArrowListWnd();
|
|
void Paint() override;
|
|
std::vector<unsigned char> GetReplayData() override;
|
|
int SendMsg(UIWindow* sender, int message, std::intptr_t a, std::intptr_t b, std::intptr_t c, std::intptr_t d) override;
|
|
|
|
/* 00F0 */ std::int16_t listType;
|
|
};
|
|
|
|
class UIPetEggListWnd : public UIItemIdentifyWnd {
|
|
public:
|
|
UIPetEggListWnd();
|
|
void Paint() override;
|
|
int SendMsg(UIWindow* sender, int message, std::intptr_t argument1, std::intptr_t argument2, std::intptr_t argument3, std::intptr_t argument4) override;
|
|
};
|
|
|
|
class UIItemCompositionWnd : public UIItemIdentifyWnd {
|
|
public:
|
|
UIItemCompositionWnd();
|
|
void StoreInfo() override;
|
|
void OnCreate(int width, int height) override;
|
|
std::vector<unsigned char> GetReplayData() override;
|
|
int SendMsg(UIWindow* sender, int message, std::intptr_t a, std::intptr_t b, std::intptr_t c, std::intptr_t d) override;
|
|
|
|
/* 00F0 */ WindowPlacement* m_compositionPlacement;
|
|
/* 00F4 */ int m_compositionState;
|
|
};
|
|
|
|
#endif
|