guidesktop.h

来自「嵌入式方面的一些简单程序」· C头文件 代码 · 共 42 行

H
42
字号
#ifndef GUIDESKTOP_H
#define GUIDESKTOP_H
#include "Gui.h"
#include "Point.h"
#include "Def.h"
#include "Word.h"

typedef U32 Handle;
typedef U16 Color;
typedef void (*CallBack)(Handle);
typedef struct
{
    Point p;
    int x,y;  //长与宽
}Rent;
typedef struct
{
    CallBack CBTouch;
    Handle Parameter;
    Handle HChilde;
    Handle HBrother;
    Rent rent;
    Color BackColor;
    Color FrontColor;
}Obj;
typedef struct
{
    Obj obj;
    Handle HText;
}Win;
typedef struct
{
    Obj obj;
    Handle HText;
    
}Bar;
typedef struct
{
    Obj obj;
    Handle HText;
}Button;
#endif

⌨️ 快捷键说明

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