diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2024-06-20 11:15:14 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2024-06-20 11:26:22 +0000 |
commit | 21817992b3314c908ab50f0bb88d2ee750b9c4ac (patch) | |
tree | 4acd3e6a038b5ac34507c48de17c77fac66dfb5c /contrib/ncurses/menu/m_item_opt.c | |
parent | 6eeedf35c3ecf50cc3def1eaa40a37b2257b85ac (diff) | |
parent | 24fa7a5107c5b75d1c197accf0305be64bc72882 (diff) | |
download | src-21817992b3314c908ab50f0bb88d2ee750b9c4ac.tar.gz src-21817992b3314c908ab50f0bb88d2ee750b9c4ac.zip |
ncurses: vendor import version 6.5
Diffstat (limited to 'contrib/ncurses/menu/m_item_opt.c')
-rw-r--r-- | contrib/ncurses/menu/m_item_opt.c | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/contrib/ncurses/menu/m_item_opt.c b/contrib/ncurses/menu/m_item_opt.c index 985fd2988c37..495e409b601b 100644 --- a/contrib/ncurses/menu/m_item_opt.c +++ b/contrib/ncurses/menu/m_item_opt.c @@ -1,5 +1,5 @@ /**************************************************************************** - * Copyright 2020 Thomas E. Dickey * + * Copyright 2020,2021 Thomas E. Dickey * * Copyright 1998-2004,2010 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * @@ -38,12 +38,12 @@ #include "menu.priv.h" -MODULE_ID("$Id: m_item_opt.c,v 1.21 2020/12/12 00:38:08 tom Exp $") +MODULE_ID("$Id: m_item_opt.c,v 1.22 2021/06/17 21:20:30 tom Exp $") /*--------------------------------------------------------------------------- -| Facility : libnmenu -| Function : int set_item_opts(ITEM *item, Item_Options opts) -| +| Facility : libnmenu +| Function : int set_item_opts(ITEM *item, Item_Options opts) +| | Description : Set the options of the item. If there are relevant | changes, the item is connected and the menu is posted, | the menu will be redisplayed. @@ -86,9 +86,9 @@ set_item_opts(ITEM *item, Item_Options opts) } /*--------------------------------------------------------------------------- -| Facility : libnmenu -| Function : int item_opts_off(ITEM *item, Item_Options opts) -| +| Facility : libnmenu +| Function : int item_opts_off(ITEM *item, Item_Options opts) +| | Description : Switch of the options for this item. | | Return Values : E_OK - success @@ -114,9 +114,9 @@ item_opts_off(ITEM *item, Item_Options opts) } /*--------------------------------------------------------------------------- -| Facility : libnmenu -| Function : int item_opts_on(ITEM *item, Item_Options opts) -| +| Facility : libnmenu +| Function : int item_opts_on(ITEM *item, Item_Options opts) +| | Description : Switch on the options for this item. | | Return Values : E_OK - success @@ -143,9 +143,9 @@ item_opts_on(ITEM *item, Item_Options opts) } /*--------------------------------------------------------------------------- -| Facility : libnmenu -| Function : Item_Options item_opts(const ITEM *item) -| +| Facility : libnmenu +| Function : Item_Options item_opts(const ITEM *item) +| | Description : Switch of the options for this item. | | Return Values : Items options |