Source that has common function related to screen, label creations. More...
#include "AppGlobal.h"
Functions | |
void | status_label_creation (lv_obj_t *screen_name, const char *text, lv_coord_t x, lv_coord_t y, lv_coord_t w, lv_coord_t h, const lv_font_t *font_name, uint32_t font_colour) |
function to create the labels | |
void | status_qr_creation (lv_obj_t *screen_name, lv_coord_t size, char *text) |
function to create the QR | |
void | common_label_creation (lv_obj_t *screen_name, const char *text, lv_coord_t x, lv_coord_t y, const lv_font_t *font_name, uint32_t font_colour) |
function to create the pin labels | |
Variables | |
lv_color_t | bg_color |
lv_color_t | fg_color |
lv_obj_t * | qr |
Source that has common function related to screen, label creations.
void common_label_creation | ( | lv_obj_t * | screen_name, |
const char * | text, | ||
lv_coord_t | x, | ||
lv_coord_t | y, | ||
const lv_font_t * | font_name, | ||
uint32_t | font_colour ) |
function to create the pin labels
screen_name | - screen name |
text | - text to be displayed on the screen |
x | - x axis alignment of the label |
y | - y axis alignment of the label |
w | - width of the label |
h | - height of the label |
font_name | - font name (Monospace821 BT) |
font_color | - font color (white or black) |
void status_label_creation | ( | lv_obj_t * | screen_name, |
const char * | text, | ||
lv_coord_t | x, | ||
lv_coord_t | y, | ||
lv_coord_t | w, | ||
lv_coord_t | h, | ||
const lv_font_t * | font_name, | ||
uint32_t | font_colour ) |
function to create the labels
screen_name | - screen name |
text | - text to be displayed on the screen |
x | - x axis alignment of the label |
y | - y axis alignment of the label |
w | - width of the label |
h | - height of the label |
font_name | - font name (Monospace821 BT) |
font_color | - font color (white or black) |
void status_qr_creation | ( | lv_obj_t * | screen_name, |
lv_coord_t | size, | ||
char * | text ) |
function to create the QR
screen_name | - screen name |
text | - text to be displayed on QR code |
lv_color_t bg_color |
lv_color_t fg_color |
lv_obj_t* qr |