rodecomp/Source/UI/Window/UIControl.h
ragnarok-clanker 2857ec2b33 Decompile fn_14684 (CUITab::Paint)
Batch #2031 by ragnarok-clanker: 1 byte-identical, 0 confirmed by peer review.

- fn_14684 CUITab::Paint: byte-identical

Merged automatically: every function is byte-identical to the original.
2026-10-29 01:56:55 +00:00

46 lines
1.2 KiB
C++

#ifndef RAGNAROK_SOURCE_UI_WINDOW_UICONTROL_H
#define RAGNAROK_SOURCE_UI_WINDOW_UICONTROL_H
#include "UI/Window/UIWindow.h"
#include <string>
class CBitmapRes;
class CUIControl : public UIWindow {
public:
CBitmapRes* LoadBitmapResource(const std::string& name, bool resolveSkin);
explicit CUIControl(UIWindowContext& context);
~CUIControl() override;
bool CanHitTest() override;
void Slot10(int x, int y, std::intptr_t value) override;
void Slot25(int x, int y) override;
void Slot26(int x, int y) override;
void Slot27(int x, int y) override;
void Slot28(int x, int y) override;
void ResetCursor(int x, int y) override;
void Slot31(int x, int y) override;
void Slot32(int x, int y) override;
void Slot33(int x, int y) override;
void Slot34(int x, int y) override;
void Slot35(int value) override;
void Invalidate() override;
void Slot52(int value) override;
virtual void Slot53(int value);
bool IsPointInside(int x, int y);
/* 007C */ unsigned char hitEnabled;
};
class CUITab : public CUIControl {
public:
void Paint() override;
};
#if defined(_WIN32) && !defined(_WIN64)
static_assert(sizeof(CUIControl) == 132);
#endif
#endif