ncursesw-morphos/menu/llib-lmenu

484 lines
8.9 KiB
Plaintext
Raw Normal View History

1997-05-15 12:00:00 +08:00
/******************************************************************************
* Copyright 1996 by Thomas E. Dickey <dickey@clark.net> *
* All Rights Reserved. *
* *
* Permission to use, copy, modify, and distribute this software and its *
* documentation for any purpose and without fee is hereby granted, provided *
* that the above copyright notice appear in all copies and that both that *
* copyright notice and this permission notice appear in supporting *
* documentation, and that the name of the above listed copyright holder(s) *
* not be used in advertising or publicity pertaining to distribution of the *
* software without specific, written prior permission. THE ABOVE LISTED *
* COPYRIGHT HOLDER(S) DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, *
* INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO *
* EVENT SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE LIABLE FOR ANY *
* SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER *
* RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF *
* CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN *
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. *
******************************************************************************/
/* LINTLIBRARY */
/* ./m_attribs.c */
#include "menu.priv.h"
#undef set_menu_fore
int set_menu_fore(
MENU *menu,
chtype attr)
{ return(*(int *)0); }
#undef menu_fore
chtype menu_fore(
const MENU *menu)
{ return(*(chtype *)0); }
#undef set_menu_back
int set_menu_back(
MENU *menu,
chtype attr)
{ return(*(int *)0); }
#undef menu_back
chtype menu_back(
const MENU *menu)
{ return(*(chtype *)0); }
#undef set_menu_grey
int set_menu_grey(
MENU *menu,
chtype attr)
{ return(*(int *)0); }
#undef menu_grey
chtype menu_grey(
const MENU *menu)
{ return(*(chtype *)0); }
#undef set_menu_pad
int set_menu_pad(
MENU *menu,
int pad)
{ return(*(int *)0); }
#undef menu_pad
int menu_pad(
const MENU *menu)
{ return(*(int *)0); }
/* ./m_cursor.c */
#undef pos_menu_cursor
int pos_menu_cursor(
const MENU *menu)
{ return(*(int *)0); }
/* ./m_driver.c */
#undef menu_pattern
char *menu_pattern(
const MENU *menu)
{ return(*(char **)0); }
#undef set_menu_pattern
int set_menu_pattern(
MENU *menu,
const char *p)
{ return(*(int *)0); }
#undef menu_driver
int menu_driver(
MENU *menu,
int c)
{ return(*(int *)0); }
/* ./m_format.c */
#undef set_menu_format
int set_menu_format(
MENU *menu,
int rows,
int cols)
{ return(*(int *)0); }
#undef menu_format
void menu_format(
const MENU *menu,
int *rows,
int *cols)
{ /* void */ }
/* ./m_global.c */
#undef _nc_Default_Menu
MENU _nc_Default_Menu;
#undef _nc_Default_Item
ITEM _nc_Default_Item;
#undef _nc_Connect_Items
bool _nc_Connect_Items(
MENU *menu,
ITEM **items)
{ return(*(bool *)0); }
#undef _nc_Disconnect_Items
void _nc_Disconnect_Items(
MENU *menu)
{ /* void */ }
#undef _nc_Calculate_Item_Length_and_Width
void _nc_Calculate_Item_Length_and_Width(
MENU *menu)
{ /* void */ }
#undef _nc_Link_Items
void _nc_Link_Items(
MENU *menu)
{ /* void */ }
#undef _nc_Show_Menu
void _nc_Show_Menu(
const MENU *menu)
{ /* void */ }
#undef _nc_New_TopRow_and_CurrentItem
void _nc_New_TopRow_and_CurrentItem(
MENU *menu,
int new_toprow,
ITEM *new_current_item)
{ /* void */ }
/* ./m_hook.c */
#undef set_menu_init
int set_menu_init(
MENU *menu,
Menu_Hook func)
{ return(*(int *)0); }
#undef menu_init
Menu_Hook menu_init(
const MENU *menu)
{ return(*(Menu_Hook *)0); }
#undef set_menu_term
int set_menu_term(
MENU *menu,
Menu_Hook func)
{ return(*(int *)0); }
#undef menu_term
Menu_Hook menu_term(
const MENU *menu)
{ return(*(Menu_Hook *)0); }
#undef set_item_init
int set_item_init(
MENU *menu,
Menu_Hook func)
{ return(*(int *)0); }
#undef item_init
Menu_Hook item_init(
const MENU *menu)
{ return(*(Menu_Hook *)0); }
#undef set_item_term
int set_item_term(
MENU *menu,
Menu_Hook func)
{ return(*(int *)0); }
#undef item_term
Menu_Hook item_term(
const MENU *menu)
{ return(*(Menu_Hook *)0); }
/* ./m_item_cur.c */
#undef set_current_item
int set_current_item(
MENU *menu,
ITEM *item)
{ return(*(int *)0); }
#undef current_item
ITEM *current_item(
const MENU *menu)
{ return(*(ITEM **)0); }
#undef item_index
int item_index(
const ITEM *item)
{ return(*(int *)0); }
#undef set_top_row
int set_top_row(
MENU *menu,
int row)
{ return(*(int *)0); }
#undef top_row
int top_row(
const MENU *menu)
{ return(*(int *)0); }
/* ./m_item_nam.c */
#undef item_name
const char *item_name(
const ITEM *item)
{ return(*(const char **)0); }
#undef item_description
const char *item_description(
const ITEM *item)
{ return(*(const char **)0); }
/* ./m_item_new.c */
#undef new_item
ITEM *new_item(
const char *name,
const char *description)
{ return(*(ITEM **)0); }
#undef free_item
int free_item(
ITEM *item)
{ return(*(int *)0); }
#undef set_menu_mark
int set_menu_mark(
MENU *menu,
const char *mark)
{ return(*(int *)0); }
#undef menu_mark
const char *menu_mark(
const MENU *menu)
{ return(*(const char **)0); }
/* ./m_item_opt.c */
#undef set_item_opts
int set_item_opts(
ITEM *item,
Item_Options opts)
{ return(*(int *)0); }
#undef item_opts_off
int item_opts_off(
ITEM *item,
Item_Options opts)
{ return(*(int *)0); }
#undef item_opts_on
int item_opts_on(
ITEM *item,
Item_Options opts)
{ return(*(int *)0); }
#undef item_opts
Item_Options item_opts(
const ITEM *item)
{ return(*(Item_Options *)0); }
/* ./m_item_use.c */
#undef set_item_userptr
int set_item_userptr(
ITEM *item,
const void *userptr)
{ return(*(int *)0); }
#undef item_userptr
const void *item_userptr(
const ITEM *item)
{ return(*(const void **)0); }
/* ./m_item_val.c */
#undef set_item_value
int set_item_value(
ITEM *item,
bool value)
{ return(*(int *)0); }
#undef item_value
bool item_value(
const ITEM *item)
{ return(*(bool *)0); }
/* ./m_item_vis.c */
#undef item_visible
bool item_visible(
const ITEM *item)
{ return(*(bool *)0); }
/* ./m_items.c */
#undef set_menu_items
int set_menu_items(
MENU *menu,
ITEM **items)
{ return(*(int *)0); }
#undef menu_items
ITEM **menu_items(
const MENU *menu)
{ return(*(ITEM ***)0); }
#undef item_count
int item_count(
const MENU *menu)
{ return(*(int *)0); }
/* ./m_new.c */
#undef new_menu
MENU *new_menu(
ITEM **items)
{ return(*(MENU **)0); }
#undef free_menu
int free_menu(
MENU *menu)
{ return(*(int *)0); }
/* ./m_opts.c */
#undef set_menu_opts
int set_menu_opts(
MENU *menu,
Menu_Options opts)
{ return(*(int *)0); }
#undef menu_opts_off
int menu_opts_off(
MENU *menu,
Menu_Options opts)
{ return(*(int *)0); }
#undef menu_opts_on
int menu_opts_on(
MENU *menu,
Menu_Options opts)
{ return(*(int *)0); }
#undef menu_opts
Menu_Options menu_opts(
const MENU *menu)
{ return(*(Menu_Options *)0); }
/* ./m_post.c */
#undef _nc_Post_Item
void _nc_Post_Item(
const MENU *menu,
const ITEM *item)
{ /* void */ }
#undef _nc_Draw_Menu
void _nc_Draw_Menu(
const MENU *menu)
{ /* void */ }
#undef post_menu
int post_menu(
MENU *menu)
{ return(*(int *)0); }
#undef unpost_menu
int unpost_menu(
MENU *menu)
{ return(*(int *)0); }
/* ./m_req_name.c */
#undef menu_request_name
const char *menu_request_name(
int request)
{ return(*(const char **)0); }
#undef menu_request_by_name
int menu_request_by_name(
const char *str)
{ return(*(int *)0); }
/* ./m_spacing.c */
#undef set_menu_spacing
int set_menu_spacing(
MENU *menu,
int s_desc,
int s_row,
int s_col)
{ return(*(int *)0); }
#undef menu_spacing
int menu_spacing(
const MENU *menu,
int *s_desc,
int *s_row,
int *s_col)
{ return(*(int *)0); }
/* ./m_userptr.c */
#undef set_menu_userptr
int set_menu_userptr(
MENU *menu,
const void *userptr)
{ return(*(int *)0); }
#undef menu_userptr
const void *menu_userptr(
const MENU *menu)
{ return(*(const void **)0); }
/* ./m_win.c */
#undef set_menu_win
int set_menu_win(
MENU *menu,
WINDOW *win)
{ return(*(int *)0); }
#undef menu_win
WINDOW *menu_win(
const MENU *menu)
{ return(*(WINDOW **)0); }
#undef set_menu_sub
int set_menu_sub(
MENU *menu,
WINDOW *win)
{ return(*(int *)0); }
#undef menu_sub
WINDOW *menu_sub(
const MENU *menu)
{ return(*(WINDOW **)0); }
#undef scale_menu
int scale_menu(
const MENU *menu,
int *rows,
int *cols)
{ return(*(int *)0); }
/* ./m_adabind.c */
#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 */ }