mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 15:32:52 +02:00
glcdsetup: fix logo/channel menu item dependencies
Origin commit data
------------------
Commit: 81888d58c7
Author: vanhofen <vanhofen@gmx.de>
Date: 2020-06-25 (Thu, 25 Jun 2020)
Origin message was:
------------------
- glcdsetup: fix logo/channel menu item dependencies
This commit is contained in:
@@ -438,23 +438,22 @@ void GLCD_Menu::GLCD_Theme_Position_Settings()
|
||||
sigc::slot0<void> slot_repaint = sigc::mem_fun(m, &CMenuWidget::paint); //we want to repaint after changed Option
|
||||
|
||||
m.addItem(new CMenuOptionNumberChooser(LOCALE_GLCD_SIZE_CHANNEL,
|
||||
&t.glcd_percent_channel, true, 0, 100, this));
|
||||
&t.glcd_percent_channel, !g_settings.glcd_show_logo, 0, 100, this));
|
||||
m.addItem(new CMenuOptionChooser(LOCALE_GLCD_ALIGN_CHANNEL, &t.glcd_align_channel,
|
||||
ONOFFPRI_OPTIONS, ONOFFPRI_OPTION_COUNT, true, NULL));
|
||||
ONOFFPRI_OPTIONS, ONOFFPRI_OPTION_COUNT, !g_settings.glcd_show_logo, NULL));
|
||||
m.addItem(new CMenuOptionNumberChooser(LOCALE_GLCD_CHANNEL_X_POSITION,
|
||||
&t.glcd_channel_x_position, true, 0, 500, this));
|
||||
&t.glcd_channel_x_position, !g_settings.glcd_show_logo, 0, 500, this));
|
||||
m.addItem(new CMenuOptionNumberChooser(LOCALE_GLCD_CHANNEL_Y_POSITION,
|
||||
&t.glcd_channel_y_position, true, 0, 500, this));
|
||||
&t.glcd_channel_y_position, !g_settings.glcd_show_logo, 0, 500, this));
|
||||
|
||||
m.addItem(GenericMenuSeparatorLine);
|
||||
|
||||
|
||||
m.addItem(new CMenuOptionNumberChooser(LOCALE_GLCD_SIZE_LOGO,
|
||||
&t.glcd_percent_logo, true, 0, 100, this));
|
||||
&t.glcd_percent_logo, g_settings.glcd_show_logo, 0, 100, this));
|
||||
m.addItem(new CMenuOptionNumberChooser(LOCALE_GLCD_LOGO_X_POSITION,
|
||||
&t.glcd_logo_x_position, true, 0, 500, this));
|
||||
&t.glcd_logo_x_position, g_settings.glcd_show_logo, 0, 500, this));
|
||||
m.addItem(new CMenuOptionNumberChooser(LOCALE_GLCD_LOGO_Y_POSITION,
|
||||
&t.glcd_logo_y_position, true, 0, 500, this));
|
||||
&t.glcd_logo_y_position, g_settings.glcd_show_logo, 0, 500, this));
|
||||
|
||||
m.addItem(GenericMenuSeparatorLine);
|
||||
|
||||
|
Reference in New Issue
Block a user