From 0d2c612adb72595b27cf9a9106e6bc1931433da7 Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Mon, 21 Nov 2016 10:44:27 +0100 Subject: [PATCH] CComponentsInfoBox: add methode to get internal picture object --- src/gui/components/cc_item_infobox.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gui/components/cc_item_infobox.h b/src/gui/components/cc_item_infobox.h index d8f2345c5..f82eab80e 100644 --- a/src/gui/components/cc_item_infobox.h +++ b/src/gui/components/cc_item_infobox.h @@ -83,6 +83,8 @@ class CComponentsInfoBox : public CComponentsText void setPicture(const std::string& picture_name); ///set property: path or name of displayed image, parameter as const char* void setPicture(const char* picture_name); + ///retur internal picture object + CComponentsPicture * getPictureObject(){return pic;} ///paint item void paint(bool do_save_bg = CC_SAVE_SCREEN_YES); };