7#ifndef MYGUI_LAYER_MANAGER_H_
8#define MYGUI_LAYER_MANAGER_H_
52 bool isExist(std::string_view _name)
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;
#define MYGUI_SINGLETON_DECLARATION(ClassName)
void detachFromLayer(Widget *_item)
void upLayerItem(Widget *_item)
ILayer * getLayer(size_t _index) const
const std::string & getCategoryName() const
LayerManager(const LayerManager &)=delete
EnumeratorLayer getEnumerator() const
size_t getLayerCount() const
ILayer * createLayerAt(std::string_view _name, std::string_view _type, size_t _index)
void renderToTarget(IRenderTarget *_target, bool _update)
std::vector< ILayer * > VectorLayer
ILayer * getByName(std::string_view _name, bool _throw=true) const
void resizeView(const IntSize &_viewSize)
void attachToLayerNode(std::string_view _name, Widget *_item)
Widget * getWidgetFromPoint(int _left, int _top) const
Enumerator< VectorLayer > EnumeratorLayer
bool isExist(std::string_view _name) const
types::TSize< int > IntSize