⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 osdcp_rec.h

📁 mstar 776 开发的车载dvd
💻 H
字号:
#ifndef OSDCP_REC_H
#define OSDCP_REC_H

#include "DataType.h"
#include "msAPI_OSD.h"

typedef struct
{

    U8 rectype;
    
    U16 x;
    U16 y;
    U16 width;
    U16 height;
    U16 radius;  
    U32 f_clr;  //frame color
    //U32 t_clr;  //text_color
    U32 b_clr;  //background color
    U32 g_clr;  //gradient color
    U8 u8Gradient;
    //U8 bStringIndexWidth;
    //EN_ALIGNMENT_TYPE enTextAlign;
    //BOOLEAN fHighLight;
    U8 bFrameWidth;
    //MSAPI_GEFontFmt Fontfmt;
    
}OSDcp_rec;

typedef enum
{
    OSDCP_REC_LINE,
    OSDCP_REC_FRAME,
    OSDCP_REC_BLOCK,    
    OSDCP_REC_BORDERBLOCK,
    
    OSDCP_REC_NONE=0xff
} EN_OSDCP_REC_TYPE;

#ifdef OSDCP_REC_C
#define INTERFACE
#else
#define INTERFACE extern 
#endif

INTERFACE void osdcp_rec_draw(OSDcp_rec* this);

INTERFACE	OSDcp_rec* osdcp_rec_constructor(U8 rectype, U16 x, U16 y, U16 width, U16 height, U16 radius, U32 f_clr, U32 b_clr, U32 g_clr, U8 u8Gradient, U8 bFrameWidth); 
INTERFACE	void osdcp_rec_destructor(OSDcp_rec*);

#undef INTERFACE

#endif /* OSDCP_REC_H */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -