mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2025-12-22 16:02:19 +00:00
15 lines
364 B
C++
15 lines
364 B
C++
#pragma once
|
|
|
|
#define MSG_OPEN (false)
|
|
#define MSG_CLOSED (true)
|
|
|
|
class MessageWindow
|
|
{
|
|
public:
|
|
static inline 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();
|
|
};
|