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

📄 menu.h

📁 LBreakout a breakout-style arcade game for Linux Requirements: X11, SDL[1.0 or better] Inst
💻 H
字号:
/***************************************************************************                          menu.h  -  description                             -------------------    begin                : Tue Feb 29 2000    copyright            : (C) 2000 by Michael Speck    email                :  ***************************************************************************//*************************************************************************** *                                                                         * *   This program is free software; you can redistribute it and/or modify  * *   it under the terms of the GNU General Public License as published by  * *   the Free Software Foundation; either version 2 of the License, or     * *   (at your option) any later version.                                   * *                                                                         * ***************************************************************************/#ifndef MENU_H#define MENU_H/**  *@author Michael Speck  */#include "menuitem.h"class Menu {public: 	Menu(char *cap, int num);	~Menu();	int  InsertItem(int i, MenuItem *mi);	void SetCurItem(int i);	MenuItem* CurItem();	MenuItem* Item(int i);	int ItemNum();	int KeyEvent(int code);	void Update(int repaint);	void Show(int repaint);	void Hide(int repaint);	void Refresh();	void Compute();	void Prepare(int item);	void NoBackgnd();	void ClearState();	void MouseMotion(int mx, int my);private:	char	caption[32];	int		item_num;	MenuItem	**items;	MenuItem	*cur_item;	int		cur_id;};#endif

⌨️ 快捷键说明

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