Files
UnleashedRecomp-hedge-dev/UnleashedRecomp/ui/message_window.h
2024-12-06 18:10:46 +00:00

13 lines
310 B
C++

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