examples: style_usage: skeleton added

This commit is contained in:
Gabor
2017-08-12 10:10:16 +02:00
parent 125b199f85
commit d69c18dba4
2 changed files with 106 additions and 0 deletions
+64
View File
@@ -0,0 +1,64 @@
/**
* @file style_usage.c
*
*/
/*
*
*/
/*********************
* INCLUDES
*********************/
#include "style_usage.h"
#if USE_LV_EXAMPLE != 0
#include "lvgl/lvgl.h"
/*********************
* DEFINES
*********************/
/**********************
* TYPEDEFS
**********************/
/**********************
* STATIC PROTOTYPES
**********************/
/**********************
* STATIC VARIABLES
**********************/
/**********************
* MACROS
**********************/
/**********************
* GLOBAL FUNCTIONS
**********************/
/**
* Create a simple 'Hello world!' label
*/
void style_usage_init(void)
{
/*3 buttons*/
/*copy default style and mod, create new style*/
/*3 labels font + symbol font*/
/*3 leds*/
}
/**********************
* STATIC FUNCTIONS
**********************/
#endif /*USE_LV_EXAMPLE != 0*/
+42
View File
@@ -0,0 +1,42 @@
/**
* @file style_usage.h
*
*/
#ifndef STYLE_USAGE_H
#define STYLE_USAGE_H
#ifdef __cplusplus
extern "C" {
#endif
/*********************
* INCLUDES
*********************/
#include "lv_conf.h"
#if USE_LV_EXAMPLE != 0
/*********************
* DEFINES
*********************/
/**********************
* TYPEDEFS
**********************/
/**********************
* GLOBAL PROTOTYPES
**********************/
void style_usage_init(void);
/**********************
* MACROS
**********************/
#endif /*USE_LV_EXAMPLE != 0*/
#ifdef __cplusplus
} /* extern "C" */
#endif
#endif /*LV_HELLO_WORLD_H*/