1 /**
2  * @file lv_barcode_private.h
3  *
4  */
5 
6 #ifndef LV_BARCODE_PRIVATE_H
7 #define LV_BARCODE_PRIVATE_H
8 
9 #ifdef __cplusplus
10 extern "C" {
11 #endif
12 
13 /*********************
14  *      INCLUDES
15  *********************/
16 
17 #include "../../widgets/canvas/lv_canvas_private.h"
18 #include "lv_barcode.h"
19 
20 #if LV_USE_BARCODE
21 
22 /*********************
23  *      DEFINES
24  *********************/
25 
26 /**********************
27  *      TYPEDEFS
28  **********************/
29 
30 /*Data of barcode*/
31 struct _lv_barcode_t {
32     lv_canvas_t canvas;
33     lv_color_t dark_color;
34     lv_color_t light_color;
35     uint16_t scale;
36     lv_dir_t direction;
37     bool tiled;
38 };
39 
40 
41 /**********************
42  * GLOBAL PROTOTYPES
43  **********************/
44 
45 /**********************
46  *      MACROS
47  **********************/
48 
49 #endif /* LV_USE_BARCODE */
50 
51 #ifdef __cplusplus
52 } /*extern "C"*/
53 #endif
54 
55 #endif /*LV_BARCODE_PRIVATE_H*/
56