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