2017-08-02 14:24:26 +00:00
|
|
|
#ifndef __INCLUDE_GUI_NOTICE_H__
|
|
|
|
#define __INCLUDE_GUI_NOTICE_H__
|
|
|
|
//=======================================================================//
|
2021-04-13 15:09:25 +00:00
|
|
|
//= Include files. =//
|
2017-08-02 14:24:26 +00:00
|
|
|
//=======================================================================//
|
|
|
|
#include "SGUI_Common.h"
|
|
|
|
#include "SGUI_Basic.h"
|
2019-03-06 13:44:21 +00:00
|
|
|
#include "SGUI_Text.h"
|
2017-08-02 14:24:26 +00:00
|
|
|
|
|
|
|
//=======================================================================//
|
2021-04-13 15:09:25 +00:00
|
|
|
//= Data type definition. =//
|
2017-08-02 14:24:26 +00:00
|
|
|
//=======================================================================//
|
2021-10-08 16:31:30 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C"{
|
|
|
|
#endif
|
2019-12-09 14:11:37 +00:00
|
|
|
typedef struct
|
|
|
|
{
|
2021-04-13 15:09:25 +00:00
|
|
|
SGUI_CSZSTR cszNoticeText;
|
|
|
|
const SGUI_BMP_RES* pstIcon;
|
|
|
|
SGUI_RECT stLayout;
|
2019-12-09 14:11:37 +00:00
|
|
|
}SGUI_NOTICT_BOX;
|
2021-10-08 16:31:30 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
2017-08-02 14:24:26 +00:00
|
|
|
|
|
|
|
//=======================================================================//
|
2021-04-13 15:09:25 +00:00
|
|
|
//= Public function declaration. =//
|
2017-08-02 14:24:26 +00:00
|
|
|
//=======================================================================//
|
2021-10-08 16:31:30 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C"{
|
|
|
|
#endif
|
2021-04-13 15:09:25 +00:00
|
|
|
SGUI_SIZE SGUI_Notice_Repaint(SGUI_SCR_DEV* pstDeviceIF, SGUI_NOTICT_BOX* pstObject, const SGUI_FONT_RES* pstFontRes, SGUI_INT uiTextOffset);
|
|
|
|
void SGUI_Notice_FitArea(SGUI_SCR_DEV* pstDeviceIF, SGUI_RECT* pstFitArea);
|
2021-10-08 16:31:30 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
2017-08-02 14:24:26 +00:00
|
|
|
|
|
|
|
#endif // __INCLUDE_GUI_NOTICE_H__
|