CComponentsPicture: add member to get current image name

This commit is contained in:
2016-02-03 12:19:49 +01:00
parent 4d1780486d
commit 65fe634e85

View File

@@ -136,6 +136,8 @@ class CComponentsPicture : public CComponentsItem
virtual void setPicture(const std::string& picture_name);
///sets an image name (unscaled icons only), full image path or url to an image file
virtual void setPicture(const char* picture_name);
///returns current assigned image name
std::string getPictureName(){return pic_name;}
///handle image size
virtual void getSize(int* width_image, int *height_image);