📄 item.h
字号:
#ifndef item_h
#define item_h
typedef void(* POINT)();
class Item
{
public:
Item(int,int,int,int,int,int,int,char *,POINT);
~Item();
static Item* search(int,Item *,Item *);
static Item *getFirst();
Item *getNext();
POINT getPointTo();
void drawItem();
void changeBK(int);
void resetBK();
private:
int x1;
int x2;
int y1;
int y2;
char *text;
char word;
int code;
int bkColor;
int tColor;
int rColor;
int fColor;
static Item *first;
static Item *end;
Item *next;
POINT pointTo;
};
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -