mirror of
https://github.com/GabsPuNs/Project-Zenith-Main.git
synced 2026-07-09 23:18:30 +00:00
40 lines
991 B
C++
40 lines
991 B
C++
#pragma once
|
|
|
|
#pragma push_macro("byte")
|
|
#pragma push_macro("GetNextSibling")
|
|
#pragma push_macro("GetFirstChild")
|
|
#undef byte
|
|
#undef GetNextSibling
|
|
#undef GetFirstChild
|
|
|
|
#include "UIScene_RmlBase.h"
|
|
|
|
class UIScene_MessageBox : public UIScene_RmlBase
|
|
{
|
|
public:
|
|
UIScene_MessageBox(int iPad, void *initData, UILayer *parentLayer);
|
|
virtual ~UIScene_MessageBox();
|
|
|
|
EUIScene getSceneType() override { return eUIScene_MessageBox; }
|
|
|
|
bool hidesLowerScenes() override { return false; }
|
|
bool blocksInput() override { return true; }
|
|
|
|
void handleInput(int iPad, int key, bool repeat, bool pressed, bool released, bool &handled) override;
|
|
bool hasFocus(int iPad) override;
|
|
|
|
void ProcessEvent(Rml::Event& event) override;
|
|
|
|
private:
|
|
void OnButtonClicked(int buttonIndex);
|
|
void navigateBack();
|
|
|
|
int m_buttonCount;
|
|
int(*m_Func)(LPVOID, int, const C4JStorage::EMessageResult);
|
|
LPVOID m_lpParam;
|
|
};
|
|
|
|
#pragma pop_macro("GetFirstChild")
|
|
#pragma pop_macro("GetNextSibling")
|
|
#pragma pop_macro("byte")
|