Mercurial > public > ostc4
comparison Discovery/Inc/gfx_engine.h @ 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 | 1c95f811967c |
comparison
equal
deleted
inserted
replaced
313:49f5db6139d5 | 314:e141b571a03d |
---|---|
180 void write_content_simple(GFX_DrawCfgScreen *tMscreen, uint16_t XleftGimpStyle, uint16_t XrightGimpStyle, uint16_t YtopGimpStyle, const tFont *Font, const char *text, uint8_t color); | 180 void write_content_simple(GFX_DrawCfgScreen *tMscreen, uint16_t XleftGimpStyle, uint16_t XrightGimpStyle, uint16_t YtopGimpStyle, const tFont *Font, const char *text, uint8_t color); |
181 void gfx_write_topline_simple(GFX_DrawCfgScreen *tMscreen, const char *text, uint8_t color); | 181 void gfx_write_topline_simple(GFX_DrawCfgScreen *tMscreen, const char *text, uint8_t color); |
182 void gfx_write_page_number(GFX_DrawCfgScreen *tMscreen, uint8_t page, uint8_t total, uint8_t color); | 182 void gfx_write_page_number(GFX_DrawCfgScreen *tMscreen, uint8_t page, uint8_t total, uint8_t color); |
183 | 183 |
184 void GFX_draw_image_monochrome(GFX_DrawCfgScreen *hgfx, SWindowGimpStyle window, const tImage *image, uint8_t color); | 184 void GFX_draw_image_monochrome(GFX_DrawCfgScreen *hgfx, SWindowGimpStyle window, const tImage *image, uint8_t color); |
185 void GFX_build_logo_frame(void); | |
186 void GFX_build_hw_background_frame(void); | |
187 | |
185 void GFX_logoAutoOff(void); | 188 void GFX_logoAutoOff(void); |
186 uint8_t GFX_logoStatus(void); | 189 uint8_t GFX_logoStatus(void); |
187 void GFX_hwBackgroundOn(void); | 190 void GFX_hwBackgroundOn(void); |
188 void GFX_hwBackgroundOff(void); | 191 void GFX_hwBackgroundOff(void); |
189 | 192 |