📄 menu.h
字号:
#ifndef MENU_H#define MENU_Hextern float menu_fgColor[4];extern float menu_hlColor1[4];extern float menu_hlColor2[4];typedef struct { /* FontTex *font; */ float fgColor[4]; /* entries */ float hlColor1[4]; /* the highlighted one */ float hlColor2[4]; char szCaption[64];} mDisplay;typedef struct Menu { int nEntries; int iHighlight; mDisplay display; char szName[64]; char szCapFormat[64]; struct Menu** pEntries; struct Menu* parent; void* param; /* reserved to bind parameters at runtime */} Menu;typedef struct { void* data; void* next;} node;/* fixme: this variable is a hack */extern int menutime;#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -