|
Embedded SDK
Embedded SDK
|
struct to represent a text area (TEXT_AREA type) More...
#include <nbgl_obj.h>

Public Attributes | |
| nbgl_obj_t | obj |
| common part | |
| color_t | textColor |
| color set to '1' bits in text. '0' are set to backgroundColor color. | |
| nbgl_aligment_t | textAlignment |
| alignment of text within the area | |
| nbgl_style_t | style |
| to define the style of border | |
| nbgl_font_id_e | fontId |
| id of the font to use | |
| bool | autoHideLongLine |
| uint8_t | wrapping: 1 |
| if set to true, break lines on ' ' when possible | |
| uint8_t | hideEndOfLastLine: 1 |
| if set to true, replace 3 last chars of last line by "..." | |
| uint8_t | nbMaxLines |
| if >0, only display the nbMaxLines first lines | |
| const char * | text |
| ASCII text to draw (NULL terminated). Can be NULL. | |
| uint16_t | len |
| number of bytes to write (if 0, max number of chars or strlen is used) | |
| onTextDrawCallback_t | onDrawCallback |
| function called if not NULL to get the text of the text area | |
| uint8_t | token |
| token to use as param of onDrawCallback | |
struct to represent a text area (TEXT_AREA type)
Definition at line 542 of file nbgl_obj.h.
| bool nbgl_text_area_s::autoHideLongLine |
if set to true, replace beginning of line by ... to keep it single line
Definition at line 548 of file nbgl_obj.h.
| nbgl_font_id_e nbgl_text_area_s::fontId |
id of the font to use
Definition at line 547 of file nbgl_obj.h.
| uint8_t nbgl_text_area_s::hideEndOfLastLine |
if set to true, replace 3 last chars of last line by "..."
Definition at line 551 of file nbgl_obj.h.
| uint16_t nbgl_text_area_s::len |
number of bytes to write (if 0, max number of chars or strlen is used)
Definition at line 554 of file nbgl_obj.h.
| uint8_t nbgl_text_area_s::nbMaxLines |
if >0, only display the nbMaxLines first lines
Definition at line 552 of file nbgl_obj.h.
| nbgl_obj_t nbgl_text_area_s::obj |
common part
Definition at line 543 of file nbgl_obj.h.
| onTextDrawCallback_t nbgl_text_area_s::onDrawCallback |
function called if not NULL to get the text of the text area
Definition at line 556 of file nbgl_obj.h.
| nbgl_style_t nbgl_text_area_s::style |
to define the style of border
Definition at line 546 of file nbgl_obj.h.
| const char* nbgl_text_area_s::text |
ASCII text to draw (NULL terminated). Can be NULL.
Definition at line 553 of file nbgl_obj.h.
| nbgl_aligment_t nbgl_text_area_s::textAlignment |
alignment of text within the area
Definition at line 545 of file nbgl_obj.h.
| color_t nbgl_text_area_s::textColor |
color set to '1' bits in text. '0' are set to backgroundColor color.
Definition at line 544 of file nbgl_obj.h.
| uint8_t nbgl_text_area_s::token |
token to use as param of onDrawCallback
Definition at line 557 of file nbgl_obj.h.
| uint8_t nbgl_text_area_s::wrapping |
if set to true, break lines on ' ' when possible
Definition at line 550 of file nbgl_obj.h.