1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-16 17:19:56 +00:00
openmw-tes3mp/apps/openmw/mwgui/window_base.hpp

33 lines
682 B
C++
Raw Normal View History

2010-11-06 10:25:16 +00:00
#ifndef MWGUI_WINDOW_BASE_H
#define MWGUI_WINDOW_BASE_H
#include <openengine/gui/layout.hpp>
namespace MWGui
{
class WindowManager;
2010-11-06 10:25:16 +00:00
class WindowBase: public OEngine::GUI::Layout
{
public:
WindowBase(const std::string& parLayout, WindowManager& parWindowManager);
2010-11-06 10:25:16 +00:00
// Events
typedef MyGUI::delegates::CMultiDelegate1<WindowBase*> EventHandle_WindowBase;
2010-11-06 10:25:16 +00:00
virtual void open();
void center();
/** Event : Dialog finished, OK button clicked.\n
signature : void method()\n
*/
EventHandle_WindowBase eventDone;
2010-11-06 10:25:16 +00:00
protected:
WindowManager& mWindowManager;
2010-11-06 10:25:16 +00:00
};
}
#endif