2016-06-08 07:25:08 +02:00
|
|
|
/**
|
|
|
|
* @file lv_draw_img.h
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef LV_DRAW_H
|
|
|
|
#define LV_DRAW_H
|
|
|
|
|
|
|
|
/*********************
|
|
|
|
* INCLUDES
|
|
|
|
*********************/
|
|
|
|
#include "../lv_objx/lv_btn.h"
|
|
|
|
#include "../lv_objx/lv_rect.h"
|
|
|
|
#include "../lv_objx/lv_line.h"
|
|
|
|
#include "../lv_objx/lv_img.h"
|
|
|
|
#include "../lv_objx/lv_label.h"
|
|
|
|
|
2017-01-02 10:48:21 +01:00
|
|
|
#include "misc_conf.h"
|
|
|
|
|
2016-06-08 07:25:08 +02:00
|
|
|
/*********************
|
|
|
|
* DEFINES
|
|
|
|
*********************/
|
|
|
|
|
|
|
|
/**********************
|
|
|
|
* TYPEDEFS
|
|
|
|
**********************/
|
|
|
|
|
|
|
|
/**********************
|
|
|
|
* GLOBAL PROTOTYPES
|
|
|
|
**********************/
|
2017-01-02 15:29:05 +01:00
|
|
|
#if USE_LV_RECT != 0
|
2016-06-08 07:25:08 +02:00
|
|
|
void lv_draw_rect(const area_t * cords_p, const area_t * mask_p,
|
|
|
|
const lv_rects_t * rects_p, opa_t opa);
|
2017-01-02 15:29:05 +01:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#if USE_LV_LABEL != 0
|
2016-06-08 07:25:08 +02:00
|
|
|
void lv_draw_label(const area_t * cords_p,const area_t * mask_p,
|
|
|
|
const lv_labels_t * labels_p, opa_t opa, const char * txt);
|
2017-01-02 15:29:05 +01:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#if USE_LV_LINE != 0
|
2016-06-08 07:25:08 +02:00
|
|
|
void lv_draw_line(const point_t * p1, const point_t * p2, const area_t * mask_p,
|
|
|
|
const lv_lines_t * lines_p, opa_t opa);
|
2017-01-02 15:29:05 +01:00
|
|
|
#endif
|
2017-01-02 10:48:21 +01:00
|
|
|
|
|
|
|
#if USE_LV_IMG != 0 && USE_FSINT != 0 && USE_UFS != 0
|
2016-06-08 07:25:08 +02:00
|
|
|
void lv_draw_img(const area_t * cords_p, const area_t * mask_p,
|
2016-06-15 16:09:24 +02:00
|
|
|
const lv_imgs_t * imgs_p, opa_t opa, const char * fn);
|
2017-01-02 10:48:21 +01:00
|
|
|
#endif
|
2016-06-08 07:25:08 +02:00
|
|
|
/**********************
|
|
|
|
* MACROS
|
|
|
|
**********************/
|
|
|
|
|
|
|
|
#endif
|