mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 07:51:19 +02:00
- cc_item_text: avoid using INFOBAR_SMALL font; use MENU_INFO instead
it's a small font too
This commit is contained in:
@@ -139,7 +139,7 @@ bool paintBoxRel0( const int& x,
|
|||||||
* @param[in] y position
|
* @param[in] y position
|
||||||
* @param[in] dx witdh
|
* @param[in] dx witdh
|
||||||
* @param[in] dy height
|
* @param[in] dy height
|
||||||
* @param[in] *font pointer to font type object, default = NULL, sets g_Font[SNeutrinoSettings::FONT_TYPE_INFOBAR_SMALL] as default font
|
* @param[in] *font pointer to font type object, default = NULL, sets g_Font[SNeutrinoSettings::FONT_TYPE_MENU_INFO] as default font
|
||||||
* @param[in] color_body color of box, default = COL_MENUCONTENT_PLUS_0
|
* @param[in] color_body color of box, default = COL_MENUCONTENT_PLUS_0
|
||||||
* @param[in] font_style font style
|
* @param[in] font_style font style
|
||||||
* @li CComponentsText::FONT_STYLE_REGULAR (default)
|
* @li CComponentsText::FONT_STYLE_REGULAR (default)
|
||||||
|
@@ -118,7 +118,7 @@ void CComponentsText::initCCText()
|
|||||||
{
|
{
|
||||||
//set default font, if is no font definied
|
//set default font, if is no font definied
|
||||||
if (ct_font == NULL)
|
if (ct_font == NULL)
|
||||||
ct_font = g_Font[SNeutrinoSettings::FONT_TYPE_INFOBAR_SMALL];
|
ct_font = g_Font[SNeutrinoSettings::FONT_TYPE_MENU_INFO];
|
||||||
|
|
||||||
//define height from font size
|
//define height from font size
|
||||||
height = max(height, ct_font->getHeight());
|
height = max(height, ct_font->getHeight());
|
||||||
|
Reference in New Issue
Block a user