📄 llib-lncurses
字号:
/**************************************************************************** * Copyright (c) 1998-2003,2004 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy of this software and associated documentation files (the * * "Software"), to deal in the Software without restriction, including * * without limitation the rights to use, copy, modify, merge, publish, * * distribute, distribute with modifications, sublicense, and/or sell * * copies of the Software, and to permit persons to whom the Software is * * furnished to do so, subject to the following conditions: * * * * The above copyright notice and this permission notice shall be included * * in all copies or substantial portions of the Software. * * * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF * * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. * * IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, * * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR * * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR * * THE USE OR OTHER DEALINGS IN THE SOFTWARE. * * * * Except as contained in this notice, the name(s) of the above copyright * * holders shall not be used in advertising or otherwise to promote the * * sale, use or other dealings in this Software without prior written * * authorization. * ****************************************************************************//**************************************************************************** * Author: Thomas E. Dickey 1996-2003,2004 * ****************************************************************************//* LINTLIBRARY *//* ./tty/hardscroll.c */#include <curses.priv.h>#undef _nc_oldnumsint *_nc_oldnums;#undef _nc_scroll_optimizevoid _nc_scroll_optimize(void) { /* void */ }#undef _nc_linedumpvoid _nc_linedump(void) { /* void */ }/* ./tty/hashmap.c */#undef _nc_hash_mapvoid _nc_hash_map(void) { /* void */ }#undef _nc_make_oldhashvoid _nc_make_oldhash( int i) { /* void */ }#undef _nc_scroll_oldhashvoid _nc_scroll_oldhash( int n, int top, int bot) { /* void */ }/* ./base/lib_addch.c */#include <ctype.h>#undef _nc_renderchtype _nc_render( WINDOW *win, chtype ch) { return(*(chtype *)0); }#undef _nc_waddch_nosyncint _nc_waddch_nosync( WINDOW *win, const chtype c) { return(*(int *)0); }#undef waddchint waddch( WINDOW *win, const chtype ch) { return(*(int *)0); }#undef wechocharint wechochar( WINDOW *win, const chtype ch) { return(*(int *)0); }/* ./base/lib_addstr.c */#undef waddnstrint waddnstr( WINDOW *win, const char *astr, int n) { return(*(int *)0); }#undef waddchnstrint waddchnstr( WINDOW *win, const chtype *astr, int n) { return(*(int *)0); }/* ./base/lib_beep.c */#undef beepint beep(void) { return(*(int *)0); }/* ./base/lib_bkgd.c */#undef wbkgdsetvoid wbkgdset( WINDOW *win, chtype ch) { /* void */ }#undef wbkgdint wbkgd( WINDOW *win, chtype ch) { return(*(int *)0); }/* ./base/lib_box.c */#undef wborderint wborder( WINDOW *win, chtype ls, chtype rs, chtype ts, chtype bs, chtype tl, chtype tr, chtype bl, chtype br) { return(*(int *)0); }/* ./base/lib_chgat.c */#undef wchgatint wchgat( WINDOW *win, int n, attr_t attr, short color, const void *opts) { return(*(int *)0); }/* ./base/lib_clear.c */#undef wclearint wclear( WINDOW *win) { return(*(int *)0); }/* ./base/lib_clearok.c */#undef clearokint clearok( WINDOW *win, NCURSES_BOOL flag) { return(*(int *)0); }/* ./base/lib_clrbot.c */#undef wclrtobotint wclrtobot( WINDOW *win) { return(*(int *)0); }/* ./base/lib_clreol.c */#undef wclrtoeolint wclrtoeol( WINDOW *win) { return(*(int *)0); }/* ./base/lib_color.c */#include <tic.h>#undef COLOR_PAIRSint COLOR_PAIRS;#undef COLORSint COLORS;#undef _nc_reset_colorsNCURSES_BOOL _nc_reset_colors(void) { return(*(NCURSES_BOOL *)0); }#undef start_colorint start_color(void) { return(*(int *)0); }#undef init_pairint init_pair( short pair, short f, short b) { return(*(int *)0); }#undef init_colorint init_color( short color, short r, short g, short b) { return(*(int *)0); }#undef can_change_colorNCURSES_BOOL can_change_color(void) { return(*(NCURSES_BOOL *)0); }#undef has_colorsNCURSES_BOOL has_colors(void) { return(*(NCURSES_BOOL *)0); }#undef color_contentint color_content( short color, short *r, short *g, short *b) { return(*(int *)0); }#undef pair_contentint pair_content( short pair, short *f, short *b) { return(*(int *)0); }#undef _nc_do_colorvoid _nc_do_color( int old_pair, int pair, NCURSES_BOOL reverse, int (*outc)( int p1)) { /* void */ }/* ./base/lib_colorset.c */#undef wcolor_setint wcolor_set( WINDOW *win, short color_pair_number, void *opts) { return(*(int *)0); }/* ./base/lib_delch.c */#undef wdelchint wdelch( WINDOW *win) { return(*(int *)0); }/* ./base/lib_delwin.c */#undef delwinint delwin( WINDOW *win) { return(*(int *)0); }/* ./base/lib_echo.c */#undef echoint echo(void) { return(*(int *)0); }#undef noechoint noecho(void) { return(*(int *)0); }/* ./base/lib_endwin.c */#undef endwinint endwin(void) { return(*(int *)0); }/* ./base/lib_erase.c */#undef weraseint werase( WINDOW *win) { return(*(int *)0); }/* ./base/lib_flash.c */#undef flashint flash(void) { return(*(int *)0); }/* ./lib_gen.c */#undef addchint addch( const chtype z) { return(*(int *)0); }#undef addchnstrint addchnstr( const chtype *a1, int z) { return(*(int *)0); }#undef addchstrint addchstr( const chtype *z) { return(*(int *)0); }#undef addnstrint addnstr( const char *a1, int z) { return(*(int *)0); }#undef addstrint addstr( const char *z) { return(*(int *)0); }#undef attroffint attroff( NCURSES_ATTR_T z) { return(*(int *)0); }#undef attronint attron( NCURSES_ATTR_T z) { return(*(int *)0); }#undef attrsetint attrset( NCURSES_ATTR_T z) { return(*(int *)0); }#undef attr_getint attr_get( attr_t *a1, short *a2, void *z) { return(*(int *)0); }#undef attr_offint attr_off( attr_t a1, void *z) { return(*(int *)0); }#undef attr_onint attr_on( attr_t a1, void *z) { return(*(int *)0); }#undef attr_setint attr_set( attr_t a1, short a2, void *z) { return(*(int *)0); }#undef bkgdint bkgd( chtype z) { return(*(int *)0); }#undef bkgdsetvoid bkgdset( chtype z) { /* void */ }#undef borderint border( chtype a1, chtype a2, chtype a3, chtype a4, chtype a5, chtype a6, chtype a7, chtype z) { return(*(int *)0); }#undef boxint box( WINDOW *a1, chtype a2, chtype z) { return(*(int *)0); }#undef chgatint chgat( int a1, attr_t a2, short a3, const void *z) { return(*(int *)0); }#undef clearint clear(void) { return(*(int *)0); }#undef clrtobotint clrtobot(void) { return(*(int *)0); }#undef clrtoeolint clrtoeol(void) { return(*(int *)0); }#undef color_setint color_set( short a1, void *z) { return(*(int *)0); }#undef COLOR_PAIRint COLOR_PAIR( int z) { return(*(int *)0); }#undef delchint delch(void) { return(*(int *)0); }#undef deletelnint deleteln(void) { return(*(int *)0); }#undef echocharint echochar( const chtype z) { return(*(int *)0); }#undef eraseint erase(void) { return(*(int *)0); }#undef getbkgdchtype getbkgd( WINDOW *z) { return(*(chtype *)0); }#undef getchint getch(void) { return(*(int *)0); }#undef getnstrint getnstr( char *a1, int z) { return(*(int *)0); }#undef getstrint getstr( char *z) { return(*(int *)0); }#undef hlineint hline( chtype a1, int z) { return(*(int *)0); }#undef inchchtype inch(void) { return(*(chtype *)0); }#undef inchnstrint inchnstr( chtype *a1, int z) { return(*(int *)0); }#undef inchstrint inchstr( chtype *z) { return(*(int *)0); }#undef innstrint innstr( char *a1, int z) { return(*(int *)0); }#undef inschint insch( chtype z) { return(*(int *)0); }#undef insdellnint insdelln( int z) { return(*(int *)0); }#undef insertlnint insertln(void) { return(*(int *)0); }#undef insnstrint insnstr( const char *a1, int z) { return(*(int *)0); }#undef insstrint insstr( const char *z) { return(*(int *)0); }#undef instrint instr( char *z) { return(*(int *)0); }#undef moveint move( int a1, int z) { return(*(int *)0); }#undef mvaddchint mvaddch( int a1, int a2, const chtype z) { return(*(int *)0); }#undef mvaddchnstrint mvaddchnstr( int a1, int a2, const chtype *a3, int z) { return(*(int *)0); }#undef mvaddchstrint mvaddchstr( int a1, int a2, const chtype *z) { return(*(int *)0); }#undef mvaddnstrint mvaddnstr( int a1, int a2, const char *a3, int z) { return(*(int *)0); }#undef mvaddstrint mvaddstr( int a1, int a2, const char *z) { return(*(int *)0); }#undef mvchgatint mvchgat( int a1, int a2, int a3, attr_t a4, short a5, const void *z) { return(*(int *)0); }#undef mvdelchint mvdelch( int a1, int z) { return(*(int *)0); }#undef mvgetchint mvgetch( int a1, int z) { return(*(int *)0); }#undef mvgetnstrint mvgetnstr( int a1, int a2, char *a3, int z) { return(*(int *)0); }#undef mvgetstrint mvgetstr( int a1, int a2, char *z) { return(*(int *)0); }#undef mvhlineint mvhline( int a1, int a2, chtype a3, int z) { return(*(int *)0); }#undef mvinchchtype mvinch( int a1, int z) { return(*(chtype *)0); }#undef mvinchnstrint mvinchnstr( int a1, int a2, chtype *a3, int z) { return(*(int *)0); }#undef mvinchstrint mvinchstr( int a1, int a2, chtype *z) { return(*(int *)0); }#undef mvinnstrint mvinnstr( int a1, int a2, char *a3, int z) { return(*(int *)0); }#undef mvinschint mvinsch( int a1, int a2, chtype z) { return(*(int *)0); }#undef mvinsnstrint mvinsnstr( int a1, int a2, const char *a3, int z) { return(*(int *)0); }#undef mvinsstrint mvinsstr( int a1, int a2, const char *z) { return(*(int *)0); }#undef mvinstrint mvinstr( int a1, int a2, char *z) { return(*(int *)0); }#undef mvvlineint mvvline( int a1, int a2, chtype a3, int z) { return(*(int *)0); }#undef mvwaddchint mvwaddch( WINDOW *a1, int a2, int a3, const chtype z) { return(*(int *)0); }#undef mvwaddchnstrint mvwaddchnstr( WINDOW *a1, int a2, int a3, const chtype *a4, int z) { return(*(int *)0); }#undef mvwaddchstrint mvwaddchstr( WINDOW *a1, int a2, int a3, const chtype *z) { return(*(int *)0); }#undef mvwaddnstrint mvwaddnstr( WINDOW *a1, int a2, int a3, const char *a4, int z) { return(*(int *)0); }#undef mvwaddstrint mvwaddstr( WINDOW *a1, int a2, int a3, const char *z) { return(*(int *)0); }#undef mvwchgatint mvwchgat( WINDOW *a1, int a2, int a3, int a4, attr_t a5, short a6, const void *z) { return(*(int *)0); }#undef mvwdelchint mvwdelch( WINDOW *a1, int a2, int z) { return(*(int *)0); }#undef mvwgetchint mvwgetch( WINDOW *a1, int a2, int z) { return(*(int *)0); }#undef mvwgetnstrint mvwgetnstr( WINDOW *a1, int a2, int a3, char *a4, int z) { return(*(int *)0); }#undef mvwgetstrint mvwgetstr( WINDOW *a1, int a2, int a3, char *z) { return(*(int *)0); }#undef mvwhlineint mvwhline( WINDOW *a1, int a2, int a3, chtype a4, int z)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -