rodecomp/Source/UI/Lists/UITabControl.h
ragnarok-clanker de043b4d78 Decompile 4 functions in Source/UI/Buttons/UITextButton.cpp, Source/UI/Lists/UIScrollBar.cpp, ...
Batch #4324 by eAthena: 0 byte-identical, 4 confirmed by peer review.

- fn_11080 UIString::UIString: logic confirmed by peer review
- fn_11083 UITabControl::UITabControl: logic confirmed by peer review
- fn_11097 UIBarGraph3::`scalar deleting destructor': logic confirmed by peer review
- fn_11098 UIBarGraphPlayer::`scalar deleting destructor': logic confirmed by peer review

Peer-reviewed-by: youko, tayoba
Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
2026-10-30 02:42:46 +00:00

44 lines
1.2 KiB
C++

#ifndef RAGNAROK_SOURCE_UI_LISTS_UITABCONTROL_H
#define RAGNAROK_SOURCE_UI_LISTS_UITABCONTROL_H
#include "UI/Window/UIWindow.h"
#include <string>
#include <vector>
struct UIButtonContext;
class UIEditCtrl;
class UITabControl : public UIWindow {
public:
UITabControl(UIWindowContext& windows, UIButtonContext& controls);
int TabCount();
int TabAt(int x, int y);
void FillTab(int index, int x, int y, int width, int height, std::uint32_t color);
void Slot25(int x, int y) override;
void Slot27(int x, int y) override;
void Slot28(int x, int y) override;
void Slot31(int x, int y) override;
/* 0080 */ int layout;
/* 0084 */ unsigned char unknown_0084[0x25];
/* 00A9 */ unsigned char unknown_00A9;
/* 00AC */ int dragX;
/* 00B0 */ int dragY;
/* 00B4 */ std::vector<std::string> labels;
/* 00C0 */ std::vector<std::uint32_t> colors;
/* 00CC */ std::vector<int> widths;
/* 00D8 */ UIEditCtrl* edit;
/* 00DC */ std::vector<std::string> tooltips;
/* 007C */ int unknown_007C;
/* 00E8 */ int unknown_00E8;
/* 00EC */ int unknown_00EC;
/* 00F0 */ int unknown_00F0;
/* 00F4 */ int unknown_00F4;
/* 00F8 */ int unknown_00F8;
private:
UIButtonContext* m_controls;
};
#endif