mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 16:31:05 +02:00
add and use FRAME_WIDTH defines; ...
replace other fixed frame widths with OFFSET defines
Origin commit data
------------------
Branch: ni/coolstream
Commit: 6d58a3b1c9
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-09-20 (Wed, 20 Sep 2017)
Origin message was:
------------------
- add and use FRAME_WIDTH defines; ...
replace other fixed frame widths with OFFSET defines
------------------
This commit was generated by Migit
This commit is contained in:
@@ -368,7 +368,7 @@ void CInfoViewer::showRecordIcon (const bool show)
|
||||
{
|
||||
if (rec == NULL){ //TODO: full refactoring of this icon handler
|
||||
rec = new CComponentsShapeSquare(box_x, box_y , box_w, box_h, NULL, CC_SHADOW_ON, COL_RED, COL_INFOBAR_PLUS_0);
|
||||
rec->setFrameThickness(0); //NI
|
||||
rec->setFrameThickness(FRAME_WIDTH_NONE);
|
||||
rec->setShadowWidth(OFFSET_SHADOW/2);
|
||||
rec->setCorner(RADIUS_MIN, CORNER_ALL);
|
||||
}
|
||||
|
Reference in New Issue
Block a user