mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-02 10:21:10 +02:00
CComponentsPicture: add member to get current image name
This commit is contained in:
@@ -136,6 +136,8 @@ class CComponentsPicture : public CComponentsItem
|
|||||||
virtual void setPicture(const std::string& picture_name);
|
virtual void setPicture(const std::string& picture_name);
|
||||||
///sets an image name (unscaled icons only), full image path or url to an image file
|
///sets an image name (unscaled icons only), full image path or url to an image file
|
||||||
virtual void setPicture(const char* picture_name);
|
virtual void setPicture(const char* picture_name);
|
||||||
|
///returns current assigned image name
|
||||||
|
std::string getPictureName(){return pic_name;}
|
||||||
|
|
||||||
///handle image size
|
///handle image size
|
||||||
virtual void getSize(int* width_image, int *height_image);
|
virtual void getSize(int* width_image, int *height_image);
|
||||||
|
Reference in New Issue
Block a user