Batch #3721 by youko: 5 byte-identical, 3 confirmed by peer review. - fn_10813 UINoneVisibleButton::Paint: byte-identical - fn_10822 UITextureButton::Paint: byte-identical - fn_10827 UIEditCtrlVarId::Slot24: byte-identical - fn_10833 UISlotBitmap::Slot26: byte-identical - fn_10844 UIRadioBtn::Slot25: logic confirmed by peer review - fn_10846 UISlotBitmap::Slot25: logic confirmed by peer review - fn_10862 UIResizer::Slot28: byte-identical - fn_10887 UISlotBitmap::Slot32: logic confirmed by peer review 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/Buttons/UIBmpTextButton2.cpp, Source/UI/Buttons/UIColorButton.cpp, Source/UI/Buttons/UINoneVisibleButton.cpp, Source/UI/Buttons/UIRadioBtn.cpp, Source/UI/Buttons/UITextureButton.cpp, Source/UI/Chat/UIChatRoomTitle.cpp, Source/UI/Shop/UIMerchantShopTitle.cpp, Source/UI/UISlotBitmap.cpp, Source/UI/Window/UIBitmapTab.cpp, Source/UI/Window/UIEmblemWnd.cpp, Source/UI/Window/UIResizer.cpp, Source/UI/Window/UITab.cpp, Source/UI/Window/UIWordDisplayWnd.cpp
26 lines
514 B
C++
26 lines
514 B
C++
#ifndef RAGNAROK_SOURCE_UI_WINDOW_UIBITMAPTAB_H
|
|
#define RAGNAROK_SOURCE_UI_WINDOW_UIBITMAPTAB_H
|
|
|
|
#include "UI/Window/UIWindow.h"
|
|
|
|
#include <string>
|
|
#include <vector>
|
|
|
|
struct BitmapTabEntry {
|
|
/* 0000 */ int height;
|
|
/* 0004 */ std::string name;
|
|
};
|
|
|
|
class UIBitmapTab : public UIWindow {
|
|
public:
|
|
void Paint() override;
|
|
void Slot25(int x, int y) override;
|
|
|
|
/* 007C */ std::vector<BitmapTabEntry> tabs;
|
|
};
|
|
|
|
#if defined(_WIN32) && !defined(_WIN64)
|
|
static_assert(sizeof(BitmapTabEntry) == 0x1C);
|
|
#endif
|
|
|
|
#endif
|