figure.h
来自「ucos-II+移植到arm+s3c2410的全套代码」· C头文件 代码 · 共 38 行
H
38 行
#ifndef __FIGURE_STRUCT_H__
#define __FIGURE_STRUCT_H__
#include "../inc/sysconfig.h"
#if USE_MINIGUI==0
#include "../inc/macro.h"
typedef struct {
int cx;
int cy;
}structSIZE;
typedef struct {
int x;
int y;
}structPOINT;
typedef struct {
int left;
int top;
int right;
int bottom;
}structRECT;
void CopyRect(structRECT* prect1, structRECT* prect2);
void SetRect(structRECT* prect, int left, int top, int right, int bottom);
void InflateRect(structRECT* prect, int cx,int cy);
void RectOffSet(structRECT* prect, int x,int y);
int GetRectWidth(structRECT* prect);
int GetRectHeight(structRECT* prect);
U8 IsInRect(structRECT *prect, int x, int y);
U8 IsInRect2(structRECT *prect, structPOINT*ppt);
#endif //#if USE_MINIGUI==0
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?