Unified
Split
Showing
with
6 additions
and 2 deletions.
- BIN Artwork/weather_isolated_thundershowers.hvif
- BIN Artwork/weather_isolated_thunderstorm.hvif
- +6 −2 Source/ForecastView.cpp
Binary file not shown.
Binary file not shown.
| @@ -513,13 +513,15 @@ ForecastView::_LoadBitmaps() | ||
| _LoadIcons(fFewClouds, 'rGFX', "Artwork/weather_few_clouds.hvif"); | ||
| _LoadIcons(fFog, 'rGFX', "Artwork/weather_fog.hvif"); | ||
| _LoadIcons(fFreezingDrizzle, 'rGFX', "Artwork/weather_freezing_drizzle.hvif"); | ||
| _LoadIcons(fIsolatedThunderstorm, 'rGFX', "Artwork/weather_isolated_thunderstorm.hvif"); | ||
| _LoadIcons(fLightSnow, 'rGFX', "Artwork/weather_light_snow.hvif"); | ||
| _LoadIcons(fMixedSnowRain, 'rGFX', "Artwork/weather_mixed_snow_rain.hvif"); | ||
| _LoadIcons(fMostlyCloudyNight, 'rGFX', "Artwork/weather_mostly_cloudy_night.hvif"); | ||
| _LoadIcons(fNightFewClouds, 'rGFX', "Artwork/weather_night_few_clouds.hvif"); | ||
| _LoadIcons(fRainingScattered, 'rGFX', "Artwork/weather_raining_scattered.hvif"); | ||
| _LoadIcons(fRaining, 'rGFX', "Artwork/weather_raining.hvif"); | ||
| _LoadIcons(fSevereThunderstorm, 'rGFX', "Artwork/weather_severe_thunderstorm.hvif"); | ||
| _LoadIcons(fIsolatedThundershowers, 'rGFX', "Artwork/weather_isolated_thundershowers.hvif"); | ||
| _LoadIcons(fShining, 'rGFX', "Artwork/weather_shining.hvif"); | ||
| _LoadIcons(fShiny, 'rGFX', "Artwork/weather_shiny.hvif"); | ||
| _LoadIcons(fSnow, 'rGFX', "Artwork/weather_snow.hvif"); | ||
| @@ -543,12 +545,14 @@ ForecastView::_DeleteBitmaps() | ||
| _DeleteIcons(fFewClouds); | ||
| _DeleteIcons(fFog); | ||
| _DeleteIcons(fFreezingDrizzle); | ||
| _DeleteIcons(fIsolatedThunderstorm); | ||
| _DeleteIcons(fLightSnow); | ||
| _DeleteIcons(fMixedSnowRain); | ||
| _DeleteIcons(fMostlyCloudyNight); | ||
| _DeleteIcons(fNightFewClouds); | ||
| _DeleteIcons(fRainingScattered); | ||
| _DeleteIcons(fRaining); | ||
| _DeleteIcons(fIsolatedThundershowers); | ||
| _DeleteIcons(fSevereThunderstorm); | ||
| _DeleteIcons(fShining); | ||
| _DeleteIcons(fShiny); | ||
| @@ -723,7 +727,7 @@ ForecastView::GetWeatherIcon(int32 condition, weatherIconSize iconSize) | ||
| case 34: return fFewClouds[iconSize]; // fair (day) | ||
| case 35: return fRainingScattered[iconSize]; // mixed rain and hail | ||
| case 36: return fShining[iconSize]; // hot | ||
| case 37: return fThunder[iconSize]; // isolated thunderstorms | ||
| case 37: return fIsolatedThunderstorm[iconSize]; // isolated thunderstorms | ||
| // 38 - 39 It isn't an error repeated | ||
| // 39 is PM Showers, Probably a documentation error | ||
| case 38: return fStorm[iconSize]; // scattered thunderstorms | ||
| @@ -735,7 +739,7 @@ ForecastView::GetWeatherIcon(int32 condition, weatherIconSize iconSize) | ||
| case 44: return fClouds[iconSize]; // partly cloudy | ||
| case 45: return fStorm[iconSize]; // thundershowers | ||
| case 46: return fSnow[iconSize]; // snow showers | ||
| case 47: return fThunder[iconSize]; // isolated thundershowers | ||
| case 47: return fIsolatedThundershowers[iconSize]; // isolated thundershowers | ||
| case 3200: break; //*not available | ||
|
|
||
| } | ||