- glcd/weather: split temperature and weather icon

This commit is contained in:
vanhofen
2022-11-29 20:02:00 +01:00
committed by Thilo Graf
parent 2a968e11cd
commit 24299980fc
11 changed files with 138 additions and 55 deletions

View File

@@ -974,8 +974,10 @@ typedef enum
LOCALE_GLCD_STANDBY_CLOCK_SIMPLE,
LOCALE_GLCD_STANDBY_SETTINGS,
LOCALE_GLCD_STANDBY_WEATHER,
LOCALE_GLCD_STANDBY_WEATHER_CURR_X_POSITION,
LOCALE_GLCD_STANDBY_WEATHER_NEXT_X_POSITION,
LOCALE_GLCD_STANDBY_WEATHER_CURR_ICON_X_POSITION,
LOCALE_GLCD_STANDBY_WEATHER_CURR_TEMP_X_POSITION,
LOCALE_GLCD_STANDBY_WEATHER_NEXT_ICON_X_POSITION,
LOCALE_GLCD_STANDBY_WEATHER_NEXT_TEMP_X_POSITION,
LOCALE_GLCD_STANDBY_WEATHER_PERCENT,
LOCALE_GLCD_STANDBY_WEATHER_Y_POSITION,
LOCALE_GLCD_START_ALIGN,
@@ -992,8 +994,10 @@ typedef enum
LOCALE_GLCD_TIME_X_POSITION,
LOCALE_GLCD_TIME_Y_POSITION,
LOCALE_GLCD_VOLUME,
LOCALE_GLCD_WEATHER_CURR_X_POSITION,
LOCALE_GLCD_WEATHER_NEXT_X_POSITION,
LOCALE_GLCD_WEATHER_CURR_ICON_X_POSITION,
LOCALE_GLCD_WEATHER_CURR_TEMP_X_POSITION,
LOCALE_GLCD_WEATHER_NEXT_ICON_X_POSITION,
LOCALE_GLCD_WEATHER_NEXT_TEMP_X_POSITION,
LOCALE_GLCD_WEATHER_PERCENT,
LOCALE_GLCD_WEATHER_SHOW,
LOCALE_GLCD_WEATHER_Y_POSITION,

View File

@@ -974,8 +974,10 @@ const char * locale_real_names[] =
"glcd.standby_clock_simple",
"glcd.standby_settings",
"glcd.standby_weather",
"glcd.standby_weather_curr_x_position",
"glcd.standby_weather_next_x_position",
"glcd.standby_weather_curr_icon_x_position",
"glcd.standby_weather_curr_temp_x_position",
"glcd.standby_weather_next_icon_x_position",
"glcd.standby_weather_next_temp_x_position",
"glcd.standby_weather_percent",
"glcd.standby_weather_y_position",
"glcd.start_align",
@@ -992,8 +994,10 @@ const char * locale_real_names[] =
"glcd.time_x_position",
"glcd.time_y_position",
"glcd.volume",
"glcd.weather_curr_x_position",
"glcd.weather_next_x_position",
"glcd.weather_curr_icon_x_position",
"glcd.weather_curr_temp_x_position",
"glcd.weather_next_icon_x_position",
"glcd.weather_next_temp_x_position",
"glcd.weather_percent",
"glcd.weather_show",
"glcd.weather_y_position",

View File

@@ -293,14 +293,18 @@ struct SNeutrinoGlcdTheme
int glcd_weather;
int glcd_weather_percent;
int glcd_weather_curr_x_position;
int glcd_weather_next_x_position;
int glcd_weather_curr_temp_x_position;
int glcd_weather_curr_icon_x_position;
int glcd_weather_next_temp_x_position;
int glcd_weather_next_icon_x_position;
int glcd_weather_y_position;
int glcd_standby_weather;
int glcd_standby_weather_percent;
int glcd_standby_weather_curr_x_position;
int glcd_standby_weather_next_x_position;
int glcd_standby_weather_curr_temp_x_position;
int glcd_standby_weather_curr_icon_x_position;
int glcd_standby_weather_next_temp_x_position;
int glcd_standby_weather_next_icon_x_position;
int glcd_standby_weather_y_position;
int glcd_position_settings;