1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-01-14 06:42:58 +08:00
lvgl/lv_themes/lv_theme_night.h

57 lines
998 B
C
Raw Normal View History

2017-11-21 10:35:57 +01:00
/**
* @file lv_theme_night.h
*
*/
#ifndef LV_THEME_NIGHT_H
#define LV_THEME_NIGHT_H
#ifdef __cplusplus
extern "C" {
#endif
/*********************
* INCLUDES
*********************/
2017-11-26 23:57:39 +01:00
#include "../../lv_conf.h"
2017-11-21 10:35:57 +01:00
#if USE_LV_THEME_NIGHT
/*********************
* DEFINES
*********************/
/**********************
* TYPEDEFS
**********************/
/**********************
* GLOBAL PROTOTYPES
**********************/
/**
* Initialize the night theme
* @param hue [0..360] hue value from HSV color space to define the theme's base color
* @param font pointer to a font (NULL to use the default)
* @return pointer to the initialized theme
*/
2017-11-23 21:28:36 +01:00
lv_theme_t * lv_theme_night_init(uint16_t hue, lv_font_t *font);
2017-11-21 10:35:57 +01:00
/**
* Get a pointer to the theme
* @return pointer to the theme
*/
lv_theme_t * lv_theme_get_night(void);
/**********************
* MACROS
**********************/
#endif
#ifdef __cplusplus
} /* extern "C" */
#endif
#endif /*LV_THEME_NIGHT_H*/