wip text edit GUI (TODO: del/ins in the middle, entering space at the end)

This commit is contained in:
2020-01-12 23:02:46 +01:00
parent e22d4fb9e2
commit dd689841bb
8 changed files with 266 additions and 9 deletions
+2 -2
View File
@@ -61,8 +61,8 @@ struct TextStyle {
bool bg; //!< Fill the characters background with the opposite color
enum TextSize size; //!< Character size
enum TextAlign align; //!< Alignment (works only for single line)
int limit; //!< Number of characters to print from the string, if > 0
int skip; //!< Characters to skip before printing
size_t limit; //!< Number of characters to print from the string, if > 0
size_t skip; //!< Characters to skip before printing
int spacing_x; //!< Additional X spacing
int spacing_y; //!< Additional Y spacing
bool nowrap; //!< Stop painting when the right edge of the screen is reached