22 while (info.
next(
"Property"))
29 else if (key ==
"Size")
31 else if (key ==
"Texture")
33 else if (key ==
"Coord")
41 _image->
setImageInfo(mTexture, mTextureCoord, mTextureCoord.size());
46 _image->
setCoord(_point.
left - mPoint.left, _point.
top - mPoint.top, mSize.width, mSize.height);
widget description should be here.
void setImageInfo(std::string_view _texture, const IntCoord &_coord, const IntSize &_tile)
void deleteAllItems()
Delete all items.
void deserialization(xml::ElementPtr _node, Version _version) override
void setImage(ImageBox *_image) override
void setPosition(ImageBox *_image, const IntPoint &_point) override
bool findAttribute(std::string_view _name, std::string &_value)
ElementEnumerator getElementEnumerator()
types::TPoint< int > IntPoint
static TCoord< int > parse(std::string_view _value)
static TPoint< int > parse(std::string_view _value)
static TSize< int > parse(std::string_view _value)