mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-02 02:11:04 +02:00
CComponentsItem: fix changeing color on select switching of frames
expand select mode methodes with paremters for frame properties
This should make variables col_frame_sel and fr_thickness_sel superfluous.
Origin commit data
------------------
Branch: ni/coolstream
Commit: 3477e28cd7
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-08-20 (Sat, 20 Aug 2016)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -140,7 +140,7 @@ void CComponentsScrollBar::initSegments()
|
||||
//init segment container
|
||||
if (sb_segments_obj == NULL){
|
||||
sb_segments_obj = new CComponentsFrmChain(CC_CENTERED, CC_APPEND, w_seg, h_seg_obj, NULL, CC_DIR_Y, this, false);
|
||||
sb_segments_obj->setFrameThickness(0,0);
|
||||
sb_segments_obj->setFrameThickness(0/*,0*/);
|
||||
sb_segments_obj->setAppendOffset(0, 3);
|
||||
}else
|
||||
sb_segments_obj->setDimensionsAll(CC_CENTERED, CC_APPEND, w_seg, h_seg_obj);
|
||||
|
Reference in New Issue
Block a user