CComponentsScrollBar: disable scrollbar color gradient

Was for testing only, now usual properties used.
This commit is contained in:
2016-10-12 10:08:18 +02:00
parent 7b334f8883
commit 422f5872e4

View File

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