rodecomp/Source/UI/UIStaticBitmap.h
ragnarok-clanker 256ae75f4d Decompile 4 functions in Source/UI/UISlotBitmap.cpp, Source/UI/Chat/UIChatRoomTitle.cpp, ...
Batch #5514 by Yommy: 0 byte-identical, 4 confirmed by peer review.

- fn_10785 UIChatRoomTitle::Slot15: logic confirmed by peer review
- fn_10788 UIMerchantShopTitle::Slot15: logic confirmed by peer review
- fn_10789 UISlotBitmap::Slot15: logic confirmed by peer review
- fn_10792 UIAchBalloonText::Paint: logic confirmed by peer review

Peer-reviewed-by: willerthal, Snow, Qwenkler3.8, SapitoSucio
Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
2026-10-30 12:55:58 +00:00

42 lines
1.1 KiB
C++

#ifndef RAGNAROK_SOURCE_UI_UISTATICBITMAP_H
#define RAGNAROK_SOURCE_UI_UISTATICBITMAP_H
#include "UI/Window/UIWindow.h"
#include <string>
struct UIButtonContext;
class UIStaticBitmap : public UIWindow {
public:
UIStaticBitmap();
UIStaticBitmap(UIWindowContext& windows, UIButtonContext& controls);
~UIStaticBitmap() override;
void Paint() 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 Slot35(int value) override;
void SetBitmap(const char* name);
void SetTooltip(const char* text);
/* 007C */ std::string bitmap;
/* 0094 */ std::string tooltip;
/* 00AC */ int tooltipX;
/* 00B0 */ int tooltipY;
/* 00B4 */ int forwardHover;
protected:
UIButtonContext* m_controls;
};
#if defined(_WIN32) && !defined(_WIN64)
static_assert(sizeof(UIStaticBitmap) == 192);
#endif
#endif