2016-06-08 13:25:08 +08:00
|
|
|
/**
|
|
|
|
* @file lvgl.h
|
|
|
|
* Include all LittleV GL related headers
|
|
|
|
*/
|
|
|
|
|
2017-03-27 15:27:45 +08:00
|
|
|
#ifndef LVGL_H
|
|
|
|
#define LVGL_H
|
2016-06-08 13:25:08 +08:00
|
|
|
|
|
|
|
/*********************
|
|
|
|
* INCLUDES
|
|
|
|
*********************/
|
2017-01-12 18:09:18 +08:00
|
|
|
|
|
|
|
/*Test misc. module version*/
|
|
|
|
#include "misc/misc.h"
|
2017-05-15 15:49:36 +08:00
|
|
|
#define LV_MISC_REQ_MAJOR 4
|
2017-01-12 18:09:18 +08:00
|
|
|
#define LV_MISC_REQ_MINOR 0
|
|
|
|
#define LV_MISC_REQ_PATCH 0
|
|
|
|
|
|
|
|
#if MISC_VERSION_MAJOR != LV_MISC_REQ_MAJOR /*The version major has to match*/
|
|
|
|
#error "LV: incompatible misc. module version! See lvgl.h"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if MISC_VERSION_MINOR < LV_MISC_REQ_MINOR /*The version minor has to be the same or greater*/
|
|
|
|
#error "LV: incompatible misc. module version! See lvgl.h"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if MISC_VERSION_PATCH < LV_MISC_REQ_PATCH /*The version patch has to be the same or greater*/
|
|
|
|
#error "LV: incompatible misc. module version! See lvgl.h"
|
|
|
|
#endif
|
|
|
|
|
2016-06-08 13:25:08 +08:00
|
|
|
#include "lv_obj/lv_obj.h"
|
|
|
|
#include "lv_objx/lv_btn.h"
|
|
|
|
#include "lv_objx/lv_img.h"
|
|
|
|
#include "lv_objx/lv_label.h"
|
|
|
|
#include "lv_objx/lv_line.h"
|
|
|
|
#include "lv_objx/lv_page.h"
|
2017-04-28 22:12:35 +08:00
|
|
|
#include "lv_objx/lv_cont.h"
|
2016-06-22 23:24:02 +08:00
|
|
|
#include "lv_objx/lv_list.h"
|
2017-03-27 15:27:45 +08:00
|
|
|
#include "lv_objx/lv_chart.h"
|
2016-07-19 20:05:27 +08:00
|
|
|
#include "lv_objx/lv_cb.h"
|
2017-04-11 16:50:57 +08:00
|
|
|
#include "lv_objx/lv_bar.h"
|
|
|
|
#include "lv_objx/lv_slider.h"
|
2016-09-28 21:53:27 +08:00
|
|
|
#include "lv_objx/lv_led.h"
|
2016-09-30 19:35:54 +08:00
|
|
|
#include "lv_objx/lv_btnm.h"
|
2017-02-06 17:07:25 +08:00
|
|
|
#include "lv_objx/lv_ddlist.h"
|
2016-09-30 21:29:00 +08:00
|
|
|
#include "lv_objx/lv_ta.h"
|
2016-10-04 21:19:07 +08:00
|
|
|
#include "lv_objx/lv_win.h"
|
2016-12-16 14:41:34 +08:00
|
|
|
#include "lv_objx/lv_mbox.h"
|
2017-01-10 01:09:28 +08:00
|
|
|
#include "lv_objx/lv_gauge.h"
|
2017-04-21 23:11:47 +08:00
|
|
|
#include "lv_objx/lv_lmeter.h"
|
2016-06-08 13:25:08 +08:00
|
|
|
|
2016-12-15 23:19:23 +08:00
|
|
|
#include "lv_app/lv_app.h"
|
|
|
|
|
2016-06-08 13:25:08 +08:00
|
|
|
/*********************
|
|
|
|
* DEFINES
|
|
|
|
*********************/
|
2017-05-15 15:49:36 +08:00
|
|
|
#define LVGL_VERSION_MAJOR 4
|
|
|
|
#define LVGL_VERSION_MINOR 0
|
2017-01-16 19:41:59 +08:00
|
|
|
#define LVGL_VERSION_PATH 0
|
2017-01-08 23:01:07 +08:00
|
|
|
|
2016-06-08 13:25:08 +08:00
|
|
|
|
|
|
|
/**********************
|
|
|
|
* TYPEDEFS
|
|
|
|
**********************/
|
|
|
|
|
|
|
|
/**********************
|
|
|
|
* GLOBAL PROTOTYPES
|
|
|
|
**********************/
|
|
|
|
|
|
|
|
/**********************
|
|
|
|
* MACROS
|
|
|
|
**********************/
|
|
|
|
|
|
|
|
#endif
|