21 while (info.
next(
"Property"))
28 else if (key ==
"Size")
30 else if (key ==
"Resource")
37 if (mImageSet !=
nullptr)
43 _image->
setCoord(_point.
left - mPoint.left, _point.
top - mPoint.top, mSize.width, mSize.height);
Type * castType(bool _throw=true)
widget description should be here.
void setItemResourceInfo(const ImageIndexInfo &_info)
void setPosition(ImageBox *_image, const IntPoint &_point) override
void deserialization(xml::ElementPtr _node, Version _version) override
void setImage(ImageBox *_image) override
IResource * getByName(std::string_view _name, bool _throw=true) const
static ResourceManager & getInstance()
bool findAttribute(std::string_view _name, std::string &_value)
ElementEnumerator getElementEnumerator()
types::TPoint< int > IntPoint
static TPoint< int > parse(std::string_view _value)
static TSize< int > parse(std::string_view _value)