aboutsummaryrefslogtreecommitdiff
path: root/contrib/ncurses/menu/llib-lmenu
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2007-01-20 07:32:02 +0000
committerRong-En Fan <rafan@FreeBSD.org>2007-01-20 07:32:02 +0000
commit4a1a95108dd76c4259fe6c37c4471f7969b17983 (patch)
tree1c6c3b549401156e1dbd96b9a6b18521f63ffb58 /contrib/ncurses/menu/llib-lmenu
parent555c9cae3cf9146482732c28c06a73314b618149 (diff)
downloadsrc-4a1a95108dd76c4259fe6c37c4471f7969b17983.tar.gz
src-4a1a95108dd76c4259fe6c37c4471f7969b17983.zip
Import ncurses 5.6-20061217 onto the vender branch
Approved by: delphij
Notes
Notes: svn path=/vendor/ncurses/dist/; revision=166124
Diffstat (limited to 'contrib/ncurses/menu/llib-lmenu')
-rw-r--r--contrib/ncurses/menu/llib-lmenu55
1 files changed, 46 insertions, 9 deletions
diff --git a/contrib/ncurses/menu/llib-lmenu b/contrib/ncurses/menu/llib-lmenu
index 3f421c1113b2..fc17cc364d42 100644
--- a/contrib/ncurses/menu/llib-lmenu
+++ b/contrib/ncurses/menu/llib-lmenu
@@ -1,5 +1,5 @@
/****************************************************************************
- * Copyright (c) 1999 Free Software Foundation, Inc. *
+ * Copyright (c) 1999-2002,2005 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,7 +27,7 @@
****************************************************************************/
/****************************************************************************
- * Author: Thomas E. Dickey <dickey@clark.net> 1996,1997,1999 *
+ * Author: Thomas E. Dickey 1996-2002,2005 *
****************************************************************************/
/* LINTLIBRARY */
@@ -122,16 +122,21 @@ 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(
MENU *menu)
{ /* void */ }
+#undef _nc_Calculate_Text_Width
+int _nc_Calculate_Text_Width(
+ const TEXT *item)
+ { return(*(int *)0); }
+
#undef _nc_Calculate_Item_Length_and_Width
void _nc_Calculate_Item_Length_and_Width(
MENU *menu)
@@ -310,20 +315,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 */
@@ -481,6 +486,38 @@ WINDOW *menu_sub(
const MENU *menu)
{ return(*(WINDOW **)0); }
+/* ./m_trace.c */
+
+#undef _nc_retrace_item
+ITEM *_nc_retrace_item(
+ ITEM *code)
+ { return(*(ITEM **)0); }
+
+#undef _nc_retrace_item_ptr
+ITEM **_nc_retrace_item_ptr(
+ ITEM **code)
+ { return(*(ITEM ***)0); }
+
+#undef _nc_retrace_item_opts
+Item_Options _nc_retrace_item_opts(
+ Item_Options code)
+ { return(*(Item_Options *)0); }
+
+#undef _nc_retrace_menu
+MENU *_nc_retrace_menu(
+ MENU *code)
+ { return(*(MENU **)0); }
+
+#undef _nc_retrace_menu_hook
+Menu_Hook _nc_retrace_menu_hook(
+ Menu_Hook code)
+ { return(*(Menu_Hook *)0); }
+
+#undef _nc_retrace_menu_opts
+Menu_Options _nc_retrace_menu_opts(
+ Menu_Options code)
+ { return(*(Menu_Options *)0); }
+
/* ./m_userptr.c */
#undef set_menu_userptr