Batch #3679 by eAthena: 6 byte-identical, 1 confirmed by peer review. - fn_11400 UIComboBox::Slot26: byte-identical - fn_11402 UIComboBoxID::Slot26: byte-identical - fn_11413 UIComboBox::Slot25: byte-identical - fn_11415 UIComboBoxID::Slot25: byte-identical - fn_11427 UITVTextButton::Slot25: logic confirmed by peer review - fn_11432 UIChatHisBox::Slot31: byte-identical - fn_11437 UIComboBoxV2Wnd::Slot31: byte-identical Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
38 lines
995 B
C++
38 lines
995 B
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:
|
|
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;
|
|
|
|
private:
|
|
UIButtonContext* m_controls;
|
|
};
|
|
|
|
#endif
|