]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - menu/llib-lmenu
ncurses 5.3
[ncurses.git] / menu / llib-lmenu
index 3623b85e3155c017b761ca52689eef97ae816731..82a7af486f30e6acf7c2609729e85749d1473f9a 100644 (file)
@@ -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            *
  *                                                                          *
  * Permission is hereby granted, free of charge, to any person obtaining a  *
  * copy of this software and associated documentation files (the            *
  ****************************************************************************/
 
 /****************************************************************************
  ****************************************************************************/
 
 /****************************************************************************
- *  Author: Thomas E. Dickey <dickey@clark.net> 1996,1997                   *
+ *  Author: Thomas E. Dickey <dickey@clark.net> 1996-1999,2002              *
  ****************************************************************************/
 /* LINTLIBRARY */
 
  ****************************************************************************/
 /* LINTLIBRARY */
 
-/* ./m_adabind.c */
+/* ./m_attribs.c */
 
 #include "menu.priv.h"
 
 
 #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, 
 #undef set_menu_fore
 int    set_menu_fore(
                MENU    *menu, 
@@ -88,6 +70,14 @@ chtype       menu_grey(
 
 /* ./m_cursor.c */
 
 
 /* ./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)
 #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
 ITEM   _nc_Default_Item;
 
 #undef _nc_Connect_Items
-bool   _nc_Connect_Items(
+NCURSES_BOOL _nc_Connect_Items(
                MENU    *menu, 
                ITEM    **items)
                MENU    *menu, 
                ITEM    **items)
-               { return(*(bool *)0); }
+               { return(*(NCURSES_BOOL *)0); }
 
 #undef _nc_Disconnect_Items
 void   _nc_Disconnect_Items(
 
 #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, 
 #undef set_item_value
 int    set_item_value(
                ITEM    *item, 
-               bool    value)
+               NCURSES_BOOL value)
                { return(*(int *)0); }
 
 #undef item_value
                { return(*(int *)0); }
 
 #undef item_value
-bool   item_value(
+NCURSES_BOOL item_value(
                const ITEM *item)
                const ITEM *item)
-               { return(*(bool *)0); }
+               { return(*(NCURSES_BOOL *)0); }
 
 /* ./m_item_vis.c */
 
 #undef item_visible
 
 /* ./m_item_vis.c */
 
 #undef item_visible
-bool   item_visible(
+NCURSES_BOOL item_visible(
                const ITEM *item)
                const ITEM *item)
-               { return(*(bool *)0); }
+               { return(*(NCURSES_BOOL *)0); }
 
 /* ./m_items.c */
 
 
 /* ./m_items.c */