Arrow3-MBN-APP
 
Loading...
Searching...
No Matches
common_screen_calls.c File Reference

Source that has common function related to screen, label creations. More...

#include "AppGlobal.h"
Include dependency graph for common_screen_calls.c:

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
 

Detailed Description

Source that has common function related to screen, label creations.

Function Documentation

◆ common_label_creation()

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

Parameters
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)
Here is the caller graph for this function:

◆ status_label_creation()

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

Parameters
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)
Here is the caller graph for this function:

◆ status_qr_creation()

void status_qr_creation ( lv_obj_t * screen_name,
lv_coord_t size,
char * text )

function to create the QR

Parameters
screen_name- screen name
text- text to be displayed on QR code
Here is the caller graph for this function:

Variable Documentation

◆ bg_color

lv_color_t bg_color

◆ fg_color

lv_color_t fg_color

◆ qr

lv_obj_t* qr