Batch #15203 by Yommy: 3 byte-identical, 0 confirmed by peer review. - fn_10041 RodexMailEntryLess::operator(): byte-identical - fn_10043 UIRodexInboxWnd::RequestMailAction: byte-identical - fn_10044 UIRodexInboxWnd::RequestAllMailActions: byte-identical Merged automatically: every function is byte-identical to the original.
36 lines
1 KiB
C++
36 lines
1 KiB
C++
#ifndef RAGNAROK_SOURCE_UI_BUTTONS_UIRADIOBTN_H
|
|
#define RAGNAROK_SOURCE_UI_BUTTONS_UIRADIOBTN_H
|
|
|
|
#include "UI/Window/UIWindow.h"
|
|
|
|
#include <cstdint>
|
|
#include <string>
|
|
|
|
class UIRadioBtn : public UIWindow {
|
|
public:
|
|
UIRadioBtn();
|
|
~UIRadioBtn() override;
|
|
void Paint() override;
|
|
void OnLBtnDown(int x, int y) override;
|
|
void OnMouseHover(int x, int y) override;
|
|
int SendMsg(UIWindow* sender, int message, std::intptr_t argument1, std::intptr_t argument2, std::intptr_t argument3, std::intptr_t argument4) override;
|
|
void SetText(const char* value);
|
|
// INLINED
|
|
void SetBitmaps(std::string checked, std::string unchecked) {
|
|
this->checkedBitmap = checked;
|
|
this->uncheckedBitmap = unchecked;
|
|
this->Invalidate();
|
|
}
|
|
|
|
/* 007C */ std::string text;
|
|
/* 0094 */ int enabled;
|
|
/* 0098 */ int highlighted;
|
|
/* 009C */ int value;
|
|
/* 00A0 */ std::string tooltip;
|
|
/* 00B8 */ std::string checkedBitmap;
|
|
/* 00D0 */ std::string uncheckedBitmap;
|
|
/* 00E8 */ int fontHeight;
|
|
/* 00EC */ std::uint32_t textColor;
|
|
};
|
|
|
|
#endif
|