BsEditorWindow.h 538 B

1234567891011121314151617181920212223242526272829
  1. #pragma once
  2. #include "BsEditorPrerequisites.h"
  3. #include "BsEditorWindowBase.h"
  4. namespace BansheeEngine
  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 resized();
  16. private:
  17. EditorWidgetContainer* mWidgets;
  18. void updateSize();
  19. void widgetRemoved();
  20. void closeWindowDelayed();
  21. };
  22. }