File: xlgraph.h

package info (click to toggle)
xlispstat 3.52.14-1
  • links: PTS
  • area: main
  • in suites: potato
  • size: 7,560 kB
  • ctags: 12,676
  • sloc: ansic: 91,357; lisp: 21,759; sh: 1,525; makefile: 521; csh: 1
file content (153 lines) | stat: -rw-r--r-- 5,214 bytes parent folder | download | duplicates (4)
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
#ifndef XLGRAPH_H
#define XLGRAPH_H

/* xlgraph.h - External declarations and defines for XLISP-STAT.       */
/* XLISP-STAT 2.1 Copyright (c) 1990, by Luke Tierney                  */
/* Additions to Xlisp 2.1, Copyright (c) 1989 by David Michael Betz    */
/* You may give out copies of this software; for conditions see the    */
/* file COPYING included with this distribution.                       */

#ifdef MACINTOSH
/* macstuff.c */
typedef struct {
  short vRefNum;
  unsigned long parID;
} DirSpec;

typedef struct {
  char name[256];
  OSType type;
  DirSpec dir;
} FileSpec;

extern DirSpec default_dir;
extern short editFontNum, editFontSize;
extern short listenerFontNum, listenerFontSize;
extern short graphFontNum, graphFontSize;
extern Style editFontStyle, listenerFontStyle, graphFontStyle;

extern OSErr GetDir(DirSpec *dir);
extern OSErr SetDir(DirSpec *dir);

/* editwindows.c */
extern VOID set_edit_window_procs _((WindowPtr w));
extern VOID adjust_insert _((WindowPtr w));
extern VOID return_action _((TEHandle te));
extern VOID TtyPutc _((int c));
extern VOID TtyPrint _((char *s));
extern VOID TtyFlush _((void));
extern VOID make_listener_window _((Rect r));
extern Boolean edit_key_filter _((WindowPtr w, int c));

/* macdialogs2.c */
extern pascal VOID doDialog _((DialogPtr dlog, short theItem));
extern pascal VOID closeDialog _((void));
extern pascal VOID clobberDialog _((void));

/* maciviewwindow.c */
extern VOID init_mac_cursors _((void));
extern Rect scroll_bar_bounds _((WindowPtr w, int which));
extern VOID DrawGWGrowBox _((StGWWinInfo *gwinfo));
extern VOID mac_do_cursor _((StGWWinInfo *gwinfo));

/* maciviewwindow2.c */
extern VOID init_mac_colors _((void));
extern VOID SetHardwareState _((StGWWinInfo *gwinfo));
extern VOID set_fore_color _((StGWWinInfo *gwinfo));
extern VOID set_back_color _((StGWWinInfo *gwinfo));

/* maciviewwindow3.c */
extern VOID initialize_static_globals _((void));
extern VOID reset_clip_rect _((StGWWinInfo *gwinfo));
extern VOID adjust_graph_workport _((StGWWinInfo *gwinfo));

/* macstuff.c */
extern VOID getttyline _((LVAL s));
extern VOID MyShowWindow  _((WindowPtr wind));
extern int CintoPstring(const char *cp, StringPtr pp, int ppsize, int cvtnl);
extern OSType string_to_type _((char *s));
extern void NotifyIfInBackground _((void));

/* macwindows.c */
LVAL get_window_object _((WindowPtr w));
pascal VOID mac_update_action _((Boolean resized));
pascal VOID mac_activate_action _((Boolean active));
pascal VOID mac_close_action _((void));

#include "TransSkel1.h"
#endif /* MACINTOSH */

#ifdef X11WINDOWS
/* X11BSDstuff.c */
extern VOID StX11FlushStdin _((void));

/* X11buttons.c */
extern VOID InstallButtonItem _((Window win, LVAL item));
extern VOID DeleteButtonItem _((Window win, LVAL item));
extern int ClosePanelHeight _((void));
extern VOID InstallCloseButton _((Window win, LVAL object));
extern VOID DeleteCloseButton _((Window win));

/* X11choice.c */
extern VOID InstallChoiceItem _((Window win, LVAL item));
extern VOID DeleteChoiceItem _((Window win, LVAL item));

/* X11dialogs.c */
extern VOID install_dialog_item_handler _((Display *dpy,
					   Window win,
					   LVAL (*handler)(),
					   LVAL item));
extern VOID delete_dialog_item_handler _((Display *dpy, Window win));
extern VOID DialogAllocate _((LVAL dialog));
extern VOID DialogRemove _((LVAL dialog));

/* X11graph.c */
extern char *StX11GetDefault _((char *name));
extern VOID StProcessEvent _((Display *dpy, XEvent report));
extern Display *StX11Display _((void));
extern int StX11Screen _((void));
extern VOID StX11PressButton _((void));
extern VOID StX11ReleaseButton _((void));
extern int StX11ButtonIsDown _((void));
extern VOID StX11HandleClientMessage _((XEvent report));
extern VOID StX11SetWindowClass _((Display *dpy, Window win));
extern VOID StX11SetNormalHints _((Display *dpy, Window win,
				   int left, int top, int width, int height));
extern VOID StX11SetTransientHint _((Display *dpy, Window win));
extern VOID StX11SetStandardHints _((Display *dpy, Window w));
extern int StX11UseICCCM _((void));
extern VOID StWGetSize _((Window w, int *pwidth, int *pheight, int frame));
extern VOID StWGetLocation _((Window w, int *left, int *top, int frame));
extern int is_option_on _((char *s));

/* X11listitem.c */
extern VOID InstallListItem _((Window win, LVAL item));
extern VOID DeleteListItem _((Window win, LVAL item));

/* X11menus.c */
extern int StMObPopup _((LVAL menu, int x, int y, LVAL window));

/* X11scroll.c */
extern VOID InstallScrollBar _((Window w,
				LVAL object,
				int left, int top, int width, int height,
				Window *ps,
				VOID (*action)()));
extern VOID DeleteScrollBar _((Window s));
extern VOID AdjustScrollBar _((Window s, int val, int page, int max));

/* X11slider.c */
extern VOID InstallScrollItem _((Window win, LVAL item));
extern VOID DeleteScrollItem _((Window win, LVAL item));

/* X11text.c */
extern VOID InstallTextItem _((Window win, LVAL item));
extern VOID DeleteTextItem _((Window win, LVAL item));

/* X11toggle.c */
extern VOID InstallToggleItem _((Window win, LVAL item));
extern VOID DeleteToggleItem _((Window win, LVAL item));
#endif /* X11WINDOWS */

#endif /* XLGRAPH_H */