chore(format): order the header file and function prototype (#3492)
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
@@ -15,18 +15,10 @@ extern "C" {
|
|||||||
*********************/
|
*********************/
|
||||||
#include "../lvgl.h"
|
#include "../lvgl.h"
|
||||||
|
|
||||||
#if LV_USE_DEMO_WIDGETS
|
|
||||||
#include "widgets/lv_demo_widgets.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if LV_USE_DEMO_BENCHMARK
|
#if LV_USE_DEMO_BENCHMARK
|
||||||
#include "benchmark/lv_demo_benchmark.h"
|
#include "benchmark/lv_demo_benchmark.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if LV_USE_DEMO_STRESS
|
|
||||||
#include "stress/lv_demo_stress.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if LV_USE_DEMO_KEYPAD_AND_ENCODER
|
#if LV_USE_DEMO_KEYPAD_AND_ENCODER
|
||||||
#include "keypad_encoder/lv_demo_keypad_encoder.h"
|
#include "keypad_encoder/lv_demo_keypad_encoder.h"
|
||||||
#endif
|
#endif
|
||||||
@@ -35,6 +27,14 @@ extern "C" {
|
|||||||
#include "music/lv_demo_music.h"
|
#include "music/lv_demo_music.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if LV_USE_DEMO_STRESS
|
||||||
|
#include "stress/lv_demo_stress.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if LV_USE_DEMO_WIDGETS
|
||||||
|
#include "widgets/lv_demo_widgets.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
/*********************
|
/*********************
|
||||||
* DEFINES
|
* DEFINES
|
||||||
*********************/
|
*********************/
|
||||||
|
|||||||
@@ -14,13 +14,13 @@ extern "C" {
|
|||||||
* INCLUDES
|
* INCLUDES
|
||||||
*********************/
|
*********************/
|
||||||
#include "bmp/lv_example_bmp.h"
|
#include "bmp/lv_example_bmp.h"
|
||||||
|
#include "ffmpeg/lv_example_ffmpeg.h"
|
||||||
|
#include "freetype/lv_example_freetype.h"
|
||||||
#include "gif/lv_example_gif.h"
|
#include "gif/lv_example_gif.h"
|
||||||
#include "png/lv_example_png.h"
|
#include "png/lv_example_png.h"
|
||||||
#include "sjpg/lv_example_sjpg.h"
|
|
||||||
#include "qrcode/lv_example_qrcode.h"
|
#include "qrcode/lv_example_qrcode.h"
|
||||||
#include "freetype/lv_example_freetype.h"
|
|
||||||
#include "rlottie/lv_example_rlottie.h"
|
#include "rlottie/lv_example_rlottie.h"
|
||||||
#include "ffmpeg/lv_example_ffmpeg.h"
|
#include "sjpg/lv_example_sjpg.h"
|
||||||
|
|
||||||
/*********************
|
/*********************
|
||||||
* DEFINES
|
* DEFINES
|
||||||
|
|||||||
@@ -15,16 +15,15 @@ extern "C" {
|
|||||||
*********************/
|
*********************/
|
||||||
#include "../lvgl.h"
|
#include "../lvgl.h"
|
||||||
|
|
||||||
#include "styles/lv_example_style.h"
|
|
||||||
#include "get_started/lv_example_get_started.h"
|
|
||||||
#include "widgets/lv_example_widgets.h"
|
|
||||||
#include "layouts/lv_example_layout.h"
|
|
||||||
#include "scroll/lv_example_scroll.h"
|
|
||||||
#include "anim/lv_example_anim.h"
|
#include "anim/lv_example_anim.h"
|
||||||
#include "event/lv_example_event.h"
|
#include "event/lv_example_event.h"
|
||||||
#include "styles/lv_example_style.h"
|
#include "get_started/lv_example_get_started.h"
|
||||||
#include "others/lv_example_others.h"
|
#include "layouts/lv_example_layout.h"
|
||||||
#include "libs/lv_example_libs.h"
|
#include "libs/lv_example_libs.h"
|
||||||
|
#include "others/lv_example_others.h"
|
||||||
|
#include "scroll/lv_example_scroll.h"
|
||||||
|
#include "styles/lv_example_style.h"
|
||||||
|
#include "widgets/lv_example_widgets.h"
|
||||||
|
|
||||||
/*********************
|
/*********************
|
||||||
* DEFINES
|
* DEFINES
|
||||||
|
|||||||
@@ -24,7 +24,6 @@ extern "C" {
|
|||||||
* GLOBAL PROTOTYPES
|
* GLOBAL PROTOTYPES
|
||||||
**********************/
|
**********************/
|
||||||
void lv_example_fragment_1(void);
|
void lv_example_fragment_1(void);
|
||||||
|
|
||||||
void lv_example_fragment_2(void);
|
void lv_example_fragment_2(void);
|
||||||
|
|
||||||
/**********************
|
/**********************
|
||||||
|
|||||||
@@ -13,13 +13,13 @@ extern "C" {
|
|||||||
/*********************
|
/*********************
|
||||||
* INCLUDES
|
* INCLUDES
|
||||||
*********************/
|
*********************/
|
||||||
#include "snapshot/lv_example_snapshot.h"
|
|
||||||
#include "monkey/lv_example_monkey.h"
|
|
||||||
#include "gridnav/lv_example_gridnav.h"
|
|
||||||
#include "fragment/lv_example_fragment.h"
|
#include "fragment/lv_example_fragment.h"
|
||||||
#include "imgfont/lv_example_imgfont.h"
|
#include "gridnav/lv_example_gridnav.h"
|
||||||
#include "msg/lv_example_msg.h"
|
|
||||||
#include "ime/lv_example_ime_pinyin.h"
|
#include "ime/lv_example_ime_pinyin.h"
|
||||||
|
#include "imgfont/lv_example_imgfont.h"
|
||||||
|
#include "monkey/lv_example_monkey.h"
|
||||||
|
#include "msg/lv_example_msg.h"
|
||||||
|
#include "snapshot/lv_example_snapshot.h"
|
||||||
|
|
||||||
/*********************
|
/*********************
|
||||||
* DEFINES
|
* DEFINES
|
||||||
|
|||||||
@@ -25,11 +25,11 @@ extern "C" {
|
|||||||
/**********************
|
/**********************
|
||||||
* GLOBAL PROTOTYPES
|
* GLOBAL PROTOTYPES
|
||||||
**********************/
|
**********************/
|
||||||
|
void lv_example_animimg_1(void);
|
||||||
|
|
||||||
void lv_example_arc_1(void);
|
void lv_example_arc_1(void);
|
||||||
void lv_example_arc_2(void);
|
void lv_example_arc_2(void);
|
||||||
|
|
||||||
void lv_example_animimg_1(void);
|
|
||||||
|
|
||||||
void lv_example_bar_1(void);
|
void lv_example_bar_1(void);
|
||||||
void lv_example_bar_2(void);
|
void lv_example_bar_2(void);
|
||||||
void lv_example_bar_3(void);
|
void lv_example_bar_3(void);
|
||||||
@@ -115,6 +115,8 @@ void lv_example_slider_1(void);
|
|||||||
void lv_example_slider_2(void);
|
void lv_example_slider_2(void);
|
||||||
void lv_example_slider_3(void);
|
void lv_example_slider_3(void);
|
||||||
|
|
||||||
|
void lv_example_span_1(void);
|
||||||
|
|
||||||
void lv_example_spinbox_1(void);
|
void lv_example_spinbox_1(void);
|
||||||
|
|
||||||
void lv_example_spinner_1(void);
|
void lv_example_spinner_1(void);
|
||||||
@@ -135,8 +137,6 @@ void lv_example_tileview_1(void);
|
|||||||
|
|
||||||
void lv_example_win_1(void);
|
void lv_example_win_1(void);
|
||||||
|
|
||||||
void lv_example_span_1(void);
|
|
||||||
|
|
||||||
/**********************
|
/**********************
|
||||||
* MACROS
|
* MACROS
|
||||||
**********************/
|
**********************/
|
||||||
|
|||||||
Reference in New Issue
Block a user