mirror of
https://github.com/lvgl/lvgl.git
synced 2026-06-01 00:51:49 +08:00
add the prototypes of the examples
This commit is contained in:
@@ -3,8 +3,8 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef LV_EX_FLEX_H
|
||||
#define LV_EX_FLEX_H
|
||||
#ifndef LV_EXAMPLE_FLEX_H
|
||||
#define LV_EXAMPLE_FLEX_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
@@ -25,6 +25,12 @@ extern "C" {
|
||||
/**********************
|
||||
* GLOBAL PROTOTYPES
|
||||
**********************/
|
||||
void lv_example_flex_1(void);
|
||||
void lv_example_flex_2(void);
|
||||
void lv_example_flex_3(void);
|
||||
void lv_example_flex_4(void);
|
||||
void lv_example_flex_5(void);
|
||||
void lv_example_flex_6(void);
|
||||
|
||||
/**********************
|
||||
* MACROS
|
||||
@@ -34,4 +40,4 @@ extern "C" {
|
||||
} /* extern "C" */
|
||||
#endif
|
||||
|
||||
#endif /*LV_EX_FLEX_H*/
|
||||
#endif /*LV_EXAMPLE_FLEX_H*/
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef LV_EX_GRID_H
|
||||
#define LV_EX_GRID_H
|
||||
#ifndef LV_EXAMPLE_GRID_H
|
||||
#define LV_EXAMPLE_GRID_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
@@ -25,6 +25,12 @@ extern "C" {
|
||||
/**********************
|
||||
* GLOBAL PROTOTYPES
|
||||
**********************/
|
||||
void lv_example_grid_1(void);
|
||||
void lv_example_grid_2(void);
|
||||
void lv_example_grid_3(void);
|
||||
void lv_example_grid_4(void);
|
||||
void lv_example_grid_5(void);
|
||||
void lv_example_grid_6(void);
|
||||
|
||||
/**********************
|
||||
* MACROS
|
||||
@@ -34,4 +40,4 @@ extern "C" {
|
||||
} /* extern "C" */
|
||||
#endif
|
||||
|
||||
#endif /*LV_EX_GRID_H*/
|
||||
#endif /*LV_EXAMPLE_GRID_H*/
|
||||
|
||||
@@ -0,0 +1,39 @@
|
||||
/**
|
||||
* @file lv_example_layout.h
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef LV_EXAMPLE_LAYOUT_H
|
||||
#define LV_EXAMPLE_LAYOUT_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/*********************
|
||||
* INCLUDES
|
||||
*********************/
|
||||
#include "flex/lv_example_flex.h"
|
||||
#include "grid/lv_example_grid.h"
|
||||
|
||||
/*********************
|
||||
* DEFINES
|
||||
*********************/
|
||||
|
||||
/**********************
|
||||
* TYPEDEFS
|
||||
**********************/
|
||||
|
||||
/**********************
|
||||
* GLOBAL PROTOTYPES
|
||||
**********************/
|
||||
|
||||
/**********************
|
||||
* MACROS
|
||||
**********************/
|
||||
|
||||
#ifdef __cplusplus
|
||||
} /* extern "C" */
|
||||
#endif
|
||||
|
||||
#endif /*LV_EXAMPLE_LAYOUT_H*/
|
||||
Reference in New Issue
Block a user