xview.c
Go to the documentation of this file.
1 /****************************************************************/
2 /* xview.c
3 /* euslisp to xview interface functions
4 /*
5 /****************************************************************/
6 
7 #include "../c/eus.h"
8 #include "euslocal.h"
9 #include <sys/time.h>
10 #include <pixrect/pixrect_hs.h>
11 #include <xview/xview.h>
12 #include <xview/panel.h>
13 #include <xview/canvas.h>
14 #include <xview/tty.h>
15 #include <xview/ttysw.h>
16 #include <xview/textsw.h>
17 /*
18 #include <xview/menu.h>
19 */
20 #include <xview/scrollbar.h>
21 #include <xview/seln.h>
22 #include <xview/icon.h>
23 #include <xview/icon_load.h>
24 #include <xview/expandname.h>
25 #include <xview/pixwin.h>
26 #include <xview/notify.h>
27 #include <xview/cms.h>
28 
30 extern textsw_delete();
31 extern textsw_edit();
32 extern textsw_erase();
33 extern textsw_find_bytes();
34 extern textsw_match_bytes();
36 extern textsw_insert();
37 extern textsw_first();
38 extern textsw_next();
39 extern textsw_replace_bytes();
40 extern textsw_save();
42 extern textsw_scroll_lines();
43 extern textsw_store_file();
44 extern ttysw_input();
45 extern ttysw_output();
46 
47 /*
48  extern notify_default_wait3();
49 extern notify_dispatch();
50 extern notify_do_dispatch();
51 extern notify_interpose_destroy_func();
52 extern notify_interpose_event_func();
53 extern notify_itimer_value();
54 extern notify_next_destroy_func();
55 extern notify_next_event_func();
56 extern notify_set_destroy_func();
57 extern notify_set_exception_func();
58 extern notify_set_input_func();
59 extern notify_set_itimer_func();
60 extern notify_set_signal_func();
61 extern notify_set_output_func();
62 extern notify_set_wait3_func();
63 extern notify_start();
64 extern notify_stop();
65 extern notify_no_dispatch();
66 extern notify_perror();
67 extern notify_veto_destroy();
68 */
69 extern pointer *makebnum();
70 
71 char *ckstrchr(p)
72  pointer p;
73 {
74  if (!isstring(p)) error(E_NOSTRING);
75  return(strchr(p));
76 }
77 
79  long (*func)();
80  long n,argv;
81 {
82  register long cargv[100];
83  n = largv2cargv(n,argv,cargv,1,100);
84  cargv[n] = 0;
85  if (n<12) {
86  return(makebnum((long)(*func)(cargv[0],cargv[1],cargv[2],
87  cargv[3],cargv[4],cargv[5],
88  cargv[6],cargv[7],cargv[8],
89  cargv[9],cargv[10],cargv[11])));
90  }
91  else if (n<25) {
92  return(makebnum((*func)(cargv[0],cargv[1],cargv[2],
93  cargv[3], cargv[4],cargv[5],
94  cargv[6],cargv[7],cargv[8],
95  cargv[9],cargv[10],cargv[11],
96  cargv[12],cargv[13],cargv[14],
97  cargv[15],cargv[16],cargv[17],
98  cargv[18],cargv[19],cargv[20],
99  cargv[21],cargv[22],cargv[23],
100  cargv[24])));
101  }
102  else if (n<=48){
103  return(makebnum((*func)(cargv[0],cargv[1],cargv[2],
104  cargv[3],cargv[4],cargv[5],
105  cargv[6],cargv[7],cargv[8],
106  cargv[9],cargv[10],cargv[11],
107  cargv[12],cargv[13],cargv[14],
108  cargv[15],cargv[16],cargv[17],
109  cargv[18],cargv[19],cargv[20],
110  cargv[21],cargv[22],cargv[23],
111  cargv[24],cargv[25],cargv[25],
112  cargv[26],cargv[27],cargv[28],
113  cargv[29],cargv[30],cargv[31],
114  cargv[32],cargv[33],cargv[34],
115  cargv[35],cargv[36],cargv[37],
116  cargv[38],cargv[39],cargv[40],
117  cargv[41],cargv[42],cargv[43],
118  cargv[44],cargv[45],cargv[46],
119  cargv[47])));
120  }
121  else {
122  return(makebnum((*func)(cargv[0],cargv[1],cargv[2],
123  cargv[3],cargv[4],cargv[5],
124  cargv[6],cargv[7],cargv[8],
125  cargv[9],cargv[10],cargv[11],
126  cargv[12],cargv[13],cargv[14],
127  cargv[15],cargv[16],cargv[17],
128  cargv[18],cargv[19],cargv[20],
129  cargv[21],cargv[22],cargv[23],
130  cargv[24],cargv[25],cargv[25],
131  cargv[26],cargv[27],cargv[28],
132  cargv[29],cargv[30],cargv[31],
133  cargv[32],cargv[33],cargv[34],
134  cargv[35],cargv[36],cargv[37],
135  cargv[38],cargv[39],cargv[40],
136  cargv[41],cargv[42],cargv[43],
137  cargv[44],cargv[45],cargv[46],
138  cargv[47],cargv[48],cargv[49],
139  cargv[50],cargv[51],cargv[52],
140  cargv[53],cargv[54],cargv[55],
141  cargv[56],cargv[57],cargv[58],
142  cargv[59],cargv[60],cargv[61],
143  cargv[62],cargv[63],cargv[64],
144  cargv[65],cargv[66],cargv[67],
145  cargv[68],cargv[69],cargv[70],
146  cargv[71],cargv[72],cargv[73],
147  cargv[74],cargv[75],cargv[76],
148  cargv[77],cargv[78],cargv[79],
149  cargv[80],cargv[81],cargv[82],
150  cargv[83],cargv[84],cargv[85],
151  cargv[86],cargv[87],cargv[88],
152  cargv[89],cargv[90],cargv[91],
153  cargv[92],cargv[93],cargv[94],
154  cargv[95],cargv[96],cargv[97],
155  cargv[98],cargv[99])));
156 
157  }
158 }
160  int n;
161  register pointer argv[];
162 {
163  return(call_sunview(xv_create,n,argv));
164 }
165 
167  caddr_t type;
168  int n;
169  register pointer argv[];
170 {
171  register long cargv[100];
172  n = largv2cargv(n,argv,cargv,1,100);
173  cargv[n] = 0;
174  if (n<25) {
175  return(makebnum((int)
176  xv_create(cargv[0],type,cargv[1],cargv[2],
177  cargv[3], cargv[4],cargv[5],
178  cargv[6],cargv[7],cargv[8],
179  cargv[9],cargv[10],cargv[11],
180  cargv[12],cargv[13],cargv[14],
181  cargv[15],cargv[16],cargv[17],
182  cargv[18],cargv[19],cargv[20],
183  cargv[21],cargv[22],cargv[23],
184  cargv[24])));
185  }
186  else if (n<48){
187  return(makebnum((int)
188  xv_create(cargv[0],type,cargv[1],cargv[2],
189  cargv[3],cargv[4],cargv[5],
190  cargv[6],cargv[7],cargv[8],
191  cargv[9],cargv[10],cargv[11],
192  cargv[12],cargv[13],cargv[14],
193  cargv[15],cargv[16],cargv[17],
194  cargv[18],cargv[19],cargv[20],
195  cargv[21],cargv[22],cargv[23],
196  cargv[24],cargv[25],cargv[25],
197  cargv[26],cargv[27],cargv[28],
198  cargv[29],cargv[30],cargv[31],
199  cargv[32],cargv[33],cargv[34],
200  cargv[35],cargv[36],cargv[37],
201  cargv[38],cargv[39],cargv[40],
202  cargv[41],cargv[42],cargv[43],
203  cargv[44],cargv[45],cargv[46])));
204 
205  }
206  else {
207  return(makebnum((int)
208  xv_create(cargv[0],type,cargv[1],cargv[2],
209  cargv[3],cargv[4],cargv[5],
210  cargv[6],cargv[7],cargv[8],
211  cargv[9],cargv[10],cargv[11],
212  cargv[12],cargv[13],cargv[14],
213  cargv[15],cargv[16],cargv[17],
214  cargv[18],cargv[19],cargv[20],
215  cargv[21],cargv[22],cargv[23],
216  cargv[24],cargv[25],cargv[25],
217  cargv[26],cargv[27],cargv[28],
218  cargv[29],cargv[30],cargv[31],
219  cargv[32],cargv[33],cargv[34],
220  cargv[35],cargv[36],cargv[37],
221  cargv[38],cargv[39],cargv[40],
222  cargv[41],cargv[42],cargv[43],
223  cargv[44],cargv[45],cargv[46],
224  cargv[47],cargv[48],cargv[49],
225  cargv[50],cargv[51],cargv[52],
226  cargv[53],cargv[54],cargv[55],
227  cargv[56],cargv[57],cargv[58],
228  cargv[59],cargv[60],cargv[61],
229  cargv[62],cargv[63],cargv[64],
230  cargv[65],cargv[66],cargv[67],
231  cargv[68],cargv[69],cargv[70],
232  cargv[71],cargv[72],cargv[73],
233  cargv[74],cargv[75],cargv[76],
234  cargv[77],cargv[78],cargv[79],
235  cargv[80],cargv[81],cargv[82],
236  cargv[83],cargv[84],cargv[85],
237  cargv[86],cargv[87],cargv[88],
238  cargv[89],cargv[90],cargv[91],
239  cargv[92],cargv[93],cargv[94],
240  cargv[95],cargv[96],cargv[97],
241  cargv[98],cargv[99])));
242  }
243 }
244 
245 long saved_time=0;
246 
248  int n;
249  register pointer argv[];
250 {
251  struct timezone tz;
252  struct timeval tv;
253 
254  gettimeofday(&tv,&tz);
255  saved_time = tv . tv_sec;
256  return(call_xv_create(FRAME,n,argv));
257 }
258 
260  int n;
261  register pointer argv[];
262 {
263  return(call_xv_create(PANEL,n,argv));
264 }
265 
267  int n;
268  register pointer argv[];
269 {
270  return(call_xv_create(CANVAS,n,argv));
271 }
272 
274  int n;
275  register pointer argv[];
276 {
277  return(call_xv_create(TTY,n,argv));
278 }
280  int n;
281  register pointer argv[];
282 {
283  register long cargv[50];
284  n= largv2cargv(n,argv,cargv,1,48);
285  cargv[n] = 0;
286  return(makebnum(xv_create(cargv[0],TEXTSW,cargv[1],cargv[2],
287  cargv[3],cargv[4],cargv[5],
288  cargv[6],cargv[7],cargv[8],
289  cargv[9],cargv[10],cargv[11],
290  cargv[12],cargv[13],cargv[14],
291  cargv[15],cargv[16],cargv[17],
292  cargv[18],cargv[19],cargv[20],
293  cargv[21],cargv[22],cargv[23],
294  cargv[24],cargv[25],cargv[25],
295  cargv[26],cargv[27],cargv[28],
296  cargv[29],cargv[30],cargv[31],
297  cargv[32],cargv[33],cargv[34],
298  cargv[35],cargv[36],cargv[37],
299  cargv[38],cargv[39],cargv[40],
300  cargv[41],cargv[42],cargv[43],
301  cargv[44],cargv[45],cargv[46])));
302 }
303 
305  int n;
306  register pointer argv[];
307 {
308  return(call_sunview(xv_set,n,argv));
309 }
311  int n; register pointer argv[];
312 {
313  return(call_sunview(xv_get,n,argv));
314 }
315 
317  int n; register pointer argv[];
318 {
319  ckarg(1);
320  window_fit(cknumtoint(argv[0]));
321  return(T);
322 }
323 
325  int n; register pointer argv[];
326 {
327  ckarg(1);
328  (void) window_main_loop(cknumtoint(argv[0]));
329  return(T);
330 }
331 
333  int n; register pointer argv[];
334 {
335  ckarg(1);
336  xv_destroy_check(cknumtoint(argv[0]));
337  return(T);
338 }
339 
341  int n; register pointer argv[];
342 {
343  ckarg(1);
344  return(makebnum((int)window_done(cknumtoint(argv[0]))));
345 }
346 
348  int n; register pointer argv[];
349 {
350  ckarg(1);
351  (void) window_bell(cknumtoint(argv[0]));
352  return(T);
353 }
355  int n; register pointer argv[];
356 {
357  ckarg(1);
358  return(makebnum((int)window_read_event(cknumtoint(argv[0]))));
359 }
361  int n; register pointer argv[];
362 {
363  ckarg(1);
364  (void) window_refuse_kbd_focus(cknumtoint(argv[0]));
365  return(T);
366 }
368  int n; register pointer argv[];
369 {
370  ckarg(1);
371  window_fit_height(cknumtoint(argv[0]));
372  return(T);
373 }
375  int n; register pointer argv[];
376 {
377  ckarg(1);
378  window_fit_width(cknumtoint(argv[0]));
379  return(T);
380 }
382  int n; register pointer argv[];
383 {
384  ckarg(1);
385  (void) window_release_event_lock(cknumtoint(argv[0]));
386  return(T);
387 }
388 
389 
391  int n; register pointer argv[];
392 {
393  ckarg(1);
394  return(makebnum((int)canvas_pixwin(cknumtoint(argv[0]))));
395 }
396 
398  int n; register pointer argv[];
399 {
400  ckarg(1);
401  return(makebnum((int)canvas_paint_window(cknumtoint(argv[0]))));
402 }
404  int n; register pointer argv[];
405 {
406  ckarg(2);
407  return(makebnum((int)canvas_event(cknumtoint(argv[0]),
408  cknumtoint(argv[1]))));
409 }
411  int n; register pointer argv[];
412 {
413  ckarg(2);
414  return(makebnum((int)canvas_window_event(cknumtoint(argv[0]),
415  cknumtoint(argv[1]))));
416 }
417 
419  int n;
420  register pointer argv[];
421 {
422  return(call_sunview(menu_create,n,argv));
423 }
425  int n;
426  register pointer argv[];
427 {
428  return(call_sunview(menu_create_item,n,argv));
429 }
431  int n;
432  register pointer argv[];
433 {
434  return(call_sunview(menu_set,n,argv));
435 }
437  int n; register pointer argv[];
438 {
439  ckarg(1);
440  (void) menu_destroy(cknumtoint(argv[0]));
441  return(T);
442 }
443 
445  int n; register pointer argv[];
446 {
447  ckarg(2);
448  (void) menu_destroy_with_proc(cknumtoint(argv[0]),
449  cknumtoint(argv[1]));
450  return(T);
451 }
453  int n;
454  register pointer argv[];
455 {
456  return(call_sunview(menu_find,n,argv));
457 }
458 
460  int n; register pointer argv[];
461 {
462  return(call_sunview(menu_get,n,argv));
463 }
464 
466  int n;
467  register pointer argv[];
468 {
469 /* XView CONVERSION - No longer blocks until menu taken down. Need to specify a MENU_DONE_PROC or even better, a MENU_ACTON_PROC for each menu item. See Sect 2.5 in API Guide */
470  return(call_sunview(menu_show,n,argv));
471 }
472 
474  int n; register pointer argv[];
475 {
476  ckarg(2);
477  return(makebnum((int)menu_return_item(cknumtoint(argv[0]),
478  cknumtoint(argv[1]))));
479 }
480 
482  int n; register pointer argv[];
483 {
484  ckarg(2);
485  return(makebnum((int)menu_return_value(cknumtoint(argv[0]),
486  cknumtoint(argv[1]))));
487 }
488 
489 
491  int n;
492  register pointer argv[];
493 {
494  return(call_sunview(xv_set,n,argv));
495 }
496 
498  int n; register pointer argv[];
499 {
500  ckarg(1);
501  return(makebnum((int)panel_free(cknumtoint(argv[0]))));
502 }
504  int n; register pointer argv[];
505 {
506  ckarg(2);
507  return(makebnum((int)panel_accept_key(cknumtoint(argv[0]),
508  cknumtoint(argv[1]))));
509 }
511  int n; register pointer argv[];
512 {
513  ckarg(2);
514  return(makebnum((int)panel_accept_menu(cknumtoint(argv[0]),
515  cknumtoint(argv[1]))));
516 }
518  int n; register pointer argv[];
519 {
520  ckarg(2);
521  return(makebnum((int)panel_accept_preview(cknumtoint(argv[0]),
522  cknumtoint(argv[1]))));
523 }
525  int n; register pointer argv[];
526 {
527  ckarg(2);
528  return(makebnum((int)panel_begin_preview(cknumtoint(argv[0]),
529  cknumtoint(argv[1]))));
530 }
532  int n; register pointer argv[];
533 {
534  ckarg(2);
535  return(makebnum((int)panel_cancel_preview(cknumtoint(argv[0]),
536  cknumtoint(argv[1]))));
537 }
539  int n; register pointer argv[];
540 {
541  ckarg(1);
542  return(makebnum((int)panel_advance_caret(cknumtoint(argv[0]))));
543 }
545  int n; register pointer argv[];
546 {
547  ckarg(1);
548  return(makebnum((int)panel_backup_caret(cknumtoint(argv[0]))));
549 }
550 
552  int n;
553  register pointer argv[];
554 {
555 /* XView CONVERSION - Still supported, but for OPEN LOOK buttons, should use PANEL_LABEL_STRING for PANEL_BUTTON items. Sect 3.2 */
556  return(call_sunview(panel_button_image,n,argv));
557 }
558 
560  int n;
561  register pointer argv[];
562 {
563  return(call_sunview(xv_create,n,argv));
564 }
566  int n; register pointer argv[];
567 {
568  ckarg(2);
570  cknumtoint(argv[1]));
571  return(T);
572 }
574  int n; register pointer argv[];
575 {
576  ckarg(2);
577  return(makebnum((int)panel_event(cknumtoint(argv[0]),
578  cknumtoint(argv[1]))));
579 }
581  int n; register pointer argv[];
582 {
583  ckarg(1);
584  return(makebnum((int)xv_destroy(cknumtoint(argv[0]))));
585 }
586 
588  int n; register pointer argv[];
589 {
590 /* XView CONVERSION - You may wish to change this to xv_get format. Look at panel.h and/or See Sect 2.5 */
591  return(call_sunview(xv_get,n,argv));
592 }
594  int n; register pointer argv[];
595 {
596  ckarg(1);
597 /* XView CONVERSION - You may wish to change this to xv_get format. Look at panel.h and/or See Sect 2.5 */
598  return(makebnum((int)xv_get(cknumtoint(argv[0]), PANEL_VALUE)));
599 }
601  int n; register pointer argv[];
602 {
603  ckarg(1);
604  return(makebnum((int)panel_update_scrolling_size(cknumtoint(argv[0]))));
605 }
607  int n; register pointer argv[];
608 {
609  ckarg(2);
610  return(makebnum((int)panel_update_preview(cknumtoint(argv[0]),
611  cknumtoint(argv[1]))));
612 }
614  int n; register pointer argv[];
615 {
616  ckarg(2);
617  return(makebnum((int)panel_window_event(cknumtoint(argv[0]),
618  cknumtoint(argv[1]))));
619 }
621  int n; register pointer argv[];
622 {
623  ckarg(2);
624  return(makebnum((int)panel_text_notify(cknumtoint(argv[0]),
625  cknumtoint(argv[1]))));
626 }
628  int n; register pointer argv[];
629 {
630  ckarg(2);
631 /* XView CONVERSION - You may wish to change this to xv_set format. Look at panel.h and/or See Sect 2.5 */
632  return(makebnum((int)panel_set_value(cknumtoint(argv[0]),
633  cknumtoint(argv[1]))));
634 }
636  int n; register pointer argv[];
637 {
638  ckarg(2);
639  return(makebnum((int)panel_paint(cknumtoint(argv[0]),
640  cknumtoint(argv[1]))));
641 }
642 
644  int n;
645  register pointer argv[];
646 {
647  return(call_sunview(scrollbar_create,n,argv));
648 }
649 
651  int n;
652  register pointer argv[];
653 {
654  return(call_xv_create(PANEL_MESSAGE,n,argv));
655 }
657  int n;
658  register pointer argv[];
659 {
660  return(call_xv_create(PANEL_BUTTON,n,argv));
661 }
663  int n;
664  register pointer argv[];
665 {
666  return(call_xv_create(PANEL_CHOICE,n,argv));
667 }
669  int n;
670  register pointer argv[];
671 {
672  register long cargv[100];
673  n = largv2cargv(n,argv,cargv,1,100);
674  cargv[n] = 0;
675  if (n<25) {
676  return(makebnum((int)
677  xv_create(cargv[0],PANEL_CYCLE,
678  cargv[1],cargv[2],
679  cargv[3], cargv[4],cargv[5],
680  cargv[6],cargv[7],cargv[8],
681  cargv[9],cargv[10],cargv[11],
682  cargv[12],cargv[13],cargv[14],
683  cargv[15],cargv[16],cargv[17],
684  cargv[18],cargv[19],cargv[20],
685  cargv[21],cargv[22],cargv[23],
686  cargv[24])));
687  }
688  else if (n<48){
689  return(makebnum((int)
690  xv_create(cargv[0],PANEL_CYCLE,
691  cargv[1],cargv[2],
692  cargv[3],cargv[4],cargv[5],
693  cargv[6],cargv[7],cargv[8],
694  cargv[9],cargv[10],cargv[11],
695  cargv[12],cargv[13],cargv[14],
696  cargv[15],cargv[16],cargv[17],
697  cargv[18],cargv[19],cargv[20],
698  cargv[21],cargv[22],cargv[23],
699  cargv[24],cargv[25],cargv[25],
700  cargv[26],cargv[27],cargv[28],
701  cargv[29],cargv[30],cargv[31],
702  cargv[32],cargv[33],cargv[34],
703  cargv[35],cargv[36],cargv[37],
704  cargv[38],cargv[39],cargv[40],
705  cargv[41],cargv[42],cargv[43],
706  cargv[44],cargv[45],cargv[46])));
707 
708  }
709  else {
710  return(makebnum((int)
711  xv_create(cargv[0],PANEL_CYCLE,
712  cargv[1],cargv[2],
713  cargv[3],cargv[4],cargv[5],
714  cargv[6],cargv[7],cargv[8],
715  cargv[9],cargv[10],cargv[11],
716  cargv[12],cargv[13],cargv[14],
717  cargv[15],cargv[16],cargv[17],
718  cargv[18],cargv[19],cargv[20],
719  cargv[21],cargv[22],cargv[23],
720  cargv[24],cargv[25],cargv[25],
721  cargv[26],cargv[27],cargv[28],
722  cargv[29],cargv[30],cargv[31],
723  cargv[32],cargv[33],cargv[34],
724  cargv[35],cargv[36],cargv[37],
725  cargv[38],cargv[39],cargv[40],
726  cargv[41],cargv[42],cargv[43],
727  cargv[44],cargv[45],cargv[46],
728  cargv[47],cargv[48],cargv[49],
729  cargv[50],cargv[51],cargv[52],
730  cargv[53],cargv[54],cargv[55],
731  cargv[56],cargv[57],cargv[58],
732  cargv[59],cargv[60],cargv[61],
733  cargv[62],cargv[63],cargv[64],
734  cargv[65],cargv[66],cargv[67],
735  cargv[68],cargv[69],cargv[70],
736  cargv[71],cargv[72],cargv[73],
737  cargv[74],cargv[75],cargv[76],
738  cargv[77],cargv[78],cargv[79],
739  cargv[80],cargv[81],cargv[82],
740  cargv[83],cargv[84],cargv[85],
741  cargv[86],cargv[87],cargv[88],
742  cargv[89],cargv[90],cargv[91],
743  cargv[92],cargv[93],cargv[94],
744  cargv[95],cargv[96],cargv[97],
745  cargv[98],cargv[99])));
746  }
747 }
749  int n;
750  register pointer argv[];
751 {
752  register long cargv[100];
753  n = largv2cargv(n,argv,cargv,1,100);
754  cargv[n] = 0;
755  if (n<25) {
756  return(makebnum((int)
757  xv_create(cargv[0],PANEL_TOGGLE,
758  cargv[1],cargv[2],
759  cargv[3], cargv[4],cargv[5],
760  cargv[6],cargv[7],cargv[8],
761  cargv[9],cargv[10],cargv[11],
762  cargv[12],cargv[13],cargv[14],
763  cargv[15],cargv[16],cargv[17],
764  cargv[18],cargv[19],cargv[20],
765  cargv[21],cargv[22],cargv[23],
766  cargv[24])));
767  }
768  else if (n<48){
769  return(makebnum((int)
770  xv_create(cargv[0],PANEL_TOGGLE,
771  cargv[1],cargv[2],
772  cargv[3],cargv[4],cargv[5],
773  cargv[6],cargv[7],cargv[8],
774  cargv[9],cargv[10],cargv[11],
775  cargv[12],cargv[13],cargv[14],
776  cargv[15],cargv[16],cargv[17],
777  cargv[18],cargv[19],cargv[20],
778  cargv[21],cargv[22],cargv[23],
779  cargv[24],cargv[25],cargv[25],
780  cargv[26],cargv[27],cargv[28],
781  cargv[29],cargv[30],cargv[31],
782  cargv[32],cargv[33],cargv[34],
783  cargv[35],cargv[36],cargv[37],
784  cargv[38],cargv[39],cargv[40],
785  cargv[41],cargv[42],cargv[43],
786  cargv[44],cargv[45],cargv[46])));
787 
788  }
789  else {
790  return(makebnum((int)
791  xv_create(cargv[0],PANEL_TOGGLE,
792  cargv[1],cargv[2],
793  cargv[3],cargv[4],cargv[5],
794  cargv[6],cargv[7],cargv[8],
795  cargv[9],cargv[10],cargv[11],
796  cargv[12],cargv[13],cargv[14],
797  cargv[15],cargv[16],cargv[17],
798  cargv[18],cargv[19],cargv[20],
799  cargv[21],cargv[22],cargv[23],
800  cargv[24],cargv[25],cargv[25],
801  cargv[26],cargv[27],cargv[28],
802  cargv[29],cargv[30],cargv[31],
803  cargv[32],cargv[33],cargv[34],
804  cargv[35],cargv[36],cargv[37],
805  cargv[38],cargv[39],cargv[40],
806  cargv[41],cargv[42],cargv[43],
807  cargv[44],cargv[45],cargv[46],
808  cargv[47],cargv[48],cargv[49],
809  cargv[50],cargv[51],cargv[52],
810  cargv[53],cargv[54],cargv[55],
811  cargv[56],cargv[57],cargv[58],
812  cargv[59],cargv[60],cargv[61],
813  cargv[62],cargv[63],cargv[64],
814  cargv[65],cargv[66],cargv[67],
815  cargv[68],cargv[69],cargv[70],
816  cargv[71],cargv[72],cargv[73],
817  cargv[74],cargv[75],cargv[76],
818  cargv[77],cargv[78],cargv[79],
819  cargv[80],cargv[81],cargv[82],
820  cargv[83],cargv[84],cargv[85],
821  cargv[86],cargv[87],cargv[88],
822  cargv[89],cargv[90],cargv[91],
823  cargv[92],cargv[93],cargv[94],
824  cargv[95],cargv[96],cargv[97],
825  cargv[98],cargv[99])));
826  }
827 }
829  int n;
830  register pointer argv[];
831 {
832  return(call_xv_create(PANEL_TEXT,n,argv));
833 }
835  int n;
836  register pointer argv[];
837 {
838  return(call_xv_create(PANEL_SLIDER,n,argv));
839 }
840 
842  int n;
843  register pointer argv[];
844 {
845  return(call_sunview(icon_create,n,argv));
846 }
848  int n;
849  register pointer argv[];
850 {
851  return(call_sunview(icon_set,n,argv));
852 }
854  int n; register pointer argv[];
855 {
856  return(call_sunview(icon_get,n,argv));
857 }
859  int n; register pointer argv[];
860 {
861  ckarg(1);
862  return(makebnum(icon_destroy(cknumtoint(argv[0]))));
863 }
864 
866  int n; register pointer argv[];
867 {
868  ckarg(2);
869  pw_batch(cknumtoint(argv[0]), cknumtoint(argv[1]));
870  return(T);
871 }
872 
874  Pixwin *pw;
875 {
876  pw_batch_off(pw);
877 }
879  Pixwin *pw;
880 {
881  pw_batch_on(pw);
882 }
883 my_pw_get(pw,x,y)
884  Pixwin *pw; int x,y;
885 {
886  return(pw_get(pw,x,y));
887 }
889  Pixwin *pw; Rect *r;
890 {
891  pw_get_region_rect(pw,r);
892 }
893 
894 /* XView CONVERSION - Need to set WIN_DYNAMIC_VISUAL. See Sect 4.3 */
895 my_pw_putcolormap(pw,index,count,red,green,blue)
896  Pixwin *pw; int index,count,red,green,blue;
897 {
898  return(pw_putcolormap(pw,index,count,red,green,blue));
899 }
900 my_pw_writebackground(pw,dx,dy,dw,dh,op)
901  Pixwin *pw;
902  int dx,dy,dw,dh,op;
903 { return(pw_writebackground(pw,dx,dy,dw,dh,op)); }
904 
906  int n; register pointer argv[];
907 {
908  return(call_sunview(my_pw_batch_off,n,argv));
909 }
911  int n; register pointer argv[];
912 {
913  return(call_sunview(my_pw_batch_on,n,argv));
914 }
916  int n; register pointer argv[];
917 {
918  register long cargv[12];
919  largv2cargv(n,argv,cargv,6,6);
920  pw_char(cargv[0], cargv[1], cargv[2], cargv[3],
921  cargv[4],cargv[5]);
922  return(T);
923 }
925  int n; register pointer argv[];
926 {
927  register long cargv[12];
928  largv2cargv(n,argv,cargv,6,6);
929  pw_char(cargv[0], cargv[1], cargv[2], cargv[3],
930  cargv[4],cargv[5]);
931  return(T);
932 }
934  int n; register pointer argv[];
935 {
936  register long cargv[12];
937  largv2cargv(n,argv,cargv,9,9);
938  pw_copy((Pixwin *)cargv[0], cargv[1], cargv[2], cargv[3],
939  cargv[4],cargv[5],(Pixwin *)cargv[6],cargv[7],cargv[8]);
940  return(T);
941 }
943  int n; register pointer argv[];
944 {
945  return(call_sunview(my_pw_get,n,argv));
946 }
948  int n; register pointer argv[];
949 {
950  ckarg(8);
951  pw_line(cknumtoint(argv[0]), cknumtoint(argv[1]), cknumtoint(argv[2]),
952  cknumtoint(argv[3]), cknumtoint(argv[4]),
953  cknumtoint(argv[5]), cknumtoint(argv[6]), cknumtoint(argv[7]));
954  return(T);
955 }
956 
958  int n; register pointer argv[];
959 {
960  ckarg(2);
961  pw_lock((Pixwin *)cknumtoint(argv[0]),
962  (Rect *)cknumtoint(argv[1]));
963  return(T);
964 }
966  int n; register pointer argv[];
967 {
968  ckarg(0);
969  return(makebnum(pw_pfsysclose()));
970 }
971 
973  int n; register pointer argv[];
974 {
975  int plist[2*1000],size,npts[10],nsize;
976  ckarg(10);
977  nsize=trans_argv_iargv(1,&argv[4],npts);
978  size=trans_argv_iargv(1,&argv[5],plist);
979  pw_polygon_2(cknumtoint(argv[0]),cknumtoint(argv[1]), cknumtoint(argv[2]),
980  cknumtoint(argv[3]),npts,plist,
981  cknumtoint(argv[6]),cknumtoint(argv[7]),
982  cknumtoint(argv[8]),cknumtoint(argv[9]));
983  return(T);
984 }
986  int n; register pointer argv[];
987 {
988  int plist[2*1000],size;
989  ckarg(9);
990  size=trans_argv_iargv(1,&argv[4],plist);
991  pw_polyline(cknumtoint(argv[0]),
992  cknumtoint(argv[1]), cknumtoint(argv[2]),
993  cknumtoint(argv[3]),plist,
994  cknumtoint(argv[5]),cknumtoint(argv[6]),
995  cknumtoint(argv[7]),cknumtoint(argv[8]));
996  return(T);
997 }
998 
1000  int n; register pointer argv[];
1001 {
1002  int plist[2*1000],size;
1003  ckarg(6);
1004  size=trans_argv_iargv(1,&argv[4],plist);
1005  pw_polypoint(cknumtoint(argv[0]),
1006  cknumtoint(argv[1]), cknumtoint(argv[2]),
1007  cknumtoint(argv[3]),plist,
1008  cknumtoint(argv[5]));
1009  return(T);
1010 }
1012  int n; register pointer argv[];
1013 {
1014  register long cargv[12];
1015  largv2cargv(n,argv,cargv,4,4);
1016  pw_put((Pixwin *)cargv[0],cargv[1],cargv[2],cargv[3]);
1017  return(T);
1018 }
1020  int n; register pointer argv[];
1021 {
1022  register long cargv[12];
1023  largv2cargv(n,argv,cargv,9,9);
1024  pw_read((Pixrect *)cargv[0],cargv[1],cargv[2],cargv[3],
1025  cargv[4],cargv[5],(Pixwin *)cargv[6],cargv[7],cargv[8]);
1026  return(T);
1027 }
1028 
1030  int n; register pointer argv[];
1031 {
1032  register long cargv[12];
1033  largv2cargv(n,argv,cargv,9,9);
1034  pw_replrop(cargv[0], cargv[1], cargv[2], cargv[3],
1035  cargv[4],cargv[5],cargv[6],cargv[7],
1036  cargv[8]);
1037  return(T);
1038 }
1040  int n; register pointer argv[];
1041 {
1042  register long cargv[12];
1043  largv2cargv(n,argv,cargv,9,9);
1044  pw_rop(cargv[0], cargv[1], cargv[2], cargv[3],
1045  cargv[4],cargv[5],cargv[6],cargv[7],
1046  cargv[8]);
1047  return(T);
1048 }
1050  int n; register pointer argv[];
1051 {
1052  ckarg(1);
1053  pw_show(cknumtoint(argv[0]));
1054  return(T);
1055 }
1057  int n; register pointer argv[];
1058 {
1059  register long cargv[20];
1060  largv2cargv(n,argv,cargv,12,12);
1061  pw_polyline(cargv[0], cargv[1], cargv[2], cargv[3],
1062  cargv[4],cargv[5],cargv[6],cargv[7],
1063  cargv[8],cargv[9],cargv[10],cargv[11]);
1064  return(T);
1065 }
1067  int n; register pointer argv[];
1068 {
1069  register long cargv[12];
1070  largv2cargv(n,argv,cargv,6,6);
1071  pw_text(cargv[0], cargv[1], cargv[2], cargv[3],
1072  cargv[4],cargv[5]);
1073  return(T);
1074 }
1076  int n; register pointer argv[];
1077 {
1078  register long cargv[12];
1079  largv2cargv(n,argv,cargv,6,6);
1080  pw_ttext(cargv[0], cargv[1], cargv[2], cargv[3],
1081  cargv[4],cargv[5]);
1082  return(T);
1083 }
1085  int n; register pointer argv[];
1086 {
1087  ckarg(1);
1088  pw_unlock((Pixwin *)cknumtoint(argv[0]));
1089  return(T);
1090 }
1092  int n; register pointer argv[];
1093 {
1094  register long cargv[12];
1095  largv2cargv(n,argv,cargv,7,7);
1096  pw_vector(cargv[0],cargv[1],cargv[2],cargv[3],
1097  cargv[4],cargv[5],cargv[6]);
1098  return(T);
1099 }
1101  int n; register pointer argv[];
1102 {
1103  register long cargv[12];
1104  largv2cargv(n,argv,cargv,9,9);
1105  pw_write(cargv[0],cargv[1],cargv[2],cargv[3],
1106  cargv[4],cargv[5],cargv[6],cargv[7],
1107  cargv[8]);
1108  return(T);
1109 }
1111  int n; register pointer argv[];
1112 {
1113  register long cargv[12];
1114  largv2cargv(n,argv,cargv,6,6);
1115  pw_writebackground(cargv[0], cargv[1], cargv[2], cargv[3],
1116  cargv[4],cargv[5]);
1117  return(T);
1118 }
1120  int n; register pointer argv[];
1121 {
1122  register long cargv[12];
1123  largv2cargv(n,argv,cargv,3,3);
1124  pw_blackonwhite(cargv[0], cargv[1], cargv[2]);
1125  return(T);
1126 }
1128  int n; register pointer argv[];
1129 {
1130  register long cargv[12];
1131  largv2cargv(n,argv,cargv,4,4);
1132  pw_cyclecolormap(cargv[0], cargv[1], cargv[2],cargv[3]);
1133  return(T);
1134 }
1136  int n; register pointer argv[];
1137 {
1138  int planes;
1139  ckarg(1);
1140  pw_getattributes(cknumtoint(argv[0]),&planes);
1141  return(makeint(planes));
1142 }
1144  int n; register pointer argv[];
1145 {
1146  static int planes;
1147  ckarg(2);
1148  planes= cknumtoint(argv[1]);
1149  pw_putattributes(cknumtoint(argv[0]),&planes);
1150  return(T);
1151 }
1152 
1154  int n; register pointer argv[];
1155 {
1156  int s=CMS_NAMESIZE,i;
1157  char buf[CMS_NAMESIZE];
1158  ckarg(1);
1159  for (i=0; i<CMS_NAMESIZE; i++) buf[i]=0;
1160  pw_getcmsname(cknumtoint(argv[0]), buf);
1161  return(makestring(buf,strlen(buf)));
1162 }
1163 
1165  int n; register pointer argv[];
1166 {
1167  struct xv_cmsdata *cms;
1168  pointer v;
1169  unsigned char red[256],green[256],blue[256];
1170  Pixwin *pw;
1171  ckarg(1);
1172  pw = (Pixwin *)cknumtoint(argv[0]);
1173  cms = xv_get(pw,WIN_CMS_DATA);
1174  pw_getcolormap(pw,0,cms -> size,red,green,blue);
1175  vpush(makestring(red,cms -> size));
1176  vpush(makestring(green,cms -> size));
1177  vpush(makestring(blue,cms -> size));
1178  v = cons(makeint(cms -> size),NIL);
1179  v = cons(vpop(),v);
1180  v = cons(vpop(),v);
1181  return(cons(vpop(),v));
1182 }
1183 
1185  int n; register pointer argv[];
1186 {
1187 /* XView CONVERSION - Need to set WIN_DYNAMIC_VISUAL. See Sect 4.3 */
1188  return(call_sunview(my_pw_putcolormap,n,argv));
1189 }
1191  int n; register pointer argv[];
1192 {
1193  register long cargv[12];
1194  largv2cargv(n,argv,cargv,3,3);
1195  pw_reversevideo(cargv[0], cargv[1],cargv[3]);
1196  return(T);
1197 }
1199  int n; register pointer argv[];
1200 {
1201  register long cargv[12];
1202  largv2cargv(n,argv,cargv,2,2);
1203  pw_setcmsname(cargv[0], cargv[1]);
1204  return(T);
1205 }
1207  int n; register pointer argv[];
1208 {
1209  register long cargv[12];
1210  largv2cargv(n,argv,cargv,3,3);
1211  pw_whiteonblack(cargv[0], cargv[1],cargv[2]);
1212  return(T);
1213 }
1214 
1216  int n; register pointer argv[];
1217 {
1218  ckarg(3);
1219  return(call_sunview(textsw_add_mark,n,argv));
1220 }
1222  int n; register pointer argv[];
1223 {
1224  ckarg(2);
1225  return(call_sunview(textsw_append_file_name,n,argv));
1226 }
1228  int n; register pointer argv[];
1229 {
1230  ckarg(3);
1231  return(call_sunview(textsw_delete,n,argv));
1232 }
1234  int n; register pointer argv[];
1235 {
1236  ckarg(4);
1237  return(call_sunview(textsw_edit,n,argv));
1238 }
1240  int n; register pointer argv[];
1241 {
1242  ckarg(3);
1243  return(call_sunview(textsw_erase,n,argv));
1244 }
1246  int n; register pointer argv[];
1247 {
1248  register long cargv[12];
1249  largv2cargv(n,argv,cargv,3,3);
1250  textsw_file_lines_visible(cargv[0], cargv[1], cargv[2]);
1251  return(T);
1252 }
1254  int n; register pointer argv[];
1255 {
1256  ckarg(6);
1257  return(call_sunview(textsw_find_bytes,n,argv));
1258 }
1260  int n; register pointer argv[];
1261 {
1262  ckarg(8);
1263  return(call_sunview(textsw_match_bytes,n,argv));
1264 }
1266  int n; register pointer argv[];
1267 {
1268  ckarg(2);
1269  return(call_sunview(textsw_find_mark,n,argv));
1270 }
1272  int n; register pointer argv[];
1273 {
1274  ckarg(1);
1275  return(call_sunview(textsw_first,n,argv));
1276 }
1278  int n; register pointer argv[];
1279 {
1280  ckarg(2);
1281  return(call_sunview(textsw_index_for_file_line,n,argv));
1282 }
1284  int n; register pointer argv[];
1285 {
1286  ckarg(3);
1287  return(call_sunview(textsw_insert,n,argv));
1288 }
1290  int n; register pointer argv[];
1291 {
1292  ckarg(1);
1293  return(call_sunview(textsw_next,n,argv));
1294 }
1296  int n; register pointer argv[];
1297 {
1298  register long cargv[12];
1299  largv2cargv(n,argv,cargv,2,2);
1300  textsw_normalize_view(cargv[0], cargv[1]);
1301  return(T);
1302 }
1304  int n; register pointer argv[];
1305 {
1306  register long cargv[12];
1307  largv2cargv(n,argv,cargv,2,2);
1308  textsw_possibly_normalize(cargv[0], cargv[1]);
1309  return(T);
1310 }
1312  int n; register pointer argv[];
1313 {
1314  register long cargv[12];
1315  largv2cargv(n,argv,cargv,3,3);
1316  textsw_remove_mark(cargv[0], cargv[1], cargv[2]);
1317  return(T);
1318 }
1320  int n; register pointer argv[];
1321 {
1322  ckarg(5);
1323  return(call_sunview(textsw_replace_bytes,n,argv));
1324 }
1326  int n; register pointer argv[];
1327 {
1328  register long cargv[12];
1329  largv2cargv(n,argv,cargv,3,3);
1330  textsw_reset(cargv[0], cargv[1], cargv[2]);
1331  return(T);
1332 }
1334  int n; register pointer argv[];
1335 {
1336  ckarg(3);
1337  return(call_sunview(textsw_save,n,argv));
1338 }
1340  int n; register pointer argv[];
1341 {
1342  ckarg(1);
1343  return(call_sunview(textsw_screen_line_count,n,argv));
1344 }
1345 /* XView CONVERSION - Possibly Defunct. See Sect 2.3 SCROLL_ 3.2 */
1347  int n; register pointer argv[];
1348 {
1349  ckarg(2);
1350  return(call_sunview(textsw_scroll_lines,n,argv));
1351 }
1353  int n; register pointer argv[];
1354 {
1355  return(call_sunview(textsw_store_file,n,argv));
1356 }
1358  int n; register pointer argv[];
1359 {
1360  register long cargv[12];
1361  largv2cargv(n,argv,cargv,4,4);
1362  textsw_set_selection(cargv[0], cargv[1], cargv[2]);
1363  return(T);
1364 }
1365 
1367  int n; register pointer argv[];
1368 {
1369  ckarg(3);
1370  return(call_sunview(ttysw_input,n,argv));
1371 }
1373  int n; register pointer argv[];
1374 {
1375  ckarg(3);
1376  return(call_sunview(ttysw_output,n,argv));
1377 }
1378 
1380  int n; register pointer argv[];
1381 {
1382  ckarg(2);
1383  return(makebnum(xv_col(cknumtoint(argv[0]),cknumtoint(argv[1]))));
1384 }
1385 
1387  int n; register pointer argv[];
1388 {
1389  ckarg(2);
1390  return(makebnum(xv_row(cknumtoint(argv[0]),cknumtoint(argv[1]))));
1391 }
1392 
1394  int n; register pointer argv[];
1395 {
1396  ckarg(4);
1397  return(call_sunview(notify_default_wait3,n,argv));
1398 }
1400  int n; register pointer argv[];
1401 {
1402  ckarg(0);
1403  return(makebnum(notify_dispatch()));
1404 }
1406  int n; register pointer argv[];
1407 {
1408  ckarg(0);
1409  return(makebnum(notify_do_dispatch()));
1410 }
1412  int n; register pointer argv[];
1413 {
1414  ckarg(2);
1415  return(call_sunview(notify_interpose_destroy_func
1416  ,n,argv));
1417 }
1419  int n; register pointer argv[];
1420 {
1421  return(call_sunview(notify_interpose_event_func
1422  ,n,argv));
1423 }
1425  int n; register pointer argv[];
1426 {
1427  return(call_sunview(notify_itimer_value,n,argv));
1428 }
1430  int n; register pointer argv[];
1431 {
1432  return(call_sunview(notify_next_destroy_func,n,argv));
1433 }
1435  int n; register pointer argv[];
1436 {
1437  return(call_sunview(notify_next_event_func,n,argv));
1438 }
1440  int n; register pointer argv[];
1441 {
1442  ckarg(2);
1443  return(call_sunview(notify_set_destroy_func,n,argv));
1444 }
1446  int n; register pointer argv[];
1447 {
1448  ckarg(3);
1449  return(call_sunview(notify_set_exception_func
1450  ,n,argv));
1451 }
1453  int n; register pointer argv[];
1454 {
1455  ckarg(4);
1456  return(call_sunview(notify_set_input_func,n,argv));
1457 }
1459  int n; register pointer argv[];
1460 {
1461  return(call_sunview(notify_set_itimer_func,n,argv));
1462 }
1464  int n; register pointer argv[];
1465 {
1466  return(call_sunview(notify_set_signal_func,n,argv));
1467 }
1469  int n; register pointer argv[];
1470 {
1471  ckarg(3);
1472  return(call_sunview(notify_set_output_func,n,argv));
1473 }
1475  int n; register pointer argv[];
1476 {
1477  ckarg(3);
1478  return(call_sunview(notify_set_wait3_func,n,argv));
1479 }
1481  int n; register pointer argv[];
1482 {
1483  ckarg(0);
1484  return(makebnum(notify_start()));
1485 }
1487  int n; register pointer argv[];
1488 {
1489  ckarg(0);
1490  return(makebnum(notify_stop()));
1491 }
1493  int n; register pointer argv[];
1494 {
1495  ckarg(0);
1496  return(makebnum(notify_no_dispatch()));
1497 }
1499  int n; register pointer argv[];
1500 {
1501  ckarg(1);
1502  notify_perror(cknumtoint(argv[0]));
1503  return(T);
1504 }
1506  int n; register pointer argv[];
1507 {
1508  ckarg(1);
1509  return(makebnum(notify_veto_destroy(cknumtoint(argv[0]))));
1510 }
1511 
1512 /* pixrect */
1513 extern xv_pf_close();
1514 extern xv_pf_text();
1515 extern xv_pf_ttext();
1516 extern xv_pf_textbatch();
1517 extern xv_pf_textwidth();
1518 extern xv_pf_open();
1519 extern xv_pf_open_private();
1520 
1521 extern pr_traprop();
1522 extern pr_dump_header();
1523 extern pr_dump_image();
1524 extern pr_dump();
1525 extern pr_polygon_2();
1526 extern pr_reversevideo();
1527 
1528 /* Next 4 lines for old version 3.3 of SUNVIEW */
1529 /*
1530 extern pr_dump_init();
1531 extern pr_load_image();
1532 extern pr_load();
1533 extern pr_load_std_image();
1534 */
1535 
1536 extern pr_load_colormap();
1537 extern pr_load_header();
1538 extern pr_replrop();
1539 extern pr_blackonwhite();
1540 extern pr_whiteonblack();
1541 
1543  int n; register pointer argv[];
1544 {
1545  ckarg(2);
1546  return(makeint(mpr_linebytes(cknumtoint(argv[0]),
1547  cknumtoint(argv[1]))));
1548 }
1550  int n; register pointer argv[];
1551 {
1552  ckarg(3);
1553  return(call_sunview(mem_create,n,argv));
1554 }
1556  int n; register pointer argv[];
1557 {
1558  ckarg(4);
1559  return(call_sunview(mem_point,n,argv));
1560 }
1562  int n; register pointer argv[];
1563 {
1564  ckarg(4);
1565  /* XView CONVERSION - Use xv_pf_text instead. Remember to extern it. */
1566  /* XView CONVERSION - Use xv_pf_textbatch instead. Remember to extern it. */
1567  return(call_sunview(xv_pf_textbatch,n,argv));
1568 }
1570  int n; register pointer argv[];
1571 {
1572  ckarg(4);
1573  /* XView CONVERSION - Use xv_pf_text instead. Remember to extern it. */
1574  /* XView CONVERSION - Use xv_pf_textwidth instead. Remember to extern it. */
1575  return(call_sunview(xv_pf_textwidth,n,argv));
1576 }
1578  int n;
1579  register pointer argv[];
1580 {
1581  ckarg(1);
1582  return(makebnum(xv_pf_open(ckstrchr(argv[0]))));
1583 }
1585  int n; register pointer argv[];
1586 {
1587  ckarg(1);
1588  /* XView CONVERSION - Use xv_pf_open_private instead. Remember to extern it. */
1589  return(call_sunview(xv_pf_open_private,n,argv));
1590 }
1592  int n; register pointer argv[];
1593 {
1594  ckarg(0);
1595  /* XView CONVERSION - If function pf_default use xv_pf_default. If struct value ignore. Remember to extern it. */
1596  return(makebnum(xv_pf_default()));
1597 }
1598 
1600  int n; register pointer argv[];
1601 {
1602  ckarg(1);
1603  return(call_sunview(xv_pf_close,n,argv));
1604 }
1606  int n; register pointer argv[];
1607 {
1608  ckarg(4);
1609  return(call_sunview(xv_pf_text,n,argv));
1610 }
1612  int n; register pointer argv[];
1613 {
1614  ckarg(4);
1615  return(call_sunview(xv_pf_ttext,n,argv));
1616 }
1617 
1619  int n; register pointer argv[];
1620 {
1621  ckarg(1);
1622  return(call_sunview(pr_open,n,argv));
1623 }
1625  int n; register pointer argv[];
1626 {
1627  register int cargv[12];
1628  largv2cargv(n,argv,cargv,7,7);
1629  pr_vector(((struct pixrect *)cargv[0]),
1630  cargv[1],cargv[2],cargv[3],cargv[4],
1631  cargv[5],cargv[6]);
1632  return(T);
1633 }
1635  int n; register pointer argv[];
1636 {
1637  register long cargv[12];
1638  largv2cargv(n,argv,cargv,10,10);
1639  pr_polygon_2(cargv[0],cargv[1],cargv[2],cargv[3],
1640  cargv[4],cargv[5],cargv[6],cargv[7],
1641  cargv[8],cargv[9]);
1642  return(T);
1643 }
1645  int n; register pointer argv[];
1646 {
1647  ckarg(3);
1648  return(call_sunview(pr_reversevideo,n,argv));
1649 }
1651  int n; register pointer argv[];
1652 {
1653  ckarg(5);
1654  return(call_sunview(pr_dump_init,n,argv));
1655 }
1657  int n; register pointer argv[];
1658 {
1659  ckarg(3);
1660  return(call_sunview(pr_load_colormap,n,argv));
1661 }
1663  int n; register pointer argv[];
1664 {
1665  ckarg(2);
1666  return(call_sunview(pr_load_header,n,argv));
1667 }
1669  int n; register pointer argv[];
1670 {
1671  ckarg(3);
1672  return(call_sunview(pr_load_image,n,argv));
1673 }
1675  int n; register pointer argv[];
1676 {
1677  ckarg(2);
1678  return(call_sunview(pr_load,n,argv));
1679 }
1681  int n; register pointer argv[];
1682 {
1683  ckarg(3);
1684  return(call_sunview(pr_load_std_image,n,argv));
1685 }
1687  int n; register pointer argv[];
1688 {
1689  ckarg(9);
1690  return(call_sunview(pr_replrop,n,argv));
1691 }
1693  int n; register pointer argv[];
1694 {
1695  ckarg(3);
1696  return(call_sunview(pr_blackonwhite,n,argv));
1697 }
1699  int n; register pointer argv[];
1700 {
1701  ckarg(3);
1702  return(call_sunview(pr_whiteonblack,n,argv));
1703 }
1705  int n; register pointer argv[];
1706 {
1707  ckarg(8);
1708  return(call_sunview(pr_traprop,n,argv));
1709 }
1711  int n; register pointer argv[];
1712 {
1713  ckarg(3);
1714  return(call_sunview(pr_dump_header,n,argv));
1715 }
1717  int n; register pointer argv[];
1718 {
1719  ckarg(3);
1720  return(call_sunview(pr_dump_image,n,argv));
1721 }
1723  int n; register pointer argv[];
1724 {
1725  ckarg(5);
1726  return(call_sunview(pr_dump,n,argv));
1727 }
1729  int n; register pointer argv[];
1730 {
1731  register long cargv[4];
1732  largv2cargv(n,argv,cargv,4,4);
1733  pr_put((Pixrect *)cargv[0],cargv[1],cargv[2],cargv[3]);
1734  return(T);
1735 }
1737  int n; register pointer argv[];
1738 {
1739  register long cargv[2];
1740  largv2cargv(n,argv,cargv,2,2);
1741  pr_putattributes(cargv[0],cargv[1]);
1742  return(T);
1743 }
1744 
1746  int n; register pointer argv[];
1747 {
1748  ckarg(5);
1749  pr_region(cknumtoint(argv[0]),
1750  cknumtoint(argv[1]),
1751  cknumtoint(argv[2]),
1752  cknumtoint(argv[3]),
1753  cknumtoint(argv[4]));
1754  return(T);
1755 }
1757  int n; register pointer argv[];
1758 {
1759  register long cargv[12];
1760  largv2cargv(n,argv,cargv,12,12);
1761  pr_stencil(cargv[0],cargv[1],cargv[2],cargv[3],
1762  cargv[4],cargv[5],cargv[6],cargv[7],
1763  cargv[8],cargv[9],cargv[10],cargv[11]);
1764  return(T);
1765 }
1767  int n; register pointer argv[];
1768 {
1769  ckarg(3);
1770  return(makebnum(pr_get(cknumtoint(argv[0]),
1771  cknumtoint(argv[1]),cknumtoint(argv[2]))));
1772 }
1774  int n; register pointer argv[];
1775 {
1776  register long cargv[12];
1777  largv2cargv(n,argv,cargv,9,9);
1778  pr_rop(cargv[0],cargv[1],cargv[2],
1779  cargv[3],cargv[4],cargv[5],
1780  cargv[6],cargv[7],cargv[8]);
1781  return(T);
1782 }
1784  int n; register pointer argv[];
1785 {
1786  register long cargv[12];
1787  largv2cargv(n,argv,cargv,9,9);
1788  xv_rop(cargv[0],cargv[1],cargv[2],
1789  cargv[3],cargv[4],cargv[5],
1790  cargv[6],cargv[7],cargv[8]);
1791  return(T);
1792 }
1793 
1795  int n; register pointer argv[];
1796 {
1797  ckarg(1);
1798  pr_destroy(cknumtoint(argv[0]));
1799  return(T);
1800 }
1802  int n; register pointer argv[];
1803 {
1804  register long cargv[6];
1805  largv2cargv(n,argv,cargv,6,6);
1806  pr_putcolormap(cargv[0],cargv[1],cargv[2],cargv[3],cargv[4],
1807  cargv[5]);
1808  return(T);
1809 }
1810 
1811 /* seln */
1812 
1814  int n; register pointer argv[];
1815 {
1816  return(call_sunview(seln_ask,n,argv));
1817 }
1819  int n; register pointer argv[];
1820 {
1821  return(call_sunview(seln_query,n,argv));
1822 }
1824  int n; register pointer argv[];
1825 {
1826  return(call_sunview(reader,n,argv));
1827 }
1829  int n; register pointer argv[];
1830 {
1831  ckarg(2);
1832  return(call_sunview(seln_acquire,n,argv));
1833 }
1835  int n; register pointer argv[];
1836 {
1837  ckarg(1);
1838  seln_destroy(cknumtoint(argv[0]));
1839  return(T);
1840 }
1842  int n; register pointer argv[];
1843 {
1844  ckarg(2);
1845  return(makebnum(seln_done(cknumtoint(argv[0]),cknumtoint(argv[1]))));
1846 }
1847 
1849  int n; register pointer argv[];
1850 {
1851  ckarg(2);
1852  return(makebnum(seln_figure_response(cknumtoint(argv[0]),
1853  cknumtoint(argv[1]))));
1854 }
1856  int n; register pointer argv[];
1857 {
1858  ckarg(2);
1859  return(makebnum(seln_hold_file(cknumtoint(argv[0]),
1860  cknumtoint(argv[1]))));
1861 }
1863  int n; register pointer argv[];
1864 {
1865  ckarg(2);
1866  return(makebnum(seln_holder_same_client(cknumtoint(argv[0]),
1867  cknumtoint(argv[1]))));
1868 }
1870  int n; register pointer argv[];
1871 {
1872  ckarg(1);
1873  return(makebnum(seln_holder_same_process(cknumtoint(argv[0]))));
1874 }
1876  int n; register pointer argv[];
1877 {
1878  ckarg(3);
1879  return(makebnum(seln_inform(cknumtoint(argv[0]),
1880  cknumtoint(argv[1]),
1881  cknumtoint(argv[2]))));
1882 }
1884  int n; register pointer argv[];
1885 {
1886  ckarg(2);
1887  return(call_sunview(seln_init_request,n,argv));
1888 }
1890  int n; register pointer argv[];
1891 {
1892  ckarg(1);
1893  return(makebnum(seln_inquire(cknumtoint(argv[0]))));
1894 }
1896  int n; register pointer argv[];
1897 {
1898  ckarg(2);
1899  return(makebnum(seln_request(cknumtoint(argv[0]),cknumtoint(argv[1]))));
1900 }
1902  int n; register pointer argv[];
1903 {
1904  ckarg(2);
1905  return(makebnum(seln_same_holder(cknumtoint(argv[0]),
1906  cknumtoint(argv[1]))));
1907 }
1909  int n; register pointer argv[];
1910 {
1911  ckarg(1);
1912  return(makebnum(seln_secondary_exists(cknumtoint(argv[0]))));
1913 }
1915  int n; register pointer argv[];
1916 {
1917  ckarg(1);
1918  return(makebnum(seln_secondary_made(cknumtoint(argv[0]))));
1919 }
1921  int n; register pointer argv[];
1922 {
1923  ckarg(1);
1924  seln_use_timeout(cknumtoint(argv[0]));
1925  return(T);
1926 }
1928  int n; register pointer argv[];
1929 {
1930  ckarg(0);
1931  (void) seln_yield_all();
1932  return(T);
1933 }
1934 
1936  int n;
1937  register pointer argv[];
1938 {
1939  Seln_holder holder;
1940  Seln_request *buffer;
1941  int len;
1942  ckarg(0);
1943  holder = seln_inquire(SELN_PRIMARY);
1944  buffer = seln_ask(&holder, SELN_REQ_CONTENTS_ASCII, 0, 0);
1945  len = strlen(buffer->data + sizeof(Seln_attribute));
1946  return(makestring(buffer->data + sizeof(Seln_attribute),
1947  len));
1948 }
1949 
1951  int n;
1952  register pointer argv[];
1953 {
1954  char *ptr;
1955  ckarg(1);
1956  ptr = (char *) cknumtoint(argv[0]);
1957  if ((int)ptr<10000) error("ADR_TO_STRING: invalid string pointer");
1958  return(makestring(ptr,strlen(ptr)));
1959 }
1960 
1961 /*
1962 pointer PW_GET_X_OFFSET(n,argv)
1963  int n; register pointer argv[];
1964 {
1965  ckarg(1);
1966  return(makeint(pw_get_x_offset(cknumtoint(argv[0]))));
1967 }
1968 pointer PW_GET_Y_OFFSET(n,argv)
1969  int n; register pointer argv[];
1970 {
1971  ckarg(1);
1972  return(makeint(pw_get_y_offset(cknumtoint(argv[0]))));
1973 }
1974 */
1975 
1977  int n; register pointer argv[];
1978 {
1979  static struct namelist *name_list;
1980  register pointer temp;
1981  register int i;
1982  ckarg(1);
1983  name_list = xv_expand_name(ckstrchr(argv[0]));
1984  temp = makevector(C_VECTOR,name_list->count);
1985  vpush(temp);
1986  for (i=0; i< name_list->count; i++) {
1987  temp->c.vec.v[i] =
1988  makestring(name_list->names[i],
1989  strlen(name_list->names[i]));
1990  }
1991  free_namelist(name_list);
1992  return(vpop());
1993 }
1994 
1995 
1997  int n; register pointer argv[];
1998 {
1999  ckarg(3);
2000  return(makebnum(icon_load(cknumtoint(argv[0]),
2001  cknumtoint(argv[1]),
2002  cknumtoint(argv[2]))));
2003 }
2005  int n; register pointer argv[];
2006 {
2007  ckarg(2);
2008  return(makebnum(icon_init_from_pr(cknumtoint(argv[0]),
2009  cknumtoint(argv[1]))));
2010 }
2012  int n; register pointer argv[];
2013 {
2014  ckarg(2);
2015  return(makebnum(icon_load_mpr(cknumtoint(argv[0]),
2016  cknumtoint(argv[1]))));
2017 }
2019  int n; register pointer argv[];
2020 {
2021  ckarg(3);
2022  return(makebnum(icon_open_header(cknumtoint(argv[0]),
2023  cknumtoint(argv[1]),
2024  cknumtoint(argv[2]))));
2025 }
2026 
2027 /* event */
2028 
2030  int n; register pointer argv[];
2031 {
2032  ckarg(1);
2033  return(makebnum(event_id(cknumtoint(argv[0]))));
2034 }
2036  int n; register pointer argv[];
2037 {
2038  ckarg(1);
2039  return(makebool(event_is_up(cknumtoint(argv[0]))));
2040 }
2042  int n; register pointer argv[];
2043 {
2044  ckarg(1);
2045  return(makebool(event_is_down(cknumtoint(argv[0]))));
2046 }
2048  int n; register pointer argv[];
2049 {
2050  ckarg(1);
2051  return(makebnum(event_x(cknumtoint(argv[0]))));
2052 }
2054  int n; register pointer argv[];
2055 {
2056  ckarg(1);
2057  return(makebnum(event_y(cknumtoint(argv[0]))));
2058 }
2060  int n; register pointer argv[];
2061 {
2062  ckarg(1);
2063  return(makebnum(event_shiftmask(cknumtoint(argv[0]))));
2064 }
2065 
2067  int n; register pointer argv[];
2068 {
2069  long e;
2070  ckarg(1);
2071  e = cknumtoint(argv[0]);
2072  return(makeflt(
2073  (float)((event_time(e) . tv_sec) - (long)saved_time)
2074  + ((float)(event_time(e) . tv_usec) / 1000000.0)));
2075 }
2077  int n; register pointer argv[];
2078 {
2079  struct timeval ti;
2080  float v;
2081  ckarg(2);
2082  v = cknumtoint(argv[1]);
2083  ti . tv_sec = (int) v;
2084  v -= ti . tv_sec;
2085  ti . tv_usec = (int)(1000000 * v);
2086  event_set_time(cknumtoint(argv[0]),ti);
2087  return(T);
2088 }
2090  int n; register pointer argv[];
2091 {
2092  ckarg(1);
2093  return(makebool(event_shift_is_down(cknumtoint(argv[0]))));
2094 }
2096  int n; register pointer argv[];
2097 {
2098  ckarg(1);
2099  return(makebool(event_ctrl_is_down(cknumtoint(argv[0]))));
2100 }
2102  int n; register pointer argv[];
2103 {
2104  ckarg(1);
2105  return(makebool(event_meta_is_down(cknumtoint(argv[0]))));
2106 }
2108  int n; register pointer argv[];
2109 {
2110  ckarg(1);
2111  return(makebool(event_is_button(cknumtoint(argv[0]))));
2112 }
2114  int n; register pointer argv[];
2115 {
2116  ckarg(1);
2117  return(makebool(event_is_ascii(cknumtoint(argv[0]))));
2118 }
2120  int n; register pointer argv[];
2121 {
2122  ckarg(1);
2123  return(makebool(event_is_meta(cknumtoint(argv[0]))));
2124 }
2126  int n; register pointer argv[];
2127 {
2128  ckarg(1);
2129  return(makebool(event_is_key_left(cknumtoint(argv[0]))));
2130 }
2132  int n; register pointer argv[];
2133 {
2134  ckarg(1);
2135  return(makebool(event_is_key_right(cknumtoint(argv[0]))));
2136 }
2138  int n; register pointer argv[];
2139 {
2140  ckarg(1);
2141  return(makebool(event_is_key_top(cknumtoint(argv[0]))));
2142 }
2143 
2145  int n; register pointer argv[];
2146 {
2147  ckarg(2);
2148  event_set_id(cknumtoint(argv[0]),cknumtoint(argv[1]));
2149  return(T);
2150 }
2152  int n; register pointer argv[];
2153 {
2154  ckarg(2);
2155  return(makebnum(event_set_shiftmask(cknumtoint(argv[0]),
2156  cknumtoint(argv[1]))));
2157 }
2159  int n; register pointer argv[];
2160 {
2161  ckarg(2);
2162  return(makebnum(event_set_x(cknumtoint(argv[0]),
2163  cknumtoint(argv[1]))));
2164 }
2166  int n; register pointer argv[];
2167 {
2168  ckarg(2);
2169  return(makebnum(event_set_y(cknumtoint(argv[0]),
2170  cknumtoint(argv[1]))));
2171 }
2173  int n; register pointer argv[];
2174 {
2175  ckarg(1);
2176  return(makebnum(event_set_up(cknumtoint(argv[0]))));
2177 }
2179  int n; register pointer argv[];
2180 {
2181  ckarg(1);
2182  return(makebnum(event_set_down(cknumtoint(argv[0]))));
2183 }
2184 
2186  int n; register pointer argv[];
2187 {
2188  ckarg(1);
2189  return(makebnum(KEY_LEFT((int)cknumtoint(argv[0]))));
2190 }
2192  int n; register pointer argv[];
2193 {
2194  ckarg(1);
2195  return(makebnum(KEY_RIGHT((int)cknumtoint(argv[0]))));
2196 }
2198  int n; register pointer argv[];
2199 {
2200  ckarg(1);
2201  return(makebnum(KEY_TOP((int)cknumtoint(argv[0]))));
2202 }
2204  int n; register pointer argv[];
2205 {
2206  ckarg(1);
2207  return(makebnum(BUT((int)cknumtoint(argv[0]))));
2208 }
2209 
2210 
2212  int n; register pointer argv[];
2213 {
2214  char *cp;
2215  int offset;
2216  char c;
2217  ckarg(2);
2218  cp = cknumtoint(argv[0]); /* addr pointer */
2219  offset = cknumtoint(argv[1]);
2220  c = *(char *)(cp + offset);
2221  return(makeint(c));
2222 }
2223 
2225  int n;
2226  register pointer argv[];
2227 {
2228  char *cp;
2229  int offset;
2230  short v;
2231  ckarg(2);
2232  cp = cknumtoint(argv[0]); /* addr pointer */
2233  offset = cknumtoint(argv[1]);
2234  v = *(short *)(cp + offset);
2235  return(makeint(v));
2236 }
2238  int n;
2239  register pointer argv[];
2240 {
2241  char *cp;
2242  int offset;
2243  long v;
2244  ckarg(2);
2245  cp = cknumtoint(argv[0]); /* addr pointer */
2246  offset = cknumtoint(argv[1]);
2247  v = *(long *)(cp + offset);
2248  return(makeint(v));
2249 }
2251  int n;
2252  register pointer argv[];
2253 {
2254  char *cp;
2255  int offset;
2256  double v;
2257  ckarg(2);
2258  cp = cknumtoint(argv[0]); /* addr pointer */
2259  offset = cknumtoint(argv[1]);
2260  v = *(double *)(cp + offset);
2261  return(makeflt(v));
2262 }
2263 
2265  pointer mod;
2266 {
2267  defun("XV_COL",mod,XV_COL);
2268  defun("XV_ROW",mod,XV_ROW);
2269 
2270  defun("WINDOW_CREATE",mod,WINDOW_CREATE);
2271  defun("WINDOW_CREATE_FRAME",mod,WINDOW_CREATE_FRAME);
2272  defun("WINDOW_CREATE_PANEL",mod,WINDOW_CREATE_PANEL);
2273  defun("WINDOW_CREATE_CANVAS",mod,WINDOW_CREATE_CANVAS);
2274  defun("WINDOW_CREATE_TTY",mod,WINDOW_CREATE_TTY);
2275  defun("WINDOW_CREATE_TEXTSW",mod,WINDOW_CREATE_TEXTSW);
2276  defun("WINDOW_SET",mod,WINDOW_SET);
2277  defun("WINDOW_GET",mod,WINDOW_GET);
2278  defun("WINDOW_FIT",mod,WINDOW_FIT);
2279  defun("WINDOW_MAIN_LOOP",mod,WINDOW_MAIN_LOOP);
2280  defun("WINDOW_DONE",mod,WINDOW_DONE);
2281  defun("WINDOW_DESTROY",mod,WINDOW_DESTROY);
2282  defun("WINDOW_BELL",mod,WINDOW_BELL);
2283  defun("WINDOW_READ_EVENT",mod,WINDOW_READ_EVENT);
2284  defun("WINDOW_REFUSE_KBD_FOCUS",mod,WINDOW_REFUSE_KBD_FOCUS);
2285  defun("WINDOW_FIT_HEIGHT",mod,WINDOW_FIT_HEIGHT);
2286  defun("WINDOW_FIT_WIDTH",mod,WINDOW_FIT_WIDTH);
2287  defun("WINDOW_RELEASE_EVENT_LOCK",mod,WINDOW_RELEASE_EVENT_LOCK);
2288 
2289  defun("CANVAS_PIXWIN",mod,GET_CANVAS_PIXWIN);
2290  defun("CANVAS_PAINT_WINDOW",mod,my_CANVAS_PAINT_WINDOW);
2291 
2292  defun("CANVAS_EVENT",mod,CANVAS_EVENT);
2293  defun("CANVAS_WINDOW_EVENT",mod,CANVAS_WINDOW_EVENT);
2294 
2295  defun("MENU_SET",mod,MENU_SET);
2296  defun("MENU_CREATE",mod,my_MENU_CREATE);
2297  defun("MENU_CREATE_ITEM",mod,MENU_CREATE_ITEM);
2298  defun("MENU_DESTROY",mod,my_MENU_DESTROY);
2299  defun("MENU_DESTROY_WITH_PROC",mod,MENU_DESTROY_WITH_PROC);
2300  defun("MENU_FIND",mod,MENU_FIND);
2301  defun("MENU_GET",mod,MENU_GET);
2302  defun("MENU_SHOW",mod,MENU_SHOW);
2303  defun("MENU_RETURN_ITEM",mod,MENU_RETURN_ITEM);
2304  defun("MENU_RETURN_VALUE",mod,MENU_RETURN_VALUE);
2305 
2306  defun("PANEL_SET",mod,PANEL_SET);
2307  defun("PANEL_FREE",mod,PANEL_FREE);
2308  defun("PANEL_ACCEPT_KEY",mod,PANEL_ACCEPT_KEY);
2309  defun("PANEL_ACCEPT_MENU",mod,PANEL_ACCEPT_MENU);
2310  defun("PANEL_ACCEPT_PREVIEW",mod,PANEL_ACCEPT_PREVIEW);
2311  defun("PANEL_BEGIN_PREVIEW",mod,PANEL_BEGIN_PREVIEW);
2312  defun("PANEL_CANCEL_PREVIEW",mod,PANEL_CANCEL_PREVIEW);
2313  defun("PANEL_ADVANCE_CARET",mod,PANEL_ADVANCE_CARET);
2314  defun("PANEL_BACKUP_CARET",mod,PANEL_BACKUP_CARET);
2315  defun("PANEL_BUTTON_IMAGE",mod,PANEL_BUTTON_IMAGE);
2316  defun("PANEL_CREATE_ITEM",mod,PANEL_CREATE_ITEM);
2317  defun("PANEL_CREATE_MESSAGE",mod,PANEL_CREATE_MESSAGE);
2318  defun("PANEL_CREATE_BUTTON",mod,PANEL_CREATE_BUTTON);
2319  defun("PANEL_CREATE_CHOICE",mod,PANEL_CREATE_CHOICE);
2320  defun("PANEL_CREATE_CYCLE",mod,PANEL_CREATE_CYCLE);
2321  defun("PANEL_CREATE_TOGGLE",mod,PANEL_CREATE_TOGGLE);
2322  defun("PANEL_CREATE_TEXT",mod,PANEL_CREATE_TEXT);
2323  defun("PANEL_CREATE_SLIDER",mod,PANEL_CREATE_SLIDER);
2324  defun("PANEL_DEFAULT_HANDLE_EVENT",mod,PANEL_DEFAULT_HANDLE_EVENT);
2325  defun("PANEL_EVENT",mod,PANEL_EVENT);
2326  defun("PANEL_DESTROY_ITEM",mod,PANEL_DESTROY_ITEM);
2327  defun("PANEL_GET",mod,my_PANEL_GET);
2328  defun("PANEL_GET_VALUE",mod,PANEL_GET_VALUE);
2329  defun("PANEL_UPDATE_SCROLLING_SIZE",mod,PANEL_UPDATE_SCROLLING_SIZE);
2330  defun("PANEL_UPDATE_PREVIEW",mod,PANEL_UPDATE_PREVIEW);
2331  defun("PANEL_WINDOW_EVENT",mod,PANEL_WINDOW_EVENT);
2332  defun("PANEL_TEXT_NOTIFY",mod,PANEL_TEXT_NOTIFY);
2333  defun("PANEL_SET_VALUE",mod,PANEL_SET_VALUE);
2334  defun("PANEL_PAINT",mod,my_PANEL_PAINT);
2335 
2336 
2337  defun("ICON_CREATE",mod,ICON_CREATE);
2338  defun("ICON_SET",mod,ICON_SET);
2339  defun("ICON_GET",mod,ICON_GET);
2340  defun("ICON_DESTROY",mod,ICON_DESTROY);
2341  defun("ICON_LOAD",mod,ICON_LOAD);
2342  defun("ICON_INIT_FROM_PR",mod,ICON_INIT_FROM_PR);
2343  defun("ICON_LOAD_MPR",mod,ICON_LOAD_MPR);
2344  defun("ICON_OPEN_HEADER",mod,ICON_OPEN_HEADER);
2345 
2346  defun("PW_BATCH",mod,PW_BATCH);
2347  defun("PW_BATCH_OFF",mod,PW_BATCH_OFF);
2348  defun("PW_BATCH_ON",mod,PW_BATCH_ON);
2349  defun("PW_BATCHROP",mod,PW_BATCHROP);
2350  defun("PW_CHAR",mod,PW_CHAR);
2351  defun("PW_COPY",mod,PW_COPY);
2352  defun("PW_GET",mod,PW_GET);
2353  defun("PW_LINE",mod,MY_PW_LINE);
2354  defun("PW_LOCK",mod,PW_LOCK);
2355  defun("PW_PFSYSCLOSE",mod,PW_PFSYSCLOSE);
2356  defun("PW_POLYGON_2",mod,PW_POLYGON_2);
2357  defun("PW_POLYLINE",mod,MY_PW_POLYLINE);
2358  defun("PW_POLYPOINT",mod,MY_PW_POLYPOINT);
2359  defun("PW_PUT",mod,PW_PUT);
2360  defun("PW_READ",mod,PW_READ);
2361  defun("PW_REPLROP",mod,MY_PW_REPLROP);
2362  defun("PW_ROP",mod,MY_PW_ROP);
2363  defun("PW_SHOW",mod,my_PW_SHOW);
2364  defun("PW_STENCIL",mod,MY_PW_STENCIL);
2365  defun("PW_TEXT",mod,MY_PW_TEXT);
2366  defun("PW_TTEXT",mod,PW_TTEXT);
2367  defun("PW_UNLOCK",mod,PW_UNLOCK);
2368  defun("PW_VECTOR",mod,MY_PW_VECTOR);
2369  defun("PW_WRITE",mod,PW_WRITE);
2370  defun("PW_WRITEBACKGROUND",mod,PW_WRITEBACKGROUND);
2371  defun("PW_BLACKONWHITE",mod,PW_BLACKONWHITE);
2372  defun("PW_CYCLECOLORMAP",mod,PW_CYCLECOLORMAP);
2373  defun("PW_GETATTRIBUTES",mod,PW_GETATTRIBUTES);
2374  defun("PW_GETCMSNAME",mod,PW_GETCMSNAME);
2375  defun("PW_GETCOLORMAP",mod,PW_GETCOLORMAP);
2376  defun("PW_PUTCOLORMAP",mod,PW_PUTCOLORMAP);
2377  defun("PW_REVERSEVIDEO",mod,PW_REVERSEVIDEO);
2378  defun("PW_SETCMSNAME",mod,PW_SETCMSNAME);
2379  defun("PW_WHITEONBLACK",mod,PW_WHITEONBLACK);
2380 
2381  defun("TEXTSW_ADD_MARK",mod,TEXTSW_ADD_MARK);
2382  defun("TEXTSW_APPEND_FILE_NAME",mod,TEXTSW_APPEND_FILE_NAME);
2383  defun("TEXTSW_DELETE",mod,TEXTSW_DELETE);
2384  defun("TEXTSW_EDIT",mod,TEXTSW_EDIT);
2385  defun("TEXTSW_ERASE",mod,TEXTSW_ERASE);
2386  defun("TEXTSW_FILE_LINES_VISIBLE",mod,TEXTSW_FILE_LINES_VISIBLE);
2387  defun("TEXTSW_FIND_BYTES",mod,TEXTSW_FIND_BYTES);
2388  defun("TEXTSW_MATCH_BYTES",mod,TEXTSW_MATCH_BYTES);
2389  defun("TEXTSW_FIND_MARK",mod,TEXTSW_FIND_MARK);
2390  defun("TEXTSW_FIRST",mod,my_TEXTSW_FIRST);
2391  defun("TEXTSW_INDEX_FOR_FILE_LINE",mod,TEXTSW_INDEX_FOR_FILE_LINE);
2392  defun("TEXTSW_INSERT",mod,TEXTSW_INSERT);
2393  defun("TEXTSW_NEXT",mod,TEXTSW_NEXT);
2394  defun("TEXTSW_NORMALIZE_VIEW",mod,TEXTSW_NORMALIZE_VIEW);
2395  defun("TEXTSW_POSSIBLY_NORMALIZE",mod,TEXTSW_POSSIBLY_NORMALIZE);
2396  defun("TEXTSW_REMOVE_MARK",mod,TEXTSW_REMOVE_MARK);
2397  defun("TEXTSW_REPLACE_BYTES",mod,TEXTSW_REPLACE_BYTES);
2398  defun("TEXTSW_RESET",mod,TEXTSW_RESET);
2399  defun("TEXTSW_SAVE",mod,TEXTSW_SAVE);
2400  defun("TEXTSW_SCREEN_LINE_COUNT",mod,TEXTSW_SCREEN_LINE_COUNT);
2401  defun("TEXTSW_SCROLL_LINES",mod,TEXTSW_SCROLL_LINES);
2402  defun("TEXTSW_STORE_FILE",mod,TEXTSW_STORE_FILE);
2403  defun("TEXTSW_SET_SELECTION",mod,TEXTSW_SET_SELECTION);
2404 
2405  defun("TTYSW_INPUT",mod,TTYSW_INPUT);
2406  defun("TTYSW_OUTPUT",mod,TTYSW_OUTPUT);
2407 
2408  defun("NOTIFY_DEFAULT_WAIT3",mod,NOTIFY_DEFAULT_WAIT3);
2409  defun("NOTIFY_DISPATCH",mod,L_NOTIFY_DISPATCH);
2410  defun("NOTIFY_DO_DISPATCH",mod,NOTIFY_DO_DISPATCH);
2411  defun("NOTIFY_INTERPOSE_DESTROY_FUNC",mod,
2413  defun("NOTIFY_INTERPOSE_EVENT_FUNC",mod,
2415  defun("NOTIFY_ITIMER_VALUE",mod,NOTIFY_ITIMER_VALUE);
2416  defun("NOTIFY_NEXT_DESTROY_FUNC",mod,NOTIFY_NEXT_DESTROY_FUNC);
2417  defun("NOTIFY_NEXT_EVENT_FUNC",mod,NOTIFY_NEXT_EVENT_FUNC);
2418  defun("NOTIFY_SET_DESTROY_FUNC",mod,NOTIFY_SET_DESTROY_FUNC);
2419  defun("NOTIFY_SET_EXCEPTION_FUNC",mod,NOTIFY_SET_EXCEPTION_FUNC);
2420  defun("NOTIFY_SET_INPUT_FUNC",mod,NOTIFY_SET_INPUT_FUNC);
2421  defun("NOTIFY_SET_ITIMER_FUNC",mod,NOTIFY_SET_ITIMER_FUNC);
2422  defun("NOTIFY_SET_SIGNAL_FUNC",mod,NOTIFY_SET_SIGNAL_FUNC);
2423  defun("NOTIFY_SET_OUTPUT_FUNC",mod,NOTIFY_SET_OUTPUT_FUNC);
2424  defun("NOTIFY_SET_WAIT3_FUNC",mod,NOTIFY_SET_WAIT3_FUNC);
2425  defun("NOTIFY_START",mod,NOTIFY_START);
2426  defun("NOTIFY_STOP",mod,NOTIFY_STOP);
2427  defun("NOTIFY_NO_DISPATCH",mod,NOTIFY_NO_DISPATCH);
2428  defun("NOTIFY_PERROR",mod,NOTIFY_PERROR);
2429  defun("NOTIFY_VETO_DESTROY",mod,NOTIFY_VETO_DESTROY);
2430 
2431  defun("MPR_LINEBYTES",mod,MPR_LINEBYTES);
2432  defun("MEM_CREATE",mod,MEM_CREATE);
2433  defun("MEM_POINT",mod,MEM_POINT);
2434 
2435  defun("PF_TEXTBATCH",mod,PF_TEXTBATCH);
2436  defun("PF_TEXTWIDTH",mod,PF_TEXTWIDTH);
2437  defun("PF_CLOSE",mod,MY_PF_CLOSE);
2438  defun("PF_TEXT",mod,MY_PF_TEXT);
2439  defun("PF_TTEXT",mod,MY_PF_TTEXT);
2440 
2441  defun("PF_DEFAULT",mod,PF_DEFAULT);
2442  defun("PF_OPEN",mod,PF_OPEN);
2443  defun("PF_OPEN_PRIVATE",mod,PF_OPEN_PRIVATE);
2444 
2445  defun("PR_OPEN",mod,PR_OPEN);
2446  defun("PR_VECTOR",mod,PR_VECTOR);
2447  defun("PR_POLYGON_2",mod,PR_POLYGON_2);
2448  defun("PR_REVERSEVIDEO",mod,PR_REVERSEVIDEO);
2449  defun("PR_DUMP_INIT",mod,PR_DUMP_INIT);
2450  defun("PR_LOAD_COLORMAP",mod,PR_LOAD_COLORMAP);
2451  defun("PR_LOAD_HEADER",mod,PR_LOAD_HEADER);
2452  defun("PR_LOAD_IMAGE",mod,PR_LOAD_IMAGE);
2453  defun("PR_LOAD",mod,PR_LOAD);
2454  defun("PR_LOAD_STD_IMAGE",mod,PR_LOAD_STD_IMAGE);
2455  defun("PR_REPLROP",mod,PR_REPLROP);
2456  defun("PR_BLACKONWHITE",mod,PR_BLACKONWHITE);
2457  defun("PR_WHITEONBLACK",mod,PR_WHITEONBLACK);
2458  defun("PR_TRAPROP",mod,PR_TRAPROP);
2459  defun("PR_DUMP_HEADER",mod,PR_DUMP_HEADER);
2460  defun("PR_DUMP_IMAGE",mod,PR_DUMP_IMAGE);
2461  defun("PR_DUMP",mod,PR_DUMP);
2462  defun("PR_PUT",mod,PR_PUT);
2463  defun("PR_PUTATTRIBUTES",mod,PR_PUTATTRIBUTES);
2464 
2465  defun("PR_REGION",mod,PR_REGION);
2466  defun("PR_STENCIL",mod,PR_STENCIL);
2467  defun("PR_GET",mod,PR_GET);
2468  defun("PR_ROP",mod,PR_ROP);
2469  defun("PR_DESTROY",mod,PR_DESTROY);
2470  defun("PR_PUTCOLORMAP",mod,PR_PUTCOLORMAP);
2471 
2472  defun("XV_ROP",mod,XV_ROP);
2473 
2474  /*
2475  defun("PRS_REGION",mod,PRS_REGION);
2476  defun("PRS_STENCIL",mod,PRS_STENCIL);
2477  defun("PRS_ROP",mod,PRS_ROP);
2478  defun("PRS_GET",mod,PRS_GET);
2479  defun("PRS_VECTOR",mod,PRS_VECTOR);
2480  defun("PRS_GETCOLORMAP",mod,PRS_GETCOLORMAP);
2481  defun("PRS_GETATTRIBUTES",mod,PRS_GETATTRIBUTES);
2482  defun("PRS_DESTROY",mod,PRS_DESTROY);
2483  defun("PRS_REPLROP",mod,PRS_REPLROP);
2484  defun("PRS_PUTCOLORMAP",mod,PRS_PUTCOLORMAP);
2485  defun("PRS_PUT",mod,PRS_PUT);
2486  defun("PRS_PUTATTRIBUTES",mod,PRS_PUTATTRIBUTES);
2487 */
2488  defun("SELN_ASK",mod,SELN_ASK);
2489  defun("SELN_INIT_REQUEST",mod,SELN_INIT_REQUEST);
2490  defun("SELN_QUERY",mod,SELN_QUERY);
2491  defun("SELN_FIGURE_RESPONSE",mod,SELN_FIGURE_RESPONSE);
2492  defun("SELN_ACQUIRE",mod,SELN_ACQUIRE);
2493  defun("SELN_DESTROY",mod,SELN_DESTROY);
2494  defun("SELN_DONE",mod,SELN_DONE);
2495  defun("SELN_HOLD_FILE",mod,SELN_HOLD_FILE);
2496  defun("SELN_HOLDER_SAME_CLIENT",mod,SELN_HOLDER_SAME_CLIENT);
2497  defun("SELN_HOLDER_SAME_PROCESS",mod,SELN_HOLDER_SAME_PROCESS);
2498  defun("SELN_INFORM",mod,SELN_INFORM);
2499  defun("SELN_INQUIRE",mod,SELN_INQUIRE);
2500  defun("SELN_REQUEST",mod,my_SELN_REQUEST);
2501  defun("SELN_SAME_HOLDER",mod,SELN_SAME_HOLDER);
2502  defun("SELN_SECONDARY_EXISTS",mod,SELN_SECONDARY_EXISTS);
2503  defun("SELN_SECONDARY_MADE",mod,SELN_SECONDARY_MADE);
2504  defun("SELN_USE_TIMEOUT",mod,SELN_USE_TIMEOUT);
2505  defun("SELN_YIELD_ALL",mod,SELN_YIELD_ALL);
2506  defun("READER",mod,READER);
2507 
2508 /*
2509  defun("PW_SET_X_OFFSET",mod,PW_SET_X_OFFSET);
2510  defun("PW_SET_Y_OFFSET",mod,PW_SET_Y_OFFSET);
2511  defun("PW_SET_XY_OFFSET",mod,PW_SET_XY_OFFSET);
2512  defun("PW_GET_X_OFFSET",mod,PW_GET_X_OFFSET);
2513  defun("PW_GET_Y_OFFSET",mod,PW_GET_Y_OFFSET);
2514  defun("PW_DAMAGED",mod,PW_DAMAGED);
2515  defun("PW_REPAIRRETAINED",mod,PW_REPAIRRETAINED);
2516  defun("PW_DONEDAMAGED",mod,PW_DONEDAMAGED);
2517  defun("PW_EXPOSED",mod,PW_EXPOSED);
2518 */
2519  defun("EVENT_ID",mod,EVENT_ID);
2520  defun("EVENT_IS_UP",mod,EVENT_IS_UP);
2521  defun("EVENT_IS_DOWN",mod,EVENT_IS_DOWN);
2522  defun("EVENT_X",mod,EVENT_X);
2523  defun("EVENT_Y",mod,EVENT_Y);
2524  defun("EVENT_SHIFTMASK",mod,EVENT_SHIFTMASK);
2525  defun("EVENT_TIME",mod,EVENT_TIME);
2526  defun("EVENT_SET_TIME",mod,EVENT_SET_TIME);
2527  defun("EVENT_SHIFT_IS_DOWN",mod,EVENT_SHIFT_IS_DOWN);
2528  defun("EVENT_CTRL_IS_DOWN",mod,EVENT_CTRL_IS_DOWN);
2529  defun("EVENT_META_IS_DOWN",mod,EVENT_META_IS_DOWN);
2530  defun("EVENT_IS_BUTTON",mod,EVENT_IS_BUTTON);
2531  defun("EVENT_IS_ASCII",mod,EVENT_IS_ASCII);
2532  defun("EVENT_IS_META",mod,EVENT_IS_META);
2533  defun("EVENT_IS_KEY_LEFT",mod,EVENT_IS_KEY_LEFT);
2534  defun("EVENT_IS_KEY_RIGHT",mod,EVENT_IS_KEY_RIGHT);
2535  defun("EVENT_IS_KEY_TOP",mod,EVENT_IS_KEY_TOP);
2536  defun("EVENT_SET_ID",mod,EVENT_SET_ID);
2537  defun("EVENT_SET_SHIFTMASK",mod,EVENT_SET_SHIFTMASK);
2538  defun("EVENT_SET_X",mod,EVENT_SET_X);
2539  defun("EVENT_SET_Y",mod,EVENT_SET_Y);
2540  defun("EVENT_SET_UP",mod,EVENT_SET_UP);
2541  defun("EVENT_SET_DOWN",mod,EVENT_SET_DOWN);
2542 
2543  defun("KEY_LEFT",mod,L_KEY_LEFT);
2544  defun("KEY_RIGHT",mod,L_KEY_RIGHT);
2545  defun("KEY_TOP",mod,L_KEY_TOP);
2546  defun("BUT",mod,L_BUT);
2547 
2548  defun("GET_SELECTION",mod,GET_SELECTION);
2549  defun("ADR_TO_STRING",mod,ADR_TO_STRING);
2550  defun("EXPAND_NAME",mod,EXPAND_NAME);
2551  defun("PEEK_BYTE",mod,PEEK_BYTE);
2552  defun("PEEK_SHORT",mod,PEEK_SHORT);
2553  defun("PEEK_LONG",mod,PEEK_LONG);
2554  defun("PEEK_DOUBLE",mod,PEEK_DOUBLE);
2555 
2556  defun("SCROLLBAR_CREATE",mod,SCROLLBAR_CREATE);
2557 
2558 }
pointer TEXTSW_FIND_MARK(int n, argv)
Definition: xview.c:1265
pr_load_colormap()
pointer PW_UNLOCK(int n, argv)
Definition: xview.c:1084
pointer my_TEXTSW_FIRST(int n, argv)
Definition: xview.c:1271
xv_col
pointer PANEL_CREATE_SLIDER(int n, argv)
Definition: xview.c:834
#define strchr(p)
menu_create_item
my_pw_batch_off(Pixwin *pw)
Definition: xview.c:873
pointer NOTIFY_SET_WAIT3_FUNC(int n, argv)
Definition: xview.c:1474
pointer PANEL_CREATE_TOGGLE(int n, argv)
Definition: xview.c:748
pointer ICON_OPEN_HEADER(int n, argv)
Definition: xview.c:2018
pointer WINDOW_SET(int n, argv)
Definition: xview.c:304
pointer EVENT_SET_ID(int n, argv)
Definition: xview.c:2144
pointer L_KEY_RIGHT(int n, argv)
Definition: xview.c:2191
pointer ICON_GET(int n, argv)
Definition: xview.c:853
pointer NOTIFY_ITIMER_VALUE(int n, argv)
Definition: xview.c:1424
pointer SELN_DONE(int n, argv)
Definition: xview.c:1841
pointer PR_POLYGON_2(int n, argv)
Definition: xview.c:1634
struct vector vec
Definition: eus.h:412
pointer MENU_SHOW(int n, argv)
Definition: xview.c:465
pointer NOTIFY_SET_ITIMER_FUNC(int n, argv)
Definition: xview.c:1458
pointer TEXTSW_FIND_BYTES(int n, argv)
Definition: xview.c:1253
pointer MENU_SET(int n, argv)
Definition: xview.c:430
pointer PR_LOAD_STD_IMAGE(int n, argv)
Definition: xview.c:1680
pw_ttext
pointer TEXTSW_REPLACE_BYTES(int n, argv)
Definition: xview.c:1319
pointer PF_TEXTBATCH(int n, argv)
Definition: xview.c:1561
event_is_down
window_fit_height
pointer NOTIFY_VETO_DESTROY(int n, argv)
Definition: xview.c:1505
xv_pf_ttext()
pointer NOTIFY_INTERPOSE_EVENT_FUNC(int n, argv)
Definition: xview.c:1418
#define makeint(v)
Definition: sfttest.c:2
pointer MY_PW_VECTOR(int n, argv)
Definition: xview.c:1091
pointer TEXTSW_INDEX_FOR_FILE_LINE(int n, argv)
Definition: xview.c:1277
pointer C_VECTOR
Definition: eus.c:144
pointer PR_DESTROY(int n, argv)
Definition: xview.c:1794
pointer PR_REGION(int n, argv)
Definition: xview.c:1745
pointer NOTIFY_SET_DESTROY_FUNC(int n, argv)
Definition: xview.c:1439
pointer cons(context *, pointer, pointer)
Definition: makes.c:97
event_is_up
largv2cargv(int n, argv, cargv, int from, int to)
Definition: transargv.c:162
pointer PR_VECTOR(int n, argv)
Definition: xview.c:1624
pointer L_BUT(int n, argv)
Definition: xview.c:2203
pointer PW_CYCLECOLORMAP(int n, argv)
Definition: xview.c:1127
pointer my_PANEL_GET(int n, argv)
Definition: xview.c:587
pointer PANEL_SET_VALUE(int n, argv)
Definition: xview.c:627
pointer ICON_LOAD_MPR(int n, argv)
Definition: xview.c:2011
notify_no_dispatch
pointer PW_BATCHROP(int n, argv)
Definition: xview.c:915
pointer NOTIFY_SET_OUTPUT_FUNC(int n, argv)
Definition: xview.c:1468
pointer SELN_FIGURE_RESPONSE(int n, argv)
Definition: xview.c:1848
pw_copy
pointer TEXTSW_SCROLL_LINES(int n, argv)
Definition: xview.c:1346
pointer PW_GETATTRIBUTES(int n, argv)
Definition: xview.c:1135
pointer WINDOW_DONE(int n, argv)
Definition: xview.c:340
pointer T
Definition: eus.c:110
pointer MEM_CREATE(int n, argv)
Definition: xview.c:1549
pointer WINDOW_CREATE_TEXTSW(int n, argv)
Definition: xview.c:279
pointer PR_BLACKONWHITE(int n, argv)
Definition: xview.c:1692
pointer PR_LOAD(int n, argv)
Definition: xview.c:1674
xv_row
pr_replrop()
pointer PW_POLYGON_2(int n, argv)
Definition: xview.c:972
GLfloat n[6][3]
Definition: cube.c:15
pointer EVENT_IS_BUTTON(int n, argv)
Definition: xview.c:2107
pointer TEXTSW_EDIT(int n, argv)
Definition: xview.c:1233
pointer call_xv_create(caddr_t type, int n, argv)
Definition: xview.c:166
pointer my_CANVAS_PAINT_WINDOW(int n, argv)
Definition: xview.c:397
pw_text
pointer PW_TTEXT(int n, argv)
Definition: xview.c:1075
pointer EVENT_SET_SHIFTMASK(int n, argv)
Definition: xview.c:2151
pointer PANEL_UPDATE_PREVIEW(int n, argv)
Definition: xview.c:606
pointer MY_PW_TEXT(int n, argv)
Definition: xview.c:1066
pointer ICON_LOAD(int n, argv)
Definition: xview.c:1996
pointer NOTIFY_NEXT_EVENT_FUNC(int n, argv)
Definition: xview.c:1434
pointer PW_GETCOLORMAP(int n, argv)
Definition: xview.c:1164
trans_argv_iargv(int n, argv, main_iargv)
Definition: transargv.c:60
pr_polygon_2()
pointer PF_OPEN_PRIVATE(int n, argv)
Definition: xview.c:1584
pointer EVENT_ID(int n, argv)
Definition: xview.c:2029
pointer PW_LOCK(int n, argv)
Definition: xview.c:957
panel_event
pointer MENU_DESTROY_WITH_PROC(int n, argv)
Definition: xview.c:444
pointer PANEL_BEGIN_PREVIEW(int n, argv)
Definition: xview.c:524
pointer EVENT_SET_UP(int n, argv)
Definition: xview.c:2172
pw_setcmsname
my_pw_get_region_rect(Pixwin *pw, Rect *r)
Definition: xview.c:888
pointer TEXTSW_ADD_MARK(int n, argv)
Definition: xview.c:1215
pointer READER(int n, argv)
Definition: xview.c:1823
canvas_paint_window
defun("ADR_TO_STRING", mod, ADR_TO_STRING)
pointer NOTIFY_SET_EXCEPTION_FUNC(int n, argv)
Definition: xview.c:1445
pointer PEEK_LONG(int n, argv)
Definition: xview.c:2237
pr_whiteonblack()
pointer NOTIFY_DO_DISPATCH(int n, argv)
Definition: xview.c:1405
textsw_delete()
pointer PW_PUT(int n, argv)
Definition: xview.c:1011
pr_load_header()
pointer PANEL_CREATE_ITEM(int n, argv)
Definition: xview.c:559
pointer MY_PF_TTEXT(int n, argv)
Definition: xview.c:1611
pointer PW_BLACKONWHITE(int n, argv)
Definition: xview.c:1119
pointer MENU_RETURN_VALUE(int n, argv)
Definition: xview.c:481
panel_default_handle_event
pointer PR_REVERSEVIDEO(int n, argv)
Definition: xview.c:1644
canvas_event
pw_batch_off
pr_dump_image()
pointer WINDOW_BELL(int n, argv)
Definition: xview.c:347
pointer ICON_INIT_FROM_PR(int n, argv)
Definition: xview.c:2004
icon_load_mpr
textsw_replace_bytes()
pr_reversevideo()
xv_pf_textbatch()
pointer PANEL_ADVANCE_CARET(int n, argv)
Definition: xview.c:538
cknumtoint(pointer v)
Definition: transargv.c:12
pointer EVENT_IS_KEY_TOP(int n, argv)
Definition: xview.c:2137
pointer PR_GET(int n, argv)
Definition: xview.c:1766
pointer CANVAS_EVENT(int n, argv)
Definition: xview.c:403
pointer makevector(pointer, int)
Definition: makes.c:417
pointer SELN_QUERY(int n, argv)
Definition: xview.c:1818
pointer TEXTSW_REMOVE_MARK(int n, argv)
Definition: xview.c:1311
canvas_pixwin
pointer EVENT_SET_X(int n, argv)
Definition: xview.c:2158
pw_write
pw_polyline
pointer NOTIFY_SET_INPUT_FUNC(int n, argv)
Definition: xview.c:1452
ckarg(2)
pointer GET_SELECTION(int n, argv)
Definition: xview.c:1935
pointer TEXTSW_FILE_LINES_VISIBLE(int n, argv)
Definition: xview.c:1245
pointer MENU_FIND(int n, argv)
Definition: xview.c:452
pointer PANEL_DESTROY_ITEM(int n, argv)
Definition: xview.c:580
my_pw_putcolormap(Pixwin *pw, int index, int count, int red, int green, int blue)
Definition: xview.c:895
pointer PANEL_UPDATE_SCROLLING_SIZE(int n, argv)
Definition: xview.c:600
pointer TEXTSW_SCREEN_LINE_COUNT(int n, argv)
Definition: xview.c:1339
pointer PW_BATCH(int n, argv)
Definition: xview.c:865
notify_do_dispatch
menu_get
pointer PW_COPY(int n, argv)
Definition: xview.c:933
pointer PR_PUT(int n, argv)
Definition: xview.c:1728
pointer PR_LOAD_COLORMAP(int n, argv)
Definition: xview.c:1656
event_x
pointer PW_GET(int n, argv)
Definition: xview.c:942
pointer PEEK_DOUBLE(int n, argv)
Definition: xview.c:2250
pointer my_SELN_REQUEST(int n, argv)
Definition: xview.c:1895
pointer PANEL_CANCEL_PREVIEW(int n, argv)
Definition: xview.c:531
pw_getcmsname
window_fit_width
pointer PANEL_ACCEPT_KEY(int n, argv)
Definition: xview.c:503
notify_set_itimer_func
pointer NOTIFY_NO_DISPATCH(int n, argv)
Definition: xview.c:1492
pointer MENU_CREATE_ITEM(int n, argv)
Definition: xview.c:424
pointer PF_OPEN(int n, argv)
Definition: xview.c:1577
pointer * makebnum()
union cell::cellunion c
event_y
textsw_scroll_lines()
panel_update_scrolling_size
xv_pf_open()
pointer ICON_DESTROY(int n, argv)
Definition: xview.c:858
pr_rop
pointer SELN_YIELD_ALL(int n, argv)
Definition: xview.c:1927
pointer TEXTSW_SET_SELECTION(int n, argv)
Definition: xview.c:1357
pointer TEXTSW_NEXT(int n, argv)
Definition: xview.c:1289
pointer SELN_INQUIRE(int n, argv)
Definition: xview.c:1889
pointer XV_COL(int n, argv)
Definition: xview.c:1379
pointer EVENT_TIME(int n, argv)
Definition: xview.c:2066
xv_pf_text()
my_pw_get(Pixwin *pw, int x, int y)
Definition: xview.c:883
pr_dump()
pointer EVENT_IS_META(int n, argv)
Definition: xview.c:2119
pointer NOTIFY_DEFAULT_WAIT3(int n, argv)
Definition: xview.c:1393
textsw_append_file_name()
pointer PW_REVERSEVIDEO(int n, argv)
Definition: xview.c:1190
pointer SELN_HOLD_FILE(int n, argv)
Definition: xview.c:1855
pointer CANVAS_WINDOW_EVENT(int n, argv)
Definition: xview.c:410
pointer SELN_INFORM(int n, argv)
Definition: xview.c:1875
event_time
pointer PANEL_EVENT(int n, argv)
Definition: xview.c:573
pointer WINDOW_REFUSE_KBD_FOCUS(int n, argv)
Definition: xview.c:360
pointer TTYSW_INPUT(int n, argv)
Definition: xview.c:1366
Definition: eus.h:379
pointer MY_PW_POLYPOINT(int n, argv)
Definition: xview.c:999
pointer my_PANEL_PAINT(int n, argv)
Definition: xview.c:635
mem_point
pointer TEXTSW_MATCH_BYTES(int n, argv)
Definition: xview.c:1259
textsw_find_bytes()
pointer EXPAND_NAME(int n, argv)
Definition: xview.c:1976
pointer WINDOW_CREATE_TTY(int n, argv)
Definition: xview.c:273
textsw_save()
panel_button_image
textsw_store_file()
pointer WINDOW_READ_EVENT(int n, argv)
Definition: xview.c:354
init_xview(pointer mod)
Definition: xview.c:2264
pointer PW_PUTCOLORMAP(int n, argv)
Definition: xview.c:1184
pointer TEXTSW_SAVE(int n, argv)
Definition: xview.c:1333
short s
Definition: structsize.c:2
pointer TEXTSW_DELETE(int n, argv)
Definition: xview.c:1227
pointer PF_DEFAULT(int n, argv)
Definition: xview.c:1591
xv_pf_close()
pointer EVENT_SET_Y(int n, argv)
Definition: xview.c:2165
pointer PW_WRITEBACKGROUND(int n, argv)
Definition: xview.c:1110
my_pw_batch_on(Pixwin *pw)
Definition: xview.c:878
pointer WINDOW_FIT_HEIGHT(int n, argv)
Definition: xview.c:367
pointer EVENT_SHIFTMASK(int n, argv)
Definition: xview.c:2059
pointer PEEK_BYTE(int n, argv)
Definition: xview.c:2211
pointer SCROLLBAR_CREATE(int n, argv)
Definition: xview.c:643
pointer L_NOTIFY_DISPATCH(int n, argv)
Definition: xview.c:1399
textsw_index_for_file_line()
pointer PANEL_ACCEPT_MENU(int n, argv)
Definition: xview.c:510
pointer PANEL_FREE(int n, argv)
Definition: xview.c:497
pointer WINDOW_CREATE(int n, argv)
Definition: xview.c:159
pr_dump_header()
pointer WINDOW_FIT_WIDTH(int n, argv)
Definition: xview.c:374
pointer PR_DUMP_IMAGE(int n, argv)
Definition: xview.c:1716
pointer PW_GETCMSNAME(int n, argv)
Definition: xview.c:1153
pointer PANEL_ACCEPT_PREVIEW(int n, argv)
Definition: xview.c:517
pointer TTYSW_OUTPUT(int n, argv)
Definition: xview.c:1372
pointer PANEL_CREATE_CHOICE(int n, argv)
Definition: xview.c:662
pr_traprop()
pointer PW_SETCMSNAME(int n, argv)
Definition: xview.c:1198
pointer MY_PW_LINE(int n, argv)
Definition: xview.c:947
pointer MENU_RETURN_ITEM(int n, argv)
Definition: xview.c:473
icon_create
pointer EVENT_SET_DOWN(int n, argv)
Definition: xview.c:2178
pointer L_KEY_LEFT(int n, argv)
Definition: xview.c:2185
pointer NOTIFY_PERROR(int n, argv)
Definition: xview.c:1498
pointer PW_BATCH_ON(int n, argv)
Definition: xview.c:910
long saved_time
Definition: xview.c:245
pointer SELN_SAME_HOLDER(int n, argv)
Definition: xview.c:1901
pointer error(enum errorcode ec,...) pointer error(va_alist) va_dcl
Definition: eus.c:297
pointer my_MENU_CREATE(int n, argv)
Definition: xview.c:418
pointer WINDOW_RELEASE_EVENT_LOCK(int n, argv)
Definition: xview.c:381
pointer PR_LOAD_HEADER(int n, argv)
Definition: xview.c:1662
pointer SELN_ASK(int n, argv)
Definition: xview.c:1813
xv_pf_textwidth()
pointer NOTIFY_SET_SIGNAL_FUNC(int n, argv)
Definition: xview.c:1463
ttysw_input()
pointer PW_CHAR(int n, argv)
Definition: xview.c:924
pointer PEEK_SHORT(int n, argv)
Definition: xview.c:2224
pointer PANEL_DEFAULT_HANDLE_EVENT(int n, argv)
Definition: xview.c:565
pointer my_PW_SHOW(int n, argv)
Definition: xview.c:1049
textsw_edit()
pointer PR_STENCIL(int n, argv)
Definition: xview.c:1756
pointer TEXTSW_ERASE(int n, argv)
Definition: xview.c:1239
menu_find
textsw_screen_line_count()
pw_polygon_2
pointer MY_PW_ROP(int n, argv)
Definition: xview.c:1039
pointer PANEL_BUTTON_IMAGE(int n, argv)
Definition: xview.c:551
pointer ICON_SET(int n, argv)
Definition: xview.c:847
pointer SELN_DESTROY(int n, argv)
Definition: xview.c:1834
pointer WINDOW_DESTROY(int n, argv)
Definition: xview.c:332
pointer ICON_CREATE(int n, argv)
Definition: xview.c:841
pw_getcolormap
mem_create
pointer PR_WHITEONBLACK(int n, argv)
Definition: xview.c:1698
scrollbar_create
pointer WINDOW_CREATE_CANVAS(int n, argv)
Definition: xview.c:266
pointer WINDOW_GET(int n, argv)
Definition: xview.c:310
textsw_erase()
pointer PW_PFSYSCLOSE(int n, argv)
Definition: xview.c:965
pointer MY_PW_STENCIL(int n, argv)
Definition: xview.c:1056
pointer XV_ROP(int n, argv)
Definition: xview.c:1783
pointer PW_READ(int n, argv)
Definition: xview.c:1019
pointer NOTIFY_START(int n, argv)
Definition: xview.c:1480
pointer GET_CANVAS_PIXWIN(int n, argv)
Definition: xview.c:390
pw_putcolormap
event_is_button
int count
Definition: thrtest.c:11
pointer PANEL_CREATE_BUTTON(int n, argv)
Definition: xview.c:656
char * index(char *sp, char c)
Definition: eustags.c:1669
pointer WINDOW_CREATE_FRAME(int n, argv)
Definition: xview.c:247
pr_vector
pointer SELN_USE_TIMEOUT(int n, argv)
Definition: xview.c:1920
canvas_window_event
pointer makestring(char *, int)
Definition: makes.c:147
pointer PR_PUTCOLORMAP(int n, argv)
Definition: xview.c:1801
pointer EVENT_IS_DOWN(int n, argv)
Definition: xview.c:2041
pointer PW_WRITE(int n, argv)
Definition: xview.c:1100
pointer PW_PUTATTRIBUTES(int n, argv)
Definition: xview.c:1143
pointer EVENT_SET_TIME(int n, argv)
Definition: xview.c:2076
pointer PR_TRAPROP(int n, argv)
Definition: xview.c:1704
pointer WINDOW_MAIN_LOOP(int n, argv)
Definition: xview.c:324
pointer PR_DUMP_HEADER(int n, argv)
Definition: xview.c:1710
pointer SELN_HOLDER_SAME_CLIENT(int n, argv)
Definition: xview.c:1862
pointer PR_PUTATTRIBUTES(int n, argv)
Definition: xview.c:1736
pointer my_MENU_DESTROY(int n, argv)
Definition: xview.c:436
textsw_match_bytes()
pointer TEXTSW_NORMALIZE_VIEW(int n, argv)
Definition: xview.c:1295
pointer NOTIFY_STOP(int n, argv)
Definition: xview.c:1486
event_id
pointer PANEL_CREATE_CYCLE(int n, argv)
Definition: xview.c:668
pointer PR_DUMP(int n, argv)
Definition: xview.c:1722
pw_rop
pointer MY_PW_POLYLINE(int n, argv)
Definition: xview.c:985
pointer SELN_INIT_REQUEST(int n, argv)
Definition: xview.c:1883
pointer TEXTSW_RESET(int n, argv)
Definition: xview.c:1325
pointer MEM_POINT(int n, argv)
Definition: xview.c:1555
GLfloat v[8][3]
Definition: cube.c:21
pointer TEXTSW_STORE_FILE(int n, argv)
Definition: xview.c:1352
pw_vector
pointer MY_PW_REPLROP(int n, argv)
Definition: xview.c:1029
char * ckstrchr(pointer p)
Definition: xview.c:71
time_t timezone
pointer EVENT_IS_UP(int n, argv)
Definition: xview.c:2035
pointer NOTIFY_NEXT_DESTROY_FUNC(int n, argv)
Definition: xview.c:1429
pointer PF_TEXTWIDTH(int n, argv)
Definition: xview.c:1569
textsw_first()
pointer ADR_TO_STRING(int n, argv)
Definition: xview.c:1950
pointer PR_DUMP_INIT(int n, argv)
Definition: xview.c:1650
pointer SELN_SECONDARY_EXISTS(int n, argv)
Definition: xview.c:1908
pointer PR_OPEN(int n, argv)
Definition: xview.c:1618
pointer MPR_LINEBYTES(int n, argv)
Definition: xview.c:1542
pointer WINDOW_CREATE_PANEL(int n, argv)
Definition: xview.c:259
pointer NOTIFY_INTERPOSE_DESTROY_FUNC(int n, argv)
Definition: xview.c:1411
pointer PANEL_BACKUP_CARET(int n, argv)
Definition: xview.c:544
pointer PW_WHITEONBLACK(int n, argv)
Definition: xview.c:1206
pointer WINDOW_FIT(int n, argv)
Definition: xview.c:316
my_pw_writebackground(Pixwin *pw, int dx, int dy, int dw, int dh, int op)
Definition: xview.c:900
pointer EVENT_Y(int n, argv)
Definition: xview.c:2053
textsw_insert()
pointer MENU_GET(int n, argv)
Definition: xview.c:459
pointer MY_PF_TEXT(int n, argv)
Definition: xview.c:1605
panel_window_event
pointer PANEL_SET(int n, argv)
Definition: xview.c:490
menu_set
pointer PR_LOAD_IMAGE(int n, argv)
Definition: xview.c:1668
pw_writebackground
menu_show
pointer PANEL_CREATE_MESSAGE(int n, argv)
Definition: xview.c:650
pointer EVENT_IS_KEY_LEFT(int n, argv)
Definition: xview.c:2125
pointer EVENT_META_IS_DOWN(int n, argv)
Definition: xview.c:2101
pointer TEXTSW_INSERT(int n, argv)
Definition: xview.c:1283
static char buf[CHAR_SIZE]
Definition: helpsub.c:23
pointer EVENT_SHIFT_IS_DOWN(int n, argv)
Definition: xview.c:2089
menu_create
pointer SELN_SECONDARY_MADE(int n, argv)
Definition: xview.c:1914
pointer MY_PF_CLOSE(int n, argv)
Definition: xview.c:1599
pointer makebool(long v)
Definition: transargv.c:30
pointer PANEL_TEXT_NOTIFY(int n, argv)
Definition: xview.c:620
pointer NIL
Definition: eus.c:110
xv_pf_open_private()
pointer EVENT_IS_KEY_RIGHT(int n, argv)
Definition: xview.c:2131
pointer PANEL_WINDOW_EVENT(int n, argv)
Definition: xview.c:613
pointer PANEL_CREATE_TEXT(int n, argv)
Definition: xview.c:828
pointer v[1]
Definition: eus.h:299
pointer TEXTSW_POSSIBLY_NORMALIZE(int n, argv)
Definition: xview.c:1303
pointer PANEL_GET_VALUE(int n, argv)
Definition: xview.c:593
pointer L_KEY_TOP(int n, argv)
Definition: xview.c:2197
pointer PR_ROP(int n, argv)
Definition: xview.c:1773
pointer SELN_HOLDER_SAME_PROCESS(int n, argv)
Definition: xview.c:1869
pointer EVENT_CTRL_IS_DOWN(int n, argv)
Definition: xview.c:2095
pointer reader(context *, pointer, pointer)
Definition: reader.c:1016
pointer TEXTSW_APPEND_FILE_NAME(int n, argv)
Definition: xview.c:1221
pr_blackonwhite()
pointer call_sunview(long(*func)(), long n, long argv)
Definition: xview.c:78
pointer XV_ROW(int n, argv)
Definition: xview.c:1386
pointer SELN_ACQUIRE(int n, argv)
Definition: xview.c:1828
pointer EVENT_X(int n, argv)
Definition: xview.c:2047
pointer EVENT_IS_ASCII(int n, argv)
Definition: xview.c:2113
ttysw_output()
pointer PW_BATCH_OFF(int n, argv)
Definition: xview.c:905
pointer PR_REPLROP(int n, argv)
Definition: xview.c:1686
pointer makeflt()
textsw_next()


euslisp
Author(s): Toshihiro Matsui
autogenerated on Fri Feb 21 2020 03:20:54