UnleashedRecomp/UnleashedRecomp/ui/message_window.h
2024-12-13 14:51:13 +03:00

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();
};