BsEditorWindow.h 493 B

123456789101112131415161718192021222324252627
  1. #pragma once
  2. #include "BsEditorPrerequisites.h"
  3. #include "BsEditorWindowBase.h"
  4. namespace BansheeEditor
  5. {
  6. class EditorWindow : public EditorWindowBase
  7. {
  8. public:
  9. virtual ~EditorWindow();
  10. EditorWidgetContainer& widgets() const { return *mWidgets; }
  11. static EditorWindow* create();
  12. protected:
  13. friend class EditorWindowManager;
  14. EditorWindow();
  15. virtual void movedOrResized();
  16. private:
  17. EditorWidgetContainer* mWidgets;
  18. void widgetRemoved();
  19. };
  20. }