From e160d121e69e23d42ff5acaf2e18683d0d161920 Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Wed, 12 Oct 2016 10:08:18 +0200 Subject: [PATCH] CComponentsScrollBar: disable scrollbar color gradient Was for testing only, now usual properties used. Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/422f5872e4eee3ac704b93229184b9ade0fa10e9 Author: Thilo Graf Date: 2016-10-12 (Wed, 12 Oct 2016) ------------------ This commit was generated by Migit --- src/gui/components/cc_frm_scrollbar.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/gui/components/cc_frm_scrollbar.cpp b/src/gui/components/cc_frm_scrollbar.cpp index 85e6ffb65..953892245 100644 --- a/src/gui/components/cc_frm_scrollbar.cpp +++ b/src/gui/components/cc_frm_scrollbar.cpp @@ -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 } }