Batch #4071 by eAthena: 0 byte-identical, 3 confirmed by peer review. - fn_13603 UIMakeTargetProcessWnd::GetItemAt: logic confirmed by peer review - fn_13604 UIItemRepairWnd::Slot15: logic confirmed by peer review - fn_13578 UIMerchantItemLogWnd::Slot19: logic confirmed by peer review Peer-reviewed-by: youko, superintelligence Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). Adds to the build: Source/UI/Items/UIMakeTargetProcessWnd.cpp, Source/UI/Item/UIMerchantItemLogWnd.cpp
35 lines
776 B
C++
35 lines
776 B
C++
#ifndef RAGNAROK_SOURCE_UI_ITEMS_UIITEMREPAIRWND_H
|
|
#define RAGNAROK_SOURCE_UI_ITEMS_UIITEMREPAIRWND_H
|
|
|
|
#include "UI/Window/UIFrameWnd.h"
|
|
|
|
#include <cstdint>
|
|
#include <list>
|
|
#include <vector>
|
|
|
|
struct UIButtonContext;
|
|
struct UIListBoxContext;
|
|
class UIListBox;
|
|
|
|
struct UIItemRepairEntry {
|
|
/* 0000 */ std::uint32_t unknown_0000[4];
|
|
/* 0010 */ std::uint32_t unknown_0010[2];
|
|
};
|
|
|
|
class UIItemRepairWnd : public UIFrameWnd {
|
|
public:
|
|
void Slot15(int width, int height) override;
|
|
void Paint() override;
|
|
|
|
protected:
|
|
UIButtonContext* m_controls;
|
|
UIListBoxContext* m_listContext;
|
|
|
|
public:
|
|
/* 00B4 */ UIListBox* m_list;
|
|
/* 00B8 */ std::vector<int> unknown_00B8;
|
|
/* 00C4 */ std::vector<int> unknown_00C4;
|
|
/* 00D0 */ std::list<UIItemRepairEntry> unknown_00D0;
|
|
};
|
|
|
|
#endif
|