40 void attachToLayerNode(std::string_view _name,
Widget* _item);
44 void detachFromLayer(
Widget* _item);
49 void upLayerItem(
Widget* _item);
52 bool isExist(std::string_view _name)
const;
61 ILayer* createLayerAt(std::string_view _name, std::string_view _type,
size_t _index);
64 ILayer* getByName(std::string_view _name,
bool _throw =
true)
const;
66 size_t getLayerCount()
const;
68 ILayer* getLayer(
size_t _index)
const;
71 Widget* getWidgetFromPoint(
int _left,
int _top)
const;
76 void resizeView(
const IntSize& _viewSize);
78 const std::string& getCategoryName()
const;
82 void _unlinkWidget(
Widget* _widget)
override;
84 ILayer* _createLayerObject(std::string_view _type);
89 void destroy(
ILayer* _layer);
94 bool mIsInitialise{
false};
95 std::string mCategoryName;