locales/fonts: add global window font

This commit is contained in:
2018-02-10 14:52:38 +01:00
parent 8dc0fc5268
commit c4bc6154d8
6 changed files with 8 additions and 1 deletions

View File

@@ -171,6 +171,7 @@ size_t moviebrowser_font_items = sizeof(moviebrowser_font_sizes)/sizeof(moviebro
const SNeutrinoSettings::FONT_TYPES other_font_sizes[] =
{
SNeutrinoSettings::FONT_TYPE_WINDOW_GENERAL,
SNeutrinoSettings::FONT_TYPE_SUBTITLES,
SNeutrinoSettings::FONT_TYPE_FILEBROWSER_ITEM,
SNeutrinoSettings::FONT_TYPE_BUTTON_TEXT
@@ -229,7 +230,8 @@ font_sizes_struct neutrino_font[SNeutrinoSettings::FONT_TYPE_COUNT] =
{LOCALE_FONTSIZE_MOVIEBROWSER_INFO , 17, CNeutrinoFonts::FONT_STYLE_REGULAR, 0},
{LOCALE_FONTSIZE_SUBTITLES , 25, CNeutrinoFonts::FONT_STYLE_BOLD , 0},
{LOCALE_FONTSIZE_MESSAGE_TEXT , 20, CNeutrinoFonts::FONT_STYLE_REGULAR, 1},
{LOCALE_FONTSIZE_BUTTON_TEXT , 14, CNeutrinoFonts::FONT_STYLE_REGULAR, 0}
{LOCALE_FONTSIZE_BUTTON_TEXT , 14, CNeutrinoFonts::FONT_STYLE_REGULAR, 0},
{LOCALE_FONTSIZE_GENERAL_WINDOW_TEXT, 20, CNeutrinoFonts::FONT_STYLE_REGULAR, 1}
};
int COsdSetup::exec(CMenuTarget* parent, const std::string &actionKey)

View File

@@ -771,6 +771,7 @@ typedef enum
LOCALE_FONTSIZE_EVENTLIST_ITEMSMALL,
LOCALE_FONTSIZE_EVENTLIST_TITLE,
LOCALE_FONTSIZE_FILEBROWSER_ITEM,
LOCALE_FONTSIZE_GENERAL_WINDOW_TEXT,
LOCALE_FONTSIZE_HINT,
LOCALE_FONTSIZE_INFOBAR_CHANNAME,
LOCALE_FONTSIZE_INFOBAR_INFO,

View File

@@ -771,6 +771,7 @@ const char * locale_real_names[] =
"fontsize.eventlist_itemsmall",
"fontsize.eventlist_title",
"fontsize.filebrowser_item",
"fontsize.general_window_text",
"fontsize.hint",
"fontsize.infobar_channame",
"fontsize.infobar_info",

View File

@@ -728,6 +728,7 @@ struct SNeutrinoSettings
FONT_TYPE_SUBTITLES,
FONT_TYPE_MESSAGE_TEXT,
FONT_TYPE_BUTTON_TEXT,
FONT_TYPE_WINDOW_GENERAL,
FONT_TYPE_COUNT
};