[FL-1110] Status bar height fix (#403)

* fix statusbar height and main screen views, added multiline text framed func
* replace char* arguments with const char*
* small prettify
* move pointer increment to end of loop
This commit is contained in:
its your bedtime
2021-04-06 20:09:15 +03:00
committed by GitHub
parent 33a461e97b
commit 5cd73ac97b
4 changed files with 67 additions and 37 deletions

View File

@@ -59,7 +59,14 @@ void elements_multiline_text_aligned(
* @param x, y - top left corner coordinates
* @param text - string (possible multiline)
*/
void elements_multiline_text(Canvas* canvas, uint8_t x, uint8_t y, char* text);
void elements_multiline_text(Canvas* canvas, uint8_t x, uint8_t y, const char* text);
/*
* Draw framed multiline text
* @param x, y - top left corner coordinates
* @param text - string (possible multiline)
*/
void elements_multiline_text_framed(Canvas* canvas, uint8_t x, uint8_t y, const char* text);
/*
* Draw slightly rounded frame