?? cursesp.cc
字號:
#ifdef UI_NCURSES/* written and Copyright (C) 1993 by Anatoly Ivasyuk (anatoly@nick.csh.rit.edu)*/#if !defined(lint)static char vcid[] = "$Id: cursesp.cc,v 0.20.1.1 1996/03/07 20:14:57 ralf Exp $";#endif // !lint#pragma implementation#include "cursesp.h"void NCursesPanel::redraw(){PANEL *pan; pan = panel_above(NULL); while (pan) { ::touchwin(panel_window(pan)); pan = panel_above(pan); } update_panels(); ::doupdate();}void NCursesPanel::refresh(){ update_panels(); ::doupdate();}int NCursesPanel::boldframe(const char *title){ standout(); box(); if (title) mvwaddstr(w, 0, ((p->wendx - p->wstartx + 1) - strlen(title)) / 2, title); return standend();}int NCursesPanel::frame(const char *title){ if (!title) { return box(); } else { box(); return mvwaddstr(w, 0, ((p->wendx - p->wstartx + 1) - strlen(title)) / 2, title); }}#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -