Files
UnleashedRecomp-hedge-dev/UnleashedRecomp/ui/message_window.h
Hyper df03a64305 Redirected Install button to custom implementation
This currently fades out and closes the game upon accepting the message, it does not yet reboot into the installer menu using --install-dlc.
2024-12-07 01:02:59 +00:00

16 lines
364 B
C++

#pragma once
#define MSG_OPEN (false)
#define MSG_CLOSED (true)
class MessageWindow
{
public:
inline static bool s_isVisible = false;
static void Init();
static void Draw();
static bool Open(std::string text, int* result, std::span<std::string> buttons = {}, int defaultButtonIndex = 0, int cancelButtonIndex = 1);
static void Close();
};