metaforce/Runtime/GuiSys/CErrorOutputWindow.hpp

29 lines
600 B
C++

#pragma once
#include "Runtime/CIOWin.hpp"
#include "Runtime/RetroTypes.hpp"
namespace metaforce {
class CErrorOutputWindow : public CIOWin {
public:
enum class State { Zero, One, Two };
private:
State x14_state = State::Zero;
bool x18_24_;
bool x18_25_;
bool x18_26_;
bool x18_27_;
bool x18_28_;
const wchar_t* x1c_msg;
public:
explicit CErrorOutputWindow(bool);
EMessageReturn OnMessage(const CArchitectureMessage&, CArchitectureQueue&) override;
bool GetIsContinueDraw() const override { return int(x14_state) < 2; }
void Draw() override;
};
} // namespace metaforce