| 123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- #pragma once
- #include "BsEditorPrerequisites.h"
- #include "CmIReflectable.h"
- namespace BansheeEngine
- {
- class EditorWidgetLayout : public IReflectable
- {
- public:
- struct Entry
- {
- public:
- Entry();
- ~Entry();
- Vector<String> widgetNames;
- bool isDocked;
- INT32 x, y;
- UINT32 width, height;
- };
- private:
- struct PrivatelyConstruct {};
- public:
- EditorWidgetLayout(const DockManagerLayoutPtr& dockLayout);
- EditorWidgetLayout(const PrivatelyConstruct& dummy) { }
- Vector<Entry>& getEntries() { return mEntries; }
- const DockManagerLayoutPtr& getDockLayout() const { return mDockLayout; }
- private:
- Vector<Entry> mEntries;
- DockManagerLayoutPtr mDockLayout;
- /************************************************************************/
- /* RTTI */
- /************************************************************************/
- public:
- friend class EditorWidgetLayoutRTTI;
- static RTTITypeBase* getRTTIStatic();
- virtual RTTITypeBase* getRTTI() const;
- };
- }
|