CComponentsButton: fix transparecny of button icon

Background was black for some icons


Origin commit data
------------------
Branch: ni/coolstream
Commit: ff97b7d25f
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-01-04 (Mon, 04 Jan 2016)



------------------
This commit was generated by Migit
This commit is contained in:
2016-01-04 22:46:07 +01:00
committed by vanhofen
parent 4852414416
commit 57b65dd200

View File

@@ -150,7 +150,7 @@ void CComponentsButton::initIcon()
cc_btn_icon = frameBuffer->getIconBasePath() + "/" + cc_btn_icon + ".png";
cc_btn_icon_obj = new CComponentsPictureScalable(fr_thickness, y_icon, cc_btn_icon, this);
cc_btn_icon_obj->SetTransparent(CFrameBuffer::TM_BLACK);
int h_icon = cc_btn_icon_obj->getHeight();
//get required icon height