📄 llib-lmenuw
字号:
/**************************************************************************** * Copyright (c) 2002 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 <dickey@clark.net> 2002 * ****************************************************************************//* LINTLIBRARY *//* ./m_attribs.c */#include "menu.priv.h"#undef set_menu_foreint set_menu_fore( MENU *menu, chtype attr) { return(*(int *)0); }#undef menu_forechtype menu_fore( const MENU *menu) { return(*(chtype *)0); }#undef set_menu_backint set_menu_back( MENU *menu, chtype attr) { return(*(int *)0); }#undef menu_backchtype menu_back( const MENU *menu) { return(*(chtype *)0); }#undef set_menu_greyint set_menu_grey( MENU *menu, chtype attr) { return(*(int *)0); }#undef menu_greychtype menu_grey( const MENU *menu) { return(*(chtype *)0); }/* ./m_cursor.c */#undef _nc_menu_cursor_posint _nc_menu_cursor_pos( const MENU *menu, const ITEM *item, int *pY, int *pX) { return(*(int *)0); }#undef pos_menu_cursorint pos_menu_cursor( const MENU *menu) { return(*(int *)0); }/* ./m_driver.c */#undef _nc_Match_Next_Character_In_Item_Nameint _nc_Match_Next_Character_In_Item_Name( MENU *menu, int ch, ITEM **item) { return(*(int *)0); }#undef menu_driverint menu_driver( MENU *menu, int c) { return(*(int *)0); }/* ./m_format.c */#undef set_menu_formatint set_menu_format( MENU *menu, int rows, int cols) { return(*(int *)0); }#undef menu_formatvoid menu_format( const MENU *menu, int *rows, int *cols) { /* void */ }/* ./m_global.c */#undef _nc_Default_MenuMENU _nc_Default_Menu;#undef _nc_Default_ItemITEM _nc_Default_Item;#undef _nc_Connect_ItemsNCURSES_BOOL _nc_Connect_Items( MENU *menu, ITEM **items) { return(*(NCURSES_BOOL *)0); }#undef _nc_Disconnect_Itemsvoid _nc_Disconnect_Items( MENU *menu) { /* void */ }#undef _nc_Calculate_Item_Length_and_Widthvoid _nc_Calculate_Item_Length_and_Width( MENU *menu) { /* void */ }#undef _nc_Link_Itemsvoid _nc_Link_Items( MENU *menu) { /* void */ }#undef _nc_Show_Menuvoid _nc_Show_Menu( const MENU *menu) { /* void */ }#undef _nc_New_TopRow_and_CurrentItemvoid _nc_New_TopRow_and_CurrentItem( MENU *menu, int new_toprow, ITEM *new_current_item) { /* void */ }/* ./m_hook.c */#undef set_menu_initint set_menu_init( MENU *menu, Menu_Hook func) { return(*(int *)0); }#undef menu_initMenu_Hook menu_init( const MENU *menu) { return(*(Menu_Hook *)0); }#undef set_menu_termint set_menu_term( MENU *menu, Menu_Hook func) { return(*(int *)0); }#undef menu_termMenu_Hook menu_term( const MENU *menu) { return(*(Menu_Hook *)0); }#undef set_item_initint set_item_init( MENU *menu, Menu_Hook func) { return(*(int *)0); }#undef item_initMenu_Hook item_init( const MENU *menu) { return(*(Menu_Hook *)0); }#undef set_item_termint set_item_term( MENU *menu, Menu_Hook func) { return(*(int *)0); }#undef item_termMenu_Hook item_term( const MENU *menu) { return(*(Menu_Hook *)0); }/* ./m_item_cur.c */#undef set_current_itemint set_current_item( MENU *menu, ITEM *item) { return(*(int *)0); }#undef current_itemITEM *current_item( const MENU *menu) { return(*(ITEM **)0); }#undef item_indexint item_index( const ITEM *item) { return(*(int *)0); }/* ./m_item_nam.c */#undef item_nameconst char *item_name( const ITEM *item) { return(*(const char **)0); }#undef item_descriptionconst char *item_description( const ITEM *item) { return(*(const char **)0); }/* ./m_item_new.c */#undef new_itemITEM *new_item( const char *name, const char *description) { return(*(ITEM **)0); }#undef free_itemint free_item( ITEM *item) { return(*(int *)0); }#undef set_menu_markint set_menu_mark( MENU *menu, const char *mark) { return(*(int *)0); }#undef menu_markconst char *menu_mark( const MENU *menu) { return(*(const char **)0); }/* ./m_item_opt.c */#undef set_item_optsint set_item_opts( ITEM *item, Item_Options opts) { return(*(int *)0); }#undef item_opts_offint item_opts_off( ITEM *item, Item_Options opts) { return(*(int *)0); }#undef item_opts_onint item_opts_on( ITEM *item, Item_Options opts) { return(*(int *)0); }#undef item_optsItem_Options item_opts( const ITEM *item) { return(*(Item_Options *)0); }/* ./m_item_top.c */#undef set_top_rowint set_top_row( MENU *menu, int row) { return(*(int *)0); }#undef top_rowint top_row( const MENU *menu) { return(*(int *)0); }/* ./m_item_use.c */#undef set_item_userptrint set_item_userptr( ITEM *item, void *userptr) { return(*(int *)0); }#undef item_userptrvoid *item_userptr( const ITEM *item) { return(*(void **)0); }/* ./m_item_val.c */#undef set_item_valueint set_item_value( ITEM *item, NCURSES_BOOL value) { return(*(int *)0); }#undef item_valueNCURSES_BOOL item_value( const ITEM *item) { return(*(NCURSES_BOOL *)0); }/* ./m_item_vis.c */#undef item_visibleNCURSES_BOOL item_visible( const ITEM *item) { return(*(NCURSES_BOOL *)0); }/* ./m_items.c */#undef set_menu_itemsint set_menu_items( MENU *menu, ITEM **items) { return(*(int *)0); }#undef menu_itemsITEM **menu_items( const MENU *menu) { return(*(ITEM ***)0); }#undef item_countint item_count( const MENU *menu) { return(*(int *)0); }/* ./m_new.c */#undef new_menuMENU *new_menu( ITEM **items) { return(*(MENU **)0); }#undef free_menuint free_menu( MENU *menu) { return(*(int *)0); }/* ./m_opts.c */#undef set_menu_optsint set_menu_opts( MENU *menu, Menu_Options opts) { return(*(int *)0); }#undef menu_opts_offint menu_opts_off( MENU *menu, Menu_Options opts) { return(*(int *)0); }#undef menu_opts_onint menu_opts_on( MENU *menu, Menu_Options opts) { return(*(int *)0); }#undef menu_optsMenu_Options menu_opts( const MENU *menu) { return(*(Menu_Options *)0); }/* ./m_pad.c */#undef set_menu_padint set_menu_pad( MENU *menu, int pad) { return(*(int *)0); }#undef menu_padint menu_pad( const MENU *menu) { return(*(int *)0); }/* ./m_pattern.c */#undef menu_patternchar *menu_pattern( const MENU *menu) { return(*(char **)0); }#undef set_menu_patternint set_menu_pattern( MENU *menu, const char *p) { return(*(int *)0); }/* ./m_post.c */#undef _nc_Post_Itemvoid _nc_Post_Item( const MENU *menu, const ITEM *item) { /* void */ }#undef _nc_Draw_Menuvoid _nc_Draw_Menu( const MENU *menu) { /* void */ }#undef post_menuint post_menu( MENU *menu) { return(*(int *)0); }#undef unpost_menuint unpost_menu( MENU *menu) { return(*(int *)0); }/* ./m_req_name.c */#undef menu_request_nameconst char *menu_request_name( int request) { return(*(const char **)0); }#undef menu_request_by_nameint menu_request_by_name( const char *str) { return(*(int *)0); }/* ./m_scale.c */#undef scale_menuint scale_menu( const MENU *menu, int *rows, int *cols) { return(*(int *)0); }/* ./m_spacing.c */#undef set_menu_spacingint set_menu_spacing( MENU *menu, int s_desc, int s_row, int s_col) { return(*(int *)0); }#undef menu_spacingint menu_spacing( const MENU *menu, int *s_desc, int *s_row, int *s_col) { return(*(int *)0); }/* ./m_sub.c */#undef set_menu_subint set_menu_sub( MENU *menu, WINDOW *win) { return(*(int *)0); }#undef menu_subWINDOW *menu_sub( const MENU *menu) { return(*(WINDOW **)0); }/* ./m_userptr.c */#undef set_menu_userptrint set_menu_userptr( MENU *menu, void *userptr) { return(*(int *)0); }#undef menu_userptrvoid *menu_userptr( const MENU *menu) { return(*(void **)0); }/* ./m_win.c */#undef set_menu_winint set_menu_win( MENU *menu, WINDOW *win) { return(*(int *)0); }#undef menu_winWINDOW *menu_win( const MENU *menu) { return(*(WINDOW **)0); }
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -