Functions | |
void | BSP_Screen_InitGridStyle (lv_style_t *style, lv_coord_t pad, lv_coord_t margin, lv_coord_t border, lv_coord_t radius, lv_color_t *bgColor) |
Initializes the grid style according to the given basic properties. | |
void | BSP_Screen_InitLabelStyle (lv_style_t *style, const lv_font_t *font, lv_text_align_t align, lv_color_t *txtColor) |
Initializes the label style. | |
void | BSP_Screen_InitTextAreaStyle (lv_style_t *style, const lv_font_t *font, lv_color_t *txtColor) |
Initializes the Text Area Style. | |
void | lv_create_default_text_field (lv_obj_t *parent, lv_ta_field_data_t *field, int row, int col, lv_event_cb_t event_cb, void *eventData) |
Create a text field with name and value in default style. | |
lv_obj_t * | lv_create_textfield_display (lv_obj_t *parent, lv_style_t *nameLblStyle, lv_style_t *valueStyle, const char *fieldName, const char *fieldValue, lv_event_cb_t event_cb, void *eventData, uint8_t row) |
Create a text field with name and value with given styles. | |
void | lv_create_field (lv_obj_t *parent, lv_style_t *nameLblStyle, const char *fieldName, lv_obj_t *field, uint8_t row) |
Create general entry field with label and a given field. | |
lv_obj_t * | lv_btn_create_general (lv_obj_t *parent, lv_style_t *btnStyle, lv_style_t *lblStyle, const char *txt, lv_event_cb_t event_cb, void *eventData) |
Create a general button. | |
lv_obj_t * | lv_label_create_general (lv_obj_t *parent, lv_style_t *style, const char *txt, lv_event_cb_t event_cb, void *eventData) |
Create a general label. | |
lv_obj_t * | lv_textarea_create_general (lv_obj_t *parent, lv_style_t *style, const char *txt, lv_event_cb_t event_cb, void *eventData) |
Create general textarea. | |
lv_obj_t * | lv_grid_create_general (lv_obj_t *parent, lv_coord_t *cols, lv_coord_t *rows, lv_style_t *style, lv_color_t *bgColor, lv_event_cb_t event_cb, void *eventData) |
Create general grid. | |
lv_obj_t * | lv_container_create_general (lv_obj_t *parent, lv_style_t *style, int row, int col, lv_event_cb_t event_cb, void *eventData) |
Create general container. | |
lv_obj_t * | CreateTitle (lv_obj_t *parent, lv_grid_pos_info_t *gridInfo, const char *title) |
Create page title. | |
void | BSP_Screen_Styles_Init (void) |
Initializes base screen styles. | |
|
extern |
style | Style to be initialized. |
pad | Padding in pixels. |
margin | Margin in rows for children in pixels. |
border | Border width in pixels. |
radius | Radius of corners in pixels. |
bgColor | Background color. NULL if default color. |
|
extern |
style | Style to be initialized. |
font | Text font. NULL if default font. |
align | Text alignment. |
txtColor | Text color. NULL if default color. |
|
extern |
style | Style to be initialized. |
font | Text font. NULL if default font. |
txtColor | Text color. NULL if default color. |
|
extern |
parent | Parent object in which field is to be placed. |
gridInfo | Grid position related information. |
title | Title text. |
|
extern |
parent | Parent object in which field is to be placed. |
btnStyle | Button style for the field name. NULL if default style. |
lblStyle | Label style for the field name. NULL if default style. |
txt | Text in the button. |
event_cb | cb Click event handler. Set to NULL if no click event needed. |
eventData | Click event custom user data pointer. |
|
extern |
parent | Parent object in which field is to be placed. |
style | Container style. NULL if default style. |
row | Row definitions. |
col | Column definitions. |
event_cb | cb Click event handler. Set to NULL if no click event needed. |
eventData | Click event custom user data pointer. |
|
extern |
parent | Parent object in which field is to be placed. |
field | Field information data. |
row | Row number in the parent. |
col | Column number in the parent. |
event_cb | cb Click event handler. Set to NULL if no click event needed. |
eventData | Click event custom user data pointer. |
|
extern |
parent | Parent object in which field is to be placed. |
nameLblStyle | Label style for the field name. NULL if default style. |
fieldName | Name of the field in text. |
field | lv_obj_t inserted in place of field value. |
row | Row number in the parent. |
|
extern |
parent | Parent object in which field is to be placed. |
nameLblStyle | Label style for the field name. NULL if default style. |
valueStyle | Textarea style for the field value. NULL if default style. |
fieldName | Name of the field in text. |
fieldValue | Value of the field in text. |
event_cb | cb Click event handler. Set to NULL if no click event needed. |
eventData | Click event custom user data pointer. |
row | Row number in the parent. |
|
extern |
parent | Parent object in which field is to be placed. |
cols | Column definitions. |
rows | Row definitions. |
style | Grid style. NULL if default style. |
bgColor | Background color. NULL if default color. |
event_cb | cb Click event handler. Set to NULL if no click event needed. |
eventData | Click event custom user data pointer. |
|
extern |
parent | Parent object in which field is to be placed. |
style | Label style. NULL if default style. |
txt | Label text. |
event_cb | cb Click event handler. Set to NULL if no click event needed. |
eventData | Click event custom user data pointer. |
|
extern |
parent | Parent object in which field is to be placed. |
style | Textarea style. NULL if default style. |
txt | Label text. |
event_cb | cb Click event handler. Set to NULL if no click event needed. |
eventData | Click event custom user data pointer. |