mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-09 22:58:28 +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:
@@ -269,7 +269,7 @@ void CMenuItem::paintItemCaption(const bool select_mode, const char * right_text
|
||||
right_frame_col = COL_MENUCONTENTINACTIVE_TEXT;
|
||||
}
|
||||
CComponentsShapeSquare col(stringstartposOption, y + OFFSET_INNER_SMALL, dx - stringstartposOption + x - OFFSET_INNER_MID, item_height - 2*OFFSET_INNER_SMALL, NULL, false, right_frame_col, right_bg_col);
|
||||
col.setFrameThickness(1); //NI
|
||||
col.setFrameThickness(FRAME_WIDTH_MIN);
|
||||
col.setCorner(RADIUS_SMALL);
|
||||
col.paint(false);
|
||||
}
|
||||
@@ -1549,7 +1549,7 @@ void CMenuWidget::paintHint(int pos)
|
||||
info_box = new CComponentsInfoBox();
|
||||
|
||||
info_box->setDimensionsAll(x, ypos2, iwidth, hint_height);
|
||||
info_box->setFrameThickness(1); //NI
|
||||
info_box->setFrameThickness(FRAME_WIDTH_MIN);
|
||||
//NI info_box->removeLineBreaks(str);
|
||||
info_box->setText(str, CTextBox::AUTO_WIDTH, g_Font[SNeutrinoSettings::FONT_TYPE_MENU_HINT], COL_MENUCONTENT_TEXT);
|
||||
info_box->setCorner(rad);
|
||||
|
Reference in New Issue
Block a user