⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 menu_rc.c

📁 在linux下
💻 C
字号:
#define MENU_TOTAL 4		/* the number of root menus for menu_bar */		typedef struct _RootMenu{		char *menu_x;	/* pointing to the root menu name */		int menu_num;		//char *( *( *menu_y));	/* pointing to the menu_name table for the root menu above */		/* if any,there are callback funcs corresponding to menu_y[i] */	}RootMenu;		char *file_menu_x[]={		"Quit(Q)"	};	char *view_menu_x[]={		"End process(P)",		"Kill process(K)",		"Change priority(C)",		"Above all(N)"	};	char *edit_menu_x[]={		"Pertain(D)",		"Process(T)",		"Hide process(H)",		"Hided process(H)",		"Memory map(M)",		"Open file(F)"	};	char *help_menu_x[]={		"Category(C)",		"About(A)"	};static RootMenu root_menu[MENU_TOTAL]={			{"File(F)",1},		{"View(V)",4},		{"Edit(E)",6},		{"Help(H)",2}	};	char *( *submenu_y[MENU_TOTAL])={		file_menu_x,		edit_menu_x,		view_menu_x,		help_menu_x	};

⌨️ 快捷键说明

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