aboutsummaryrefslogtreecommitdiff
path: root/src/widgets/canvas/lv_canvas_private.h
blob: 13dc7ca7425e944d51d0d40818bc894c0ccc19ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
/**
 * @file lv_canvas_private.h
 *
 */

#ifndef LV_CANVAS_PRIVATE_H
#define LV_CANVAS_PRIVATE_H

#ifdef __cplusplus
extern "C" {
#endif

/*********************
 *      INCLUDES
 *********************/

#include "../image/lv_image_private.h"
#include "lv_canvas.h"

#if LV_USE_CANVAS != 0

/*********************
 *      DEFINES
 *********************/

/**********************
 *      TYPEDEFS
 **********************/

/*Data of canvas*/
struct lv_canvas_t {
    lv_image_t img;
    lv_draw_buf_t * draw_buf;
    lv_draw_buf_t static_buf;
};


/**********************
 * GLOBAL PROTOTYPES
 **********************/

/**********************
 *      MACROS
 **********************/

#endif /* LV_USE_CANVAS != 0 */

#ifdef __cplusplus
} /*extern "C"*/
#endif

#endif /*LV_CANVAS_PRIVATE_H*/