CComponentsScrollBar: disable scrollbar color gradient

Was for testing only, now usual properties used.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 422f5872e4
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:
2016-10-12 10:08:18 +02:00
parent 8227b2d482
commit e160d121e6

View File

@@ -167,13 +167,17 @@ void CComponentsScrollBar::initSegments()
//set color for marked id
if (sb_mark_id == id){
item->setColorBody(COL_MENUCONTENTSELECTED_PLUS_0);
item->setColorBody(COL_SCROLLBAR_ACTIVE);
#if 0
item->enableColBodyGradient(CC_COLGRAD_COL_A_2_COL_B);
item->setColBodyGradient(CColorGradient::gradientDark2Light2Dark, CFrameBuffer::gradientHorizontal);
#endif
}
else{
item->setColorBody(COL_SCROLLBAR_PASSIVE_PLUS_0);
item->setColorBody(COL_SCROLLBAR_PASSIVE);
#if 0
item->disableColBodyGradient();
#endif
}
}