menubarc.h
1.59 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
/*
* Copyright 1995, 1999, 2000, 2001, 2002, 2003, 2005 by Paul Mattes.
* 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.
*
* x3270, c3270, s3270 and tcl3270 are distributed in the hope that they will
* be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the file LICENSE
* for more details.
*/
/*
* menubarc.h
* Global declarations for menubar.c.
*/
#warning menubarc.h is deprecated
/*
#if defined(X3270_MENUS)
// LIB3270_INTERNAL void HandleMenu_action(Widget w, XEvent *event, String *params,Cardinal *num_params);
// #if defined(X3270_SCRIPT)
// LIB3270_INTERNAL void menubar_as_set(Boolean sensitive);
// #else
// #define menubar_as_set(n)
// #endif
// LIB3270_INTERNAL void menubar_init(Widget container, Dimension overall_width,Dimension current_width);
// LIB3270_INTERNAL void menubar_keypad_changed(void);
// LIB3270_INTERNAL Dimension menubar_qheight(Dimension container_width);
// LIB3270_INTERNAL void menubar_resize(Dimension width);
// LIB3270_INTERNAL void menubar_retoggle(struct toggle *t);
#else
// #define menubar_as_set(n)
// #define menubar_init(a, b, c)
// #define menubar_keypad_changed()
// #define menubar_qheight(n) 0
// #define menubar_resize(n)
// #define menubar_retoggle(t)
// #define HandleMenu_action ignore_action
#endif
*/