comparison Discovery/Inc/gfx_engine.h @ 625:028d8f3a9410

Switch Sector / Scroll detection to vector implementation: The vector implementation is mor robust against influences of roll and yaw to the pitch angle. To improve the performance the old sector based implementation has been replaced. In addition after entering focus state the roll angle is ignored. To improve readability and due to removal of some no longer needed function codes, function names have been updated
author Ideenmodellierer
date Mon, 08 Feb 2021 21:35:46 +0100
parents 1c95f811967c
children bc6c90e20d9e
comparison
equal deleted inserted replaced
624:930f1bbe0ac2 625:028d8f3a9410
171 uint32_t getFrame(uint8_t callerId); 171 uint32_t getFrame(uint8_t callerId);
172 uint32_t getFrameByNumber(uint8_t ZeroToMaxFrames); 172 uint32_t getFrameByNumber(uint8_t ZeroToMaxFrames);
173 uint8_t releaseFrame(uint8_t callerId, uint32_t frameStartAddress); 173 uint8_t releaseFrame(uint8_t callerId, uint32_t frameStartAddress);
174 void GFX_forceReleaseFramesWithId(uint8_t callerId); 174 void GFX_forceReleaseFramesWithId(uint8_t callerId);
175 void releaseAllFramesExcept(uint8_t callerId, uint32_t frameStartAddress); 175 void releaseAllFramesExcept(uint8_t callerId, uint32_t frameStartAddress);
176 void housekeepingFrame(void); 176 uint8_t housekeepingFrame(void);
177 uint16_t blockedFramesCount(void); 177 uint16_t blockedFramesCount(void);
178 uint8_t getFrameCount(uint8_t frameId); 178 uint8_t getFrameCount(uint8_t frameId);
179 179
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);