X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=menu%2Fllib-lmenu;h=82a7af486f30e6acf7c2609729e85749d1473f9a;hp=3623b85e3155c017b761ca52689eef97ae816731;hb=46722468f47c2b77b3987729b4bcf2321cccfd01;hpb=661078ddbde3ce0f3b06e95642fbb9b5fef7dca1 diff --git a/menu/llib-lmenu b/menu/llib-lmenu index 3623b85e..82a7af48 100644 --- a/menu/llib-lmenu +++ b/menu/llib-lmenu @@ -1,5 +1,5 @@ /**************************************************************************** - * Copyright (c) 1998 Free Software Foundation, Inc. * + * Copyright (c) 1999,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 * @@ -27,32 +27,14 @@ ****************************************************************************/ /**************************************************************************** - * Author: Thomas E. Dickey 1996,1997 * + * Author: Thomas E. Dickey 1996-1999,2002 * ****************************************************************************/ /* LINTLIBRARY */ -/* ./m_adabind.c */ +/* ./m_attribs.c */ #include "menu.priv.h" -#undef _nc_ada_normalize_menu_opts -void _nc_ada_normalize_menu_opts( - int *opt) - { /* void */ } - -#undef _nc_ada_normalize_item_opts -void _nc_ada_normalize_item_opts( - int *opt) - { /* void */ } - -#undef _nc_get_item -ITEM *_nc_get_item( - const MENU *menu, - int idx) - { return(*(ITEM **)0); } - -/* ./m_attribs.c */ - #undef set_menu_fore int set_menu_fore( MENU *menu, @@ -88,6 +70,14 @@ chtype menu_grey( /* ./m_cursor.c */ +#undef _nc_menu_cursor_pos +int _nc_menu_cursor_pos( + const MENU *menu, + const ITEM *item, + int *pY, + int *pX) + { return(*(int *)0); } + #undef pos_menu_cursor int pos_menu_cursor( const MENU *menu) @@ -132,10 +122,10 @@ MENU _nc_Default_Menu; ITEM _nc_Default_Item; #undef _nc_Connect_Items -bool _nc_Connect_Items( +NCURSES_BOOL _nc_Connect_Items( MENU *menu, ITEM **items) - { return(*(bool *)0); } + { return(*(NCURSES_BOOL *)0); } #undef _nc_Disconnect_Items void _nc_Disconnect_Items( @@ -320,20 +310,20 @@ void *item_userptr( #undef set_item_value int set_item_value( ITEM *item, - bool value) + NCURSES_BOOL value) { return(*(int *)0); } #undef item_value -bool item_value( +NCURSES_BOOL item_value( const ITEM *item) - { return(*(bool *)0); } + { return(*(NCURSES_BOOL *)0); } /* ./m_item_vis.c */ #undef item_visible -bool item_visible( +NCURSES_BOOL item_visible( const ITEM *item) - { return(*(bool *)0); } + { return(*(NCURSES_BOOL *)0); } /* ./m_items.c */