mirror of https://github.com/OpenMW/openmw.git
now, realy deleted needless code.
parent
84c19a90ad
commit
56dc9ffcf3
@ -1,25 +1,35 @@
|
||||
#ifndef MWGUI_MESSAGE_BOX_H
|
||||
#define MWGUI_MESSAGE_BOX_H
|
||||
|
||||
#include "window_base.hpp"
|
||||
#include <openengine/gui/layout.hpp>
|
||||
#include <MyGUI.h>
|
||||
|
||||
namespace MWGui
|
||||
{
|
||||
class WindowManager;
|
||||
}
|
||||
#include "window_base.hpp"
|
||||
|
||||
namespace MWGui
|
||||
{
|
||||
using namespace MyGUI;
|
||||
|
||||
class WindowManager;
|
||||
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
|
||||
|
Loading…
Reference in New Issue