A font is a collection of font_ch_t for all ASCII characters. Each character has the same height and ...
Definition font.h:66
paletteColor_t
All 216 possible colors, named like cRGB.
Definition palette.h:23
paletteColor_t bgColor
Color of the background. Set to cTransparent to not draw a background.
Definition textEntry.h:121
bool useMultiLine
Use multiple lines.
Definition textEntry.h:113
paletteColor_t emphasisColor
Color of the emphasis, used to highlight certain parts of the UI.
Definition textEntry.h:120
paletteColor_t textColor
Color of the text to use.
Definition textEntry.h:119
bool blink
If the cursor should blink.
Definition textEntry.h:116
void textEntryInit(const textEntrySettings_t *settings, char *entryText, font_t *font)
Definition textEntry.c:124
bool useNewCapsStyle
Use new style instead of old style.
Definition textEntry.h:115
void textEntryDeinit(void)
Deletes the memory used by the text entry system.
Definition textEntry.c:144
const char * textPrompt
Prompt for the player. Set to NULL to not draw.
Definition textEntry.h:110
keyModifier_t startKMod
Sets default capitalization mode.
Definition textEntry.h:112
void textEntrySoftReset(void)
Resets the textEntry object.
Definition textEntry.c:327
int maxLen
The max length of the string.
Definition textEntry.h:111
bool textEntryDraw(int64_t elapsedUs)
Draws the text entry screen.
Definition textEntry.c:307
bool textEntryInput(buttonEvt_t evt)
Handle button input for text entry.
Definition textEntry.c:149
bool useOKEnterStyle
Use the "OK" instead of the arrow.
Definition textEntry.h:114
keyModifier_t
Definition textEntry.h:95
@ TE_SHIFT
Capitalize the first character only.
Definition textEntry.h:97
@ TE_SPECIAL_DONE
DO NOT USE! Indicates to system that it is done.
Definition textEntry.h:100
@ TE_PROPER_NOUN
automatically the first letter after a space
Definition textEntry.h:99
@ TE_CAPS_LOCK
Default to all caps.
Definition textEntry.h:98
@ TE_NO_SHIFT
Start on lowercase, no auto-capitalization.
Definition textEntry.h:96
paletteColor_t shadowboxColor
Color of the shadowboxes. Set to cTransparent to not draw shadowboxes.
Definition textEntry.h:122
Definition textEntry.h:108