📄 menu_base.h
字号:
/* * Copyright (c) 1999 - 2001, Artur Merke <amerke@ira.uka.de> * * This file is part of FrameView2d. * * FrameView2d 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, or (at your option) * any later version. * * FrameView2d is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with FrameView2d; see the file COPYING. If not, write to * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */#ifndef _MENU_BASE_H_#define _MENU_BASE_H_class MenuBase { public: virtual ~MenuBase() { } virtual bool needs_redraw() const= 0; virtual bool set_number_of_buttons(int num)= 0; virtual int get_nubber_of_buttons() const =0; virtual bool set_button_label(int num, const char * lab)= 0; virtual const char * get_button_label(int num) const =0; virtual bool set_menu_extended(bool flag= true)= 0; virtual bool set_exit_program() = 0;};#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -