mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-02 18:31:12 +02:00
CComponentsScrollBar: fix trasnparent background arrow icons
parameter was disabled
Origin commit data
------------------
Branch: ni/coolstream
Commit: 7b334f8883
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-10-12 (Wed, 12 Oct 2016)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -111,6 +111,7 @@ void CComponentsScrollBar::initTopNaviIcon()
|
|||||||
//initialize icon object
|
//initialize icon object
|
||||||
if (sb_up_obj == NULL){
|
if (sb_up_obj == NULL){
|
||||||
sb_up_obj = new CComponentsPicture(CC_CENTERED, fr_thickness, sb_up_icon, this);
|
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->doPaintBg(false);
|
||||||
}
|
}
|
||||||
sb_up_obj->setWidth(width-2*fr_thickness);
|
sb_up_obj->setWidth(width-2*fr_thickness);
|
||||||
@@ -121,6 +122,7 @@ void CComponentsScrollBar::initBottomNaviIcon()
|
|||||||
//initialize icon object
|
//initialize icon object
|
||||||
if (sb_down_obj == NULL){
|
if (sb_down_obj == NULL){
|
||||||
sb_down_obj = new CComponentsPicture(CC_CENTERED, CC_APPEND, sb_down_icon, this);
|
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->doPaintBg(false);
|
||||||
}
|
}
|
||||||
sb_down_obj->setWidth(width-2*fr_thickness);
|
sb_down_obj->setWidth(width-2*fr_thickness);
|
||||||
|
Reference in New Issue
Block a user