1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-21 10:53:51 +00:00
openmw-tes3mp/apps/openmw/mwgui/messagebox.hpp
2011-06-14 18:29:55 +02:00

35 lines
835 B
C++

#ifndef MWGUI_MESSAGE_BOX_H
#define MWGUI_MESSAGE_BOX_H
#include <openengine/gui/layout.hpp>
#include <MyGUI.h>
#include "window_base.hpp"
namespace MWGui
{
class MessageBoxManager;
class MessageBox;
class MessageBoxManager
{
private:
std::vector<MessageBox*> mMessageBoxes;
public:
void createMessageBox (const std::string& message);
void createInteractiveMessageBox (const std::string& message, const std::vector<std::string>& buttons);
};
class MessageBox : public OEngine::GUI::Layout
{
public:
MessageBox(MessageBoxManager& parMessageBoxManager, const std::string& message);
void setMessage(const std::string& message);
protected:
MessageBoxManager& mMessageBoxManager;
};
}
#endif