From 7b334f888305cce1493cc2d4b964b2793d6fd02d Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Wed, 12 Oct 2016 09:42:46 +0200 Subject: [PATCH] CComponentsScrollBar: fix trasnparent background arrow icons parameter was disabled --- src/gui/components/cc_frm_scrollbar.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gui/components/cc_frm_scrollbar.cpp b/src/gui/components/cc_frm_scrollbar.cpp index a73cca5ca..85e6ffb65 100644 --- a/src/gui/components/cc_frm_scrollbar.cpp +++ b/src/gui/components/cc_frm_scrollbar.cpp @@ -111,6 +111,7 @@ void CComponentsScrollBar::initTopNaviIcon() //initialize icon object if (sb_up_obj == NULL){ sb_up_obj = new CComponentsPicture(CC_CENTERED, fr_thickness, sb_up_icon, this); + sb_up_obj->SetTransparent(CFrameBuffer::TM_BLACK); sb_up_obj->doPaintBg(false); } sb_up_obj->setWidth(width-2*fr_thickness); @@ -121,6 +122,7 @@ void CComponentsScrollBar::initBottomNaviIcon() //initialize icon object if (sb_down_obj == NULL){ sb_down_obj = new CComponentsPicture(CC_CENTERED, CC_APPEND, sb_down_icon, this); + sb_down_obj->SetTransparent(CFrameBuffer::TM_BLACK); sb_down_obj->doPaintBg(false); } sb_down_obj->setWidth(width-2*fr_thickness);