rodecomp/Source/UI/UILapineScrollBar.h
ragnarok-clanker 3e8c4f3253 Decompile 5 functions in Source/UI/UIScrollWnd.cpp, Source/UI/UIScrollWnd.h, ...
Batch #3536 by eAthena: 1 byte-identical, 4 confirmed by peer review.

- fn_13772 UIScrollWnd::~UIScrollWnd: logic confirmed by peer review
- fn_13783 UIScrollWnd::Slot15: logic confirmed by peer review
- fn_13784 UIScrollWnd::Slot35: logic confirmed by peer review
- fn_13786 UIScrollWnd::Clear: byte-identical
- fn_13787 UIScrollWnd::RemoveChild: logic confirmed by peer review

Peer-reviewed-by: Yommy, meitogi, 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/UIScrollWnd.cpp
2026-10-29 22:45:52 +00:00

45 lines
1.3 KiB
C++

#ifndef RAGNAROK_SOURCE_UI_UILAPINESCROLLBAR_H
#define RAGNAROK_SOURCE_UI_UILAPINESCROLLBAR_H
#include "Contents/Items/ItemInfo.h"
#include "UI/Lists/UIScrollBar.h"
#include "UI/UIScrollWnd.h"
#include <cstddef>
#include <vector>
class UILapineUpgradeBox_IngredientInfoWnd;
class UILapineScrollBar : public UIScrollBar {
public:
void Paint() override;
};
class UILapineUpgradeBox_IngredientListWnd : public UIScrollWnd {
public:
void Slot10(int x, int y, std::intptr_t value) override;
void Paint() override;
void Slot35(int argument) override;
UILapineUpgradeBox_IngredientInfoWnd* FindSelected();
/* 00B0 */ std::vector<ITEM_INFO> materials;
/* 00BC */ std::vector<UILapineUpgradeBox_IngredientInfoWnd*> items;
/* 00C8 */ int minOptionCount;
/* 00CC */ int minRefine;
/* 00D0 */ int maxRefine;
};
#if defined(_WIN32) && !defined(_WIN64)
static_assert(offsetof(UIScrollWnd, scrollBar) == 0x90);
static_assert(offsetof(UIScrollWnd, wheelScroll) == 0xA5);
static_assert(offsetof(UILapineUpgradeBox_IngredientListWnd, materials) == 0xB0);
static_assert(offsetof(UILapineUpgradeBox_IngredientListWnd, items) == 0xBC);
static_assert(offsetof(UILapineUpgradeBox_IngredientListWnd, maxRefine) == 0xD0);
#endif
class UILapineBox_IngredientListWnd : public UIScrollWnd {
public:
void Paint() override;
};
#endif