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

📄 cursesp.h

📁 ears-0.32, linux下有用的语音信号处理工具包
💻 H
字号:
// This is originally from the cursesp.h in the ncurses-1.9.3 package#ifdef UI_NCURSES#ifndef _CURSESP_H#define _CURSESP_H#pragma interface#include "cursesw.h"extern "C" {#include <panel.h>}class NCursesPanel : public NCursesColorWindow {    protected:	PANEL *p;    public:	NCursesPanel();		// make a full window size panel	NCursesPanel(int lines, int cols, int begin_y, int begin_x);	inline ~NCursesPanel();	// basic manipulation	int hide() { return hide_panel(p); }	int show() { return show_panel(p); }	int top() { return top_panel(p); }	int bottom() { return bottom_panel(p); }	int mvpan(int y, int x) { return move_panel(p, y, x); }	int mvwin(int y, int x) { return move_panel(p, y, x); }	static void redraw();	// redraw all panels	static void refresh();	// update screen	// decorations	int frame(const char *title =0);	int boldframe(const char *title =0);};inline NCursesPanel::NCursesPanel()	: NCursesColorWindow(0, 0, 0, 0){    p = new_panel(w);}inline NCursesPanel::NCursesPanel(int lines, int cols,				int begin_y, int begin_x)	: NCursesColorWindow(lines, cols, begin_y, begin_x){    p = new_panel(w);}inline NCursesPanel::~NCursesPanel(){    del_panel(p);    update_panels();    doupdate();}#endif // _CURSESP_H#endif

⌨️ 快捷键说明

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