screenc.h
2.89 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
/*
* Copyright 1999, 2000, 2002 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.
*
* c3270 is distributed in the hope that it 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.
*/
/* c3270 version of screenc.h */
#define blink_start()
#define display_heightMM() 100
#define display_height() 1
#define display_widthMM() 100
#define display_width() 1
// #define screen_obscured() False
#define screen_scroll() screen_disp()
#define screen_132() /* */
#define screen_80() /* */
LIB3270_INTERNAL void ring_bell(void);
LIB3270_INTERNAL void screen_erase(H3270 *session);
LIB3270_INTERNAL void screen_changed(H3270 *session, int bstart, int bend);
LIB3270_INTERNAL int screen_init(H3270 *session);
// LIB3270_INTERNAL void screen_flip(void);
LIB3270_INTERNAL FILE *start_pager(void);
LIB3270_INTERNAL Boolean screen_new_display_charsets(char *cslist, char *csname);
LIB3270_INTERNAL void mcursor_set(H3270 *session,LIB3270_CURSOR m);
#define mcursor_locked(x) mcursor_set(x,CURSOR_MODE_LOCKED)
#define mcursor_normal(x) mcursor_set(x,CURSOR_MODE_NORMAL)
#define mcursor_waiting(x) mcursor_set(x,CURSOR_MODE_WAITING)
//LIB3270_INTERNAL void mcursor_locked(H3270 *session);
//LIB3270_INTERNAL void mcursor_normal(H3270 *session);
//LIB3270_INTERNAL void mcursor_waiting(H3270 *session);
LIB3270_INTERNAL void notify_toggle_changed(H3270 *session, LIB3270_TOGGLE ix, unsigned char value, LIB3270_TOGGLE_TYPE reason);
LIB3270_INTERNAL void set_viewsize(H3270 *session, int rows, int cols);
LIB3270_INTERNAL Boolean escaped;
/*
LIB3270_INTERNAL void Escape_action(Widget w, XEvent *event, String *params, Cardinal *num_params) __attribute__ ((deprecated));
LIB3270_INTERNAL void Help_action(Widget w, XEvent *event, String *params, Cardinal *num_params) __attribute__ ((deprecated));
LIB3270_INTERNAL void Redraw_action(Widget w, XEvent *event, String *params, Cardinal *num_params) __attribute__ ((deprecated));
LIB3270_INTERNAL void Trace_action(Widget w, XEvent *event, String *params, Cardinal *num_params) __attribute__ ((deprecated));
LIB3270_INTERNAL void Show_action(Widget w, XEvent *event, String *params, Cardinal *num_params) __attribute__ ((deprecated));
*/
/*
#if defined(WC3270)
LIB3270_INTERNAL void Paste_action(Widget w, XEvent *event, String *params, Cardinal *num_params) __attribute__ ((deprecated));
LIB3270_INTERNAL void Title_action(Widget w, XEvent *event, String *params, Cardinal *num_params) __attribute__ ((deprecated));
LIB3270_INTERNAL int windows_cp;
#endif
*/
LIB3270_INTERNAL void screen_title(char *text);