1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-02-04 07:13:00 +08:00
lvgl/lv_app/lv_app_util/lv_app_notice.h

47 lines
812 B
C
Raw Normal View History

2016-12-29 07:10:49 +01:00
/**
* @file lv_app_notice.h
*
*/
#ifndef LV_APP_NOTICE_H
#define LV_APP_NOTICE_H
/*********************
* INCLUDES
*********************/
#include "../lv_app.h"
#include <stdarg.h>
2016-12-29 07:10:49 +01:00
#if LV_APP_ENABLE != 0
/*********************
* DEFINES
*********************/
/**********************
* TYPEDEFS
**********************/
/**********************
* GLOBAL PROTOTYPES
**********************/
/**
* Initialize the Notifications
*/
2016-12-29 07:10:49 +01:00
void lv_app_notice_init(void);
/**
* Add a notification with a given text
* @param format pritntf-like format string
* @return pointer the notice which is a message box (lv_mbox) object
*/
lv_obj_t * lv_app_notice_add(const char * format, ...);
2016-12-29 07:10:49 +01:00
/**********************
* MACROS
**********************/
#endif /*LV_APP_NOTICE_H*/
#endif