CComponentsScrollBar: overwrite default corner type

Rounded corners are in mostly cases not required, because of
possible pixel errors if scrollbars are used as embedded standalone part and is
generated with external method paintScrollBar().


Origin commit data
------------------
Commit: cdf0123bea
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-05-30 (Tue, 30 May 2017)
This commit is contained in:
2017-05-30 01:24:21 +02:00
parent 8b6b7c854b
commit 0f3b5e5eaf

View File

@@ -94,7 +94,7 @@ void CComponentsScrollBar::initVarSbForm(const int& count, const fb_pixel_t& col
sb_down_obj = NULL;
sb_segments_obj = NULL;
setCorner(RADIUS_MIN, CORNER_ALL);
corner_type = CORNER_NONE;
sb_up_icon = frameBuffer->getIconPath(NEUTRINO_ICON_BUTTON_UP) ;
sb_down_icon = frameBuffer->getIconPath(NEUTRINO_ICON_BUTTON_DOWN);