From baff6429933feea3a987cb4489c740a0a14d69bd Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Fri, 27 Dec 2019 15:07:09 +0100 Subject: [PATCH] cc_item_infobox: add signal OnAfterPaintInfo --- src/gui/components/cc_item_infobox.cpp | 2 ++ src/gui/components/cc_item_infobox.h | 1 + 2 files changed, 3 insertions(+) diff --git a/src/gui/components/cc_item_infobox.cpp b/src/gui/components/cc_item_infobox.cpp index 83101c483..065e7e91e 100644 --- a/src/gui/components/cc_item_infobox.cpp +++ b/src/gui/components/cc_item_infobox.cpp @@ -178,4 +178,6 @@ void CComponentsInfoBox::paint(const bool &do_save_bg) //paint, but set visibility mode cctext->allowPaint(cc_allow_paint); cctext->paint(CC_SAVE_SCREEN_NO); + + OnAfterPaintInfo(); } diff --git a/src/gui/components/cc_item_infobox.h b/src/gui/components/cc_item_infobox.h index 7733615a5..e05a4d233 100644 --- a/src/gui/components/cc_item_infobox.h +++ b/src/gui/components/cc_item_infobox.h @@ -89,6 +89,7 @@ class CComponentsInfoBox : public CComponentsText CComponentsPicture * getPictureObject(){return pic;} ///paint item void paint(const bool &do_save_bg = CC_SAVE_SCREEN_YES); + sigc::signal OnAfterPaintInfo; }; #endif