From c1517e2cef194b26e32b9aa44761a07e91468dcb Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Wed, 3 Feb 2016 12:19:49 +0100 Subject: [PATCH] CComponentsPicture: add member to get current image name Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/65fe634e85d10022161e9de0005149396ac82ce8 Author: Thilo Graf Date: 2016-02-03 (Wed, 03 Feb 2016) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/gui/components/cc_item_picture.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gui/components/cc_item_picture.h b/src/gui/components/cc_item_picture.h index a1865bcef..5a790d056 100644 --- a/src/gui/components/cc_item_picture.h +++ b/src/gui/components/cc_item_picture.h @@ -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);