CComponentsButton: fix transparecny of button icon

Background was black for some icons


Origin commit data
------------------
Commit: ff97b7d25f
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-01-04 (Mon, 04 Jan 2016)
This commit is contained in:
2016-01-04 22:46:07 +01:00
committed by vanhofen
parent eb44b190e3
commit fc98fbf7bd

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