rodecomp/Source/UI/Window/UIMessageBox.h
ragnarok-clanker 14a432d922 Maintenance: [forced, user-approved] Family F3: remove WindowDialogs, WindowResponseRecorder, UIMessageBoxContext, UIEntryQueueContex
Batch #10232 by ragnarok-clanker: forced by an admin (22 lower score(s), 263 changed function(s)); checked with 562 compiled unit(s), including every includer of Source/Client/Mode/CLoginMode.h, Source/Client/ReplayPacketRecorder.h, Source/Client/Session.h, Source/Contents/NavigationManager.h, Source/UI/Acceptance/UIJoinPartyAcceptWnd.h, Source/UI/EntryQueue/UIEntryQueueWnd.h, Source/UI/Guild/UIAgitWnd.h, Source/UI/Item/UIParaItemShopWnd.h, Source/UI/Items/UIItemRepairWnd.h, Source/UI/Items/UIMakeTargetListWnd.h, Source/UI/Items/UIMakeTargetProcessWnd.h, Source/UI/Items/UIWeaponRefineWnd.h, Source/UI/Window/UIHomunInfoWnd.h, Source/UI/Window/UIMerInfoWnd.h, Source/UI/Window/UIMessageBox.h, Source/UI/Window/UINavigationWnd.h, Source/UI/Window/UIPayConfirmWnd.h, Source/UI/Window/UIPetInfoWnd.h, Source/UI/Window/UIShowWarpWnd.h, Source/UI/Window/UIWindow.h, Source/UI/Window/UIWindowMgr.h, Source/UI/Window/WindowDialogs.h.
2026-11-03 10:23:36 +00:00

45 lines
1.2 KiB
C++

#ifndef RAGNAROK_SOURCE_UI_WINDOW_UIMESSAGEBOX_H
#define RAGNAROK_SOURCE_UI_WINDOW_UIMESSAGEBOX_H
#include "UI/Window/UIFrameWnd.h"
#include <string>
class UITextViewer;
class UIWindowMgr;
class UIMessageBox : public UIFrameWnd {
public:
UIMessageBox();
~UIMessageBox() override;
void Slot18() override;
void Slot19() override;
void Paint() override;
int SendMsg(UIWindow* sender, int message, std::intptr_t a, std::intptr_t b, std::intptr_t c, std::intptr_t d) override;
void Configure(const char* text, int type, bool defaultAccept, int timeout, const char* caption, int width, int height, int modal, const char* icon);
/* 00B4 */ UITextViewer* viewer;
/* 00B8 */ int unknown_00B8;
/* 00BC */ int counting;
/* 00C0 */ std::uint32_t started;
/* 00C4 */ std::uint32_t deadline;
/* 00C8 */ int unknown_00C8;
/* 00CC */ std::uint32_t remaining;
/* 00D0 */ std::string format;
/* 00E8 */ std::string messageText;
/* 0100 */ std::string caption;
/* 0118 */ int modal;
/* 011C */ unsigned char protectedMessage;
private:
void* unknown_dialog;
void AddButton(const char* name, int id, int x, int y);
void FormatCountdown();
};
#if defined(_WIN32) && !defined(_WIN64)
static_assert(sizeof(UIMessageBox) == 300);
#endif
#endif