| 12345678910111213141516171819202122232425262728293031 |
- #pragma once
- #include "BsEditorPrerequisites.h"
- #include "BsEditorWindowBase.h"
- namespace BansheeEngine
- {
- class EditorWindow : public EditorWindowBase
- {
- public:
- virtual ~EditorWindow();
- EditorWidgetContainer& widgets() const { return *mWidgets; }
- virtual void update();
- static EditorWindow* create();
- protected:
- friend class EditorWindowManager;
- EditorWindow();
- virtual void resized();
- private:
- EditorWidgetContainer* mWidgets;
- void updateSize();
- void widgetRemoved();
- void closeWindowDelayed();
- };
- }
|