From cc7735250248814691a21d299b04f06370a77926 Mon Sep 17 00:00:00 2001 From: vanhofen Date: Sat, 14 Jun 2025 00:06:43 +0200 Subject: [PATCH] deactivate f2bdac723c838bd69f63d53c19613c31c3fdeeec to "fix" cst build Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/9374e1287faaf79ac0b707a1e96a74b9841ffb16 Author: vanhofen Date: 2025-06-14 (Sat, 14 Jun 2025) Origin message was: ------------------ - deactivate f2bdac723c838bd69f63d53c19613c31c3fdeeec to "fix" cst build ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/gui/components/cc_item_picture.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/gui/components/cc_item_picture.h b/src/gui/components/cc_item_picture.h index 9df113e20..8bdd3e088 100644 --- a/src/gui/components/cc_item_picture.h +++ b/src/gui/components/cc_item_picture.h @@ -69,9 +69,11 @@ class CCPicture : public CComponentsShapeSquare void SetTransparent(const int &mode) {setBodyBGImageTranparencyMode(mode);} +#if 0 ///import base class methods for width and height to avoid -Woverloaded-virtual using CCDraw::setWidth; using CCDraw::setHeight; +#endif ///set width of object, keep_aspect = true keeps ratio related to height void setWidth(const int &w, bool keep_aspect = true); @@ -285,9 +287,11 @@ class CComponentsPicture : public CComponentsForm */ void SetTransparent(const int &mode); +#if 0 //import base class methods for width and height to avoid -Woverloaded-virtual using CCDraw::setWidth; using CCDraw::setHeight; +#endif /*! Sets width of object, keep_aspect = true keeps ratio related to height