Mercurial > public > ostc4
comparison Discovery/Src/gfx_engine.c @ 314:e141b571a03d Bugfix_Flip_FirmwareUpdate
Reinitialize logos after flip of display
After selection to flip the display the logos were still show in old position (upside down) in case of a parameter change or firmware update. To avoid this the logos are drawn with new orientation after flip has been selected.
author | ideenmodellierer |
---|---|
date | Mon, 17 Jun 2019 21:46:56 +0200 |
parents | 87d54b4fd946 |
children | 89f6857276f8 |
comparison
equal
deleted
inserted
replaced
313:49f5db6139d5 | 314:e141b571a03d |
---|---|
248 { | 248 { |
249 backgroundHwStatus = LOGOSTOP; | 249 backgroundHwStatus = LOGOSTOP; |
250 } | 250 } |
251 | 251 |
252 | 252 |
253 static void GFX_build_hw_background_frame(void) | 253 void GFX_build_hw_background_frame(void) |
254 { | 254 { |
255 GFX_DrawCfgScreen tLogoTemp; | 255 GFX_DrawCfgScreen tLogoTemp; |
256 SWindowGimpStyle windowGimp; | 256 SWindowGimpStyle windowGimp; |
257 | 257 |
258 pBackgroundHwFrame = getFrame(1); | 258 pBackgroundHwFrame = getFrame(1); |
282 write_content_simple(&tLogoTemp, 0, 800, 240-24, &FontT24,localtext,CLUT_Font020); | 282 write_content_simple(&tLogoTemp, 0, 800, 240-24, &FontT24,localtext,CLUT_Font020); |
283 */ | 283 */ |
284 } | 284 } |
285 | 285 |
286 | 286 |
287 static void GFX_build_logo_frame(void) | 287 void GFX_build_logo_frame(void) |
288 { | 288 { |
289 GFX_DrawCfgScreen tLogoTemp; | 289 GFX_DrawCfgScreen tLogoTemp; |
290 SWindowGimpStyle windowGimp; | 290 SWindowGimpStyle windowGimp; |
291 | 291 |
292 pLogoFrame = getFrame(1); | 292 pLogoFrame = getFrame(1); |