menuval.h

来自「一个basic语言的解释器」· C头文件 代码 · 共 57 行

H
57
字号
#ifndef __MENUVAL.H__
#define __MENUVAL.H__

// 菜单及菜单项的序号

// File菜单
const int MenuFile				=	0;
const int ItemNew				=	0;
const int ItemOpen				=	1;
const int ItemSave				=	2;
const int ItemSaveAs			=	3;
// 分隔线						=	4;
const int ItemPrint				=	5;
// 分隔线						=	6;
const int ItemQuit				=	7;

// Edit菜单
const int MenuEdit				=	1;
const int ItemFind				=	0;
const int ItemSearchAgain		=	1;
// 分隔线						=	2;
const int ItemStandardize		=	3;
const int ItemStandLine			=	4;
// 分隔线						=	5;
const int ItemMark				=	6;
const int ItemPrevious			=	7;
const int ItemFollowing			=	8;
const int ItemClearMark			=	9;

// Run菜单
const int MenuRun				=	2;
const int ItemRun				=	0;
const int ItemStopDebugging		=	1;
const int ItemGoToCursor		=	2;
const int ItemStepInto			=	3;
const int ItemStepOver			=	4;
// 分隔线						=	5;
const int ItemOutput			=	6;

// Debug菜单
const int MenuDebug				=	3;
const int ItemBreak				=	0;
const int ItemClearBreak		=	1;
// 分隔线						=	2;
const int ItemWatch				=	3;

// Help菜单
const int MenuHelp				=	4;
const int ItemHelpEdit			=	0;
const int ItemHelpSyntax		=	1;
const int ItemAboutCBasic		=	2;
// 分隔线						=	3;
const int ItemThanks			=	4;
const int ItemAboutMe			=	5;

#endif

⌨️ 快捷键说明

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