locales/fonts: add global window font

Origin commit data
------------------
Commit: a3dc9cce69
Author: Thilo Graf <dbt@novatux.de>
Date: 2018-04-11 (Wed, 11 Apr 2018)
This commit is contained in:
2018-04-11 23:58:14 +02:00
committed by vanhofen
parent 8867393d3a
commit 1a370532eb
6 changed files with 8 additions and 1 deletions

View File

@@ -819,6 +819,7 @@ fontsize.eventlist_itemlarge Groß
fontsize.eventlist_itemsmall Klein
fontsize.eventlist_title Titel
fontsize.filebrowser_item Dateibrowsereinträge
fontsize.general_window_text Allgemeiner Fenstertext
fontsize.hint Schriftart wird initialisiert,\nbitte warten ...
fontsize.infobar_channame Kanalname
fontsize.infobar_ecminfo ECM-Info

View File

@@ -819,6 +819,7 @@ fontsize.eventlist_itemlarge Large
fontsize.eventlist_itemsmall Small
fontsize.eventlist_title Title
fontsize.filebrowser_item Filebrowser items
fontsize.general_window_text General window text
fontsize.hint Initialising font,\nplease wait ...
fontsize.infobar_channame Channel name
fontsize.infobar_ecminfo ECM-Info

View File

@@ -176,6 +176,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
@@ -235,7 +236,8 @@ font_sizes_struct neutrino_font[SNeutrinoSettings::FONT_TYPE_COUNT] =
{LOCALE_FONTSIZE_MOVIEBROWSER_INFO , 16, CNeutrinoFonts::FONT_STYLE_REGULAR, 0}, //NI
{LOCALE_FONTSIZE_SUBTITLES , 25, CNeutrinoFonts::FONT_STYLE_BOLD , 0},
{LOCALE_FONTSIZE_MESSAGE_TEXT , 20, CNeutrinoFonts::FONT_STYLE_BOLD , 0}, //NI
{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

@@ -846,6 +846,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_ECMINFO,

View File

@@ -846,6 +846,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_ecminfo",

View File

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