- glcdthemes: add very simple defaults; should work on every display

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
svenhoefer
2020-07-14 21:57:53 +02:00
committed by Thilo Graf
parent 39caf20758
commit 33745220b9

View File

@@ -365,18 +365,18 @@ void CGLCDThemes::getTheme(CConfigFile &configfile)
t.glcd_background_color_blue = configfile.getInt32("glcd_background_color_blue", 0x00);
t.glcd_background_image = configfile.getString("glcd_background_image", "");
t.glcd_font = configfile.getString("glcd_font", "");
t.glcd_channel_percent = configfile.getInt32("glcd_channel_percent", 0);
t.glcd_channel_align = configfile.getInt32("glcd_channel_align", 0);
t.glcd_channel_percent = configfile.getInt32("glcd_channel_percent", 25);
t.glcd_channel_align = configfile.getInt32("glcd_channel_align", 2);
t.glcd_channel_x_position = configfile.getInt32("glcd_channel_x_position", 0);
t.glcd_channel_y_position = configfile.getInt32("glcd_channel_y_position", 0);
t.glcd_channel_y_position = configfile.getInt32("glcd_channel_y_position", 60);
t.glcd_logo = configfile.getBool("glcd_logo", true);
t.glcd_logo_percent = configfile.getInt32("glcd_logo_percent", 0);
t.glcd_logo_percent = configfile.getInt32("glcd_logo_percent", 25);
t.glcd_logo_x_position = configfile.getInt32("glcd_logo_x_position", 0);
t.glcd_logo_y_position = configfile.getInt32("glcd_logo_y_position", 0);
t.glcd_epg_percent = configfile.getInt32("glcd_epg_percent", 0);
t.glcd_epg_align = configfile.getInt32("glcd_epg_align", 0);
t.glcd_logo_y_position = configfile.getInt32("glcd_logo_y_position", 60);
t.glcd_epg_percent = configfile.getInt32("glcd_epg_percent", 15);
t.glcd_epg_align = configfile.getInt32("glcd_epg_align", 2);
t.glcd_epg_x_position = configfile.getInt32("glcd_epg_x_position", 0);
t.glcd_epg_y_position = configfile.getInt32("glcd_epg_y_position", 0);
t.glcd_epg_y_position = configfile.getInt32("glcd_epg_y_position", 150);
t.glcd_start = configfile.getBool("glcd_start", false);
t.glcd_start_percent = configfile.getInt32("glcd_start_percent", 0);
t.glcd_start_x_position = configfile.getInt32("glcd_start_x_position", 0);