mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 00:11:08 +02:00
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:
@@ -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
|
||||
|
Reference in New Issue
Block a user