diff --git a/data/locale/deutsch.locale b/data/locale/deutsch.locale index ff083e9a7..3bbd0658b 100644 --- a/data/locale/deutsch.locale +++ b/data/locale/deutsch.locale @@ -1736,6 +1736,7 @@ settings.pos_bottom_center unten zentriert settings.pos_bottom_left unten links settings.pos_bottom_right unten rechts settings.pos_default_center zentriert +settings.pos_higher_center höher zentriert settings.pos_top_center oben zentriert settings.pos_top_left oben links settings.pos_top_right oben rechts diff --git a/data/locale/english.locale b/data/locale/english.locale index 9908a4495..1e7c25a81 100644 --- a/data/locale/english.locale +++ b/data/locale/english.locale @@ -1736,6 +1736,7 @@ settings.pos_bottom_center bottom center settings.pos_bottom_left bottom left settings.pos_bottom_right bottom right settings.pos_default_center center +settings.pos_higher_center higher center settings.pos_top_center top center settings.pos_top_left top left settings.pos_top_right top right diff --git a/src/gui/osd_setup.cpp b/src/gui/osd_setup.cpp index 1f00e23f1..d85eaf9f0 100644 --- a/src/gui/osd_setup.cpp +++ b/src/gui/osd_setup.cpp @@ -332,7 +332,7 @@ const CMenuOptionChooser::keyval INFOBAR_SUBCHAN_DISP_POS_OPTIONS[INFOBAR_SUBCH { 4 , LOCALE_INFOVIEWER_SUBCHAN_INFOBAR } }; -#define VOLUMEBAR_DISP_POS_OPTIONS_COUNT 6 +#define VOLUMEBAR_DISP_POS_OPTIONS_COUNT 7 const CMenuOptionChooser::keyval VOLUMEBAR_DISP_POS_OPTIONS[VOLUMEBAR_DISP_POS_OPTIONS_COUNT]= { { 0 , LOCALE_SETTINGS_POS_TOP_RIGHT }, @@ -340,7 +340,8 @@ const CMenuOptionChooser::keyval VOLUMEBAR_DISP_POS_OPTIONS[VOLUMEBAR_DISP_POS_ { 2 , LOCALE_SETTINGS_POS_BOTTOM_LEFT }, { 3 , LOCALE_SETTINGS_POS_BOTTOM_RIGHT }, { 4 , LOCALE_SETTINGS_POS_TOP_CENTER }, - { 5 , LOCALE_SETTINGS_POS_BOTTOM_CENTER } + { 5 , LOCALE_SETTINGS_POS_BOTTOM_CENTER }, + { 6 , LOCALE_SETTINGS_POS_HIGHER_CENTER } }; #define MENU_DISP_POS_OPTIONS_COUNT 5 diff --git a/src/gui/volumebar.cpp b/src/gui/volumebar.cpp index 7c39c9588..67d849d51 100644 --- a/src/gui/volumebar.cpp +++ b/src/gui/volumebar.cpp @@ -148,6 +148,10 @@ void CVolumeBar::initVolumeBarPosition() x = ((sw - width) / 2) + x - h_spacer/2; y = (sh + frameBuffer->getScreenY()) - height - v_spacer; break; + case 6:// higher center + x = ((sw - width) / 2) + x - h_spacer/2; + y = (sh + frameBuffer->getScreenY()) - sh/10; + break; } } diff --git a/src/system/locals.h b/src/system/locals.h index c0c83271c..3ca5ec115 100644 --- a/src/system/locals.h +++ b/src/system/locals.h @@ -1763,6 +1763,7 @@ typedef enum LOCALE_SETTINGS_POS_BOTTOM_LEFT, LOCALE_SETTINGS_POS_BOTTOM_RIGHT, LOCALE_SETTINGS_POS_DEFAULT_CENTER, + LOCALE_SETTINGS_POS_HIGHER_CENTER, LOCALE_SETTINGS_POS_TOP_CENTER, LOCALE_SETTINGS_POS_TOP_LEFT, LOCALE_SETTINGS_POS_TOP_RIGHT, diff --git a/src/system/locals_intern.h b/src/system/locals_intern.h index f3fba11cc..5499fe2c4 100644 --- a/src/system/locals_intern.h +++ b/src/system/locals_intern.h @@ -1763,6 +1763,7 @@ const char * locale_real_names[] = "settings.pos_bottom_left", "settings.pos_bottom_right", "settings.pos_default_center", + "settings.pos_higher_center", "settings.pos_top_center", "settings.pos_top_left", "settings.pos_top_right",