From cc9721b96cb2b60f99d9345bc969a5ef8069684a Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Thu, 17 Mar 2016 10:49:35 +0100 Subject: [PATCH] CComponentsScrollBar: fix missed navi arrows Paths were broken comes in with e9d0710b7cf7f91612e145e1be2eb8df99ee7a59 Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/c07f9994761406e495fb58778399b14720156678 Author: Thilo Graf Date: 2016-03-17 (Thu, 17 Mar 2016) ------------------ This commit was generated by Migit --- src/gui/components/cc_frm_scrollbar.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/gui/components/cc_frm_scrollbar.cpp b/src/gui/components/cc_frm_scrollbar.cpp index 309f6be95..62dc7cffc 100644 --- a/src/gui/components/cc_frm_scrollbar.cpp +++ b/src/gui/components/cc_frm_scrollbar.cpp @@ -80,9 +80,8 @@ void CComponentsScrollBar::initVarSbForm(const int& count) sb_up_obj = sb_down_obj = NULL; sb_segments_obj = NULL; - string ftype = ".png"; - sb_up_icon = NEUTRINO_ICON_BUTTON_TOP + ftype; - sb_down_icon = NEUTRINO_ICON_BUTTON_DOWN + ftype; + sb_up_icon = frameBuffer->getIconPath(NEUTRINO_ICON_BUTTON_TOP) ; + sb_down_icon = frameBuffer->getIconPath(NEUTRINO_ICON_BUTTON_DOWN); sb_segments_count = count; sb_mark_id = 0;