mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 01:11:12 +02:00
- add and use FRAME_WIDTH defines; ...
replace other fixed frame widths with OFFSET defines Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -155,7 +155,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);
|
||||
sb_segments_obj->setFrameThickness(FRAME_WIDTH_NONE);
|
||||
}else
|
||||
sb_segments_obj->setDimensionsAll(CC_CENTERED, CC_APPEND, w_seg, h_seg_obj);
|
||||
|
||||
|
@@ -450,7 +450,7 @@ void CProgressBar::paintProgress(bool do_save_bg)
|
||||
pb_green /= sum;
|
||||
|
||||
if (*pb_gradient)
|
||||
setFrameThickness(0);
|
||||
setFrameThickness(FRAME_WIDTH_NONE);
|
||||
|
||||
initDimensions();
|
||||
|
||||
|
Reference in New Issue
Block a user