13 byval sym
as FBSYMBOL
ptr _
18 byval sym
as FBSYMBOL
ptr _
33 @FB_RTL_GFXPSET, NULL, _
34 FB_DATATYPE_VOID, FB_FUNCMODE_FBCALL, _
38 ( FB_DATATYPE_VOID, FB_PARAMMODE_BYREF, FALSE ), _
39 ( FB_DATATYPE_SINGLE, FB_PARAMMODE_BYVAL, FALSE ), _
40 ( FB_DATATYPE_SINGLE, FB_PARAMMODE_BYVAL, FALSE ), _
41 ( FB_DATATYPE_ULONG, FB_PARAMMODE_BYVAL, FALSE ), _
42 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, FALSE ), _
43 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, FALSE ) _
53 @FB_RTL_GFXPOINT, NULL, _
54 FB_DATATYPE_LONG, FB_FUNCMODE_FBCALL, _
58 ( FB_DATATYPE_VOID, FB_PARAMMODE_BYREF, FALSE ), _
59 ( FB_DATATYPE_SINGLE, FB_PARAMMODE_BYVAL, FALSE ), _
60 ( FB_DATATYPE_SINGLE, FB_PARAMMODE_BYVAL, FALSE ) _
76 @FB_RTL_GFXLINE, NULL, _
77 FB_DATATYPE_VOID, FB_FUNCMODE_FBCALL, _
81 ( FB_DATATYPE_VOID, FB_PARAMMODE_BYREF, FALSE ), _
82 ( FB_DATATYPE_SINGLE, FB_PARAMMODE_BYVAL, FALSE ), _
83 ( FB_DATATYPE_SINGLE, FB_PARAMMODE_BYVAL, FALSE ), _
84 ( FB_DATATYPE_SINGLE, FB_PARAMMODE_BYVAL, FALSE ), _
85 ( FB_DATATYPE_SINGLE, FB_PARAMMODE_BYVAL, FALSE ), _
86 ( FB_DATATYPE_ULONG, FB_PARAMMODE_BYVAL, FALSE ), _
87 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, FALSE ), _
88 ( FB_DATATYPE_ULONG, FB_PARAMMODE_BYVAL, FALSE ), _
89 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, FALSE ) _
106 @FB_RTL_GFXCIRCLE, NULL, _
107 FB_DATATYPE_VOID, FB_FUNCMODE_FBCALL, _
111 ( FB_DATATYPE_VOID, FB_PARAMMODE_BYREF, FALSE ), _
112 ( FB_DATATYPE_SINGLE, FB_PARAMMODE_BYVAL, FALSE ), _
113 ( FB_DATATYPE_SINGLE, FB_PARAMMODE_BYVAL, FALSE ), _
114 ( FB_DATATYPE_SINGLE, FB_PARAMMODE_BYVAL, FALSE ), _
115 ( FB_DATATYPE_ULONG, FB_PARAMMODE_BYVAL, FALSE ), _
116 ( FB_DATATYPE_SINGLE, FB_PARAMMODE_BYVAL, FALSE ), _
117 ( FB_DATATYPE_SINGLE, FB_PARAMMODE_BYVAL, FALSE ), _
118 ( FB_DATATYPE_SINGLE, FB_PARAMMODE_BYVAL, FALSE ), _
119 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, FALSE ), _
120 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, FALSE ) _
135 @FB_RTL_GFXPAINT, NULL, _
136 FB_DATATYPE_VOID, FB_FUNCMODE_FBCALL, _
140 ( FB_DATATYPE_VOID, FB_PARAMMODE_BYREF, FALSE ), _
141 ( FB_DATATYPE_SINGLE, FB_PARAMMODE_BYVAL, FALSE ), _
142 ( FB_DATATYPE_SINGLE, FB_PARAMMODE_BYVAL, FALSE ), _
143 ( FB_DATATYPE_ULONG, FB_PARAMMODE_BYVAL, FALSE ), _
144 ( FB_DATATYPE_ULONG, FB_PARAMMODE_BYVAL, FALSE ), _
145 ( FB_DATATYPE_STRING, FB_PARAMMODE_BYREF, FALSE ), _
146 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, FALSE ), _
147 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, FALSE ) _
152 @FB_RTL_GFXDRAW, NULL, _
153 FB_DATATYPE_VOID, FB_FUNCMODE_FBCALL, _
157 ( FB_DATATYPE_VOID, FB_PARAMMODE_BYREF, FALSE ), _
158 ( FB_DATATYPE_STRING, FB_PARAMMODE_BYREF, FALSE ) _
176 @FB_RTL_GFXDRAWSTRING, NULL, _
177 FB_DATATYPE_INTEGER, FB_FUNCMODE_FBCALL, _
181 ( FB_DATATYPE_VOID, FB_PARAMMODE_BYREF, FALSE ), _
182 ( FB_DATATYPE_SINGLE, FB_PARAMMODE_BYVAL, FALSE ), _
183 ( FB_DATATYPE_SINGLE, FB_PARAMMODE_BYVAL, FALSE ), _
184 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, FALSE ), _
185 ( FB_DATATYPE_STRING, FB_PARAMMODE_BYREF, FALSE ), _
186 ( FB_DATATYPE_ULONG, FB_PARAMMODE_BYVAL, FALSE ), _
187 ( FB_DATATYPE_VOID, FB_PARAMMODE_BYREF, FALSE ), _
188 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, FALSE ), _
189 ( typeAddrOf( FB_DATATYPE_VOID ), FB_PARAMMODE_BYVAL, FALSE ), _
190 ( typeAddrOf( FB_DATATYPE_VOID ), FB_PARAMMODE_BYVAL, FALSE ), _
191 ( typeAddrOf( FB_DATATYPE_VOID ), FB_PARAMMODE_BYVAL, FALSE ) _
205 @FB_RTL_GFXVIEW, NULL, _
206 FB_DATATYPE_VOID, FB_FUNCMODE_FBCALL, _
210 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, FALSE ), _
211 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, FALSE ), _
212 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, FALSE ), _
213 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, FALSE ), _
214 ( FB_DATATYPE_ULONG, FB_PARAMMODE_BYVAL, FALSE ), _
215 ( FB_DATATYPE_ULONG, FB_PARAMMODE_BYVAL, FALSE ), _
216 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, FALSE ) _
228 @FB_RTL_GFXWINDOW, NULL, _
229 FB_DATATYPE_VOID, FB_FUNCMODE_FBCALL, _
233 ( FB_DATATYPE_SINGLE, FB_PARAMMODE_BYVAL, TRUE, 0 ), _
234 ( FB_DATATYPE_SINGLE, FB_PARAMMODE_BYVAL, TRUE, 0 ), _
235 ( FB_DATATYPE_SINGLE, FB_PARAMMODE_BYVAL, TRUE, 0 ), _
236 ( FB_DATATYPE_SINGLE, FB_PARAMMODE_BYVAL, TRUE, 0 ), _
237 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, TRUE, 0 ) _
248 @FB_RTL_GFXPALETTE, NULL, _
249 FB_DATATYPE_VOID, FB_FUNCMODE_FBCALL, _
253 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, TRUE, -1 ), _
254 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, TRUE, -1 ), _
255 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, TRUE, -1 ), _
256 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, TRUE, -1 ) _
261 @FB_RTL_GFXPALETTEUSING, NULL, _
262 FB_DATATYPE_VOID, FB_FUNCMODE_FBCALL, _
266 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYREF, FALSE ) _
271 @FB_RTL_GFXPALETTEUSING64, NULL, _
272 FB_DATATYPE_VOID, FB_FUNCMODE_FBCALL, _
276 ( FB_DATATYPE_LONGINT, FB_PARAMMODE_BYREF, FALSE ) _
287 @FB_RTL_GFXPALETTEGET, NULL, _
288 FB_DATATYPE_VOID, FB_FUNCMODE_FBCALL, _
292 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, FALSE ), _
293 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYREF, FALSE ), _
294 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYREF, FALSE ), _
295 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYREF, FALSE ) _
306 @FB_RTL_GFXPALETTEGET64, NULL, _
307 FB_DATATYPE_VOID, FB_FUNCMODE_FBCALL, _
311 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, FALSE ), _
312 ( FB_DATATYPE_LONGINT, FB_PARAMMODE_BYREF, FALSE ), _
313 ( FB_DATATYPE_LONGINT, FB_PARAMMODE_BYREF, FALSE ), _
314 ( FB_DATATYPE_LONGINT, FB_PARAMMODE_BYREF, FALSE ) _
319 @FB_RTL_GFXPALETTEGETUSING, NULL, _
320 FB_DATATYPE_VOID, FB_FUNCMODE_FBCALL, _
324 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYREF, FALSE ) _
329 @FB_RTL_GFXPALETTEGETUSING64, NULL, _
330 FB_DATATYPE_VOID, FB_FUNCMODE_FBCALL, _
334 ( FB_DATATYPE_LONGINT, FB_PARAMMODE_BYREF, FALSE ) _
355 @FB_RTL_GFXPUT, NULL, _
356 FB_DATATYPE_LONG, FB_FUNCMODE_FBCALL, _
360 ( FB_DATATYPE_VOID, FB_PARAMMODE_BYREF, FALSE ), _
361 ( FB_DATATYPE_SINGLE, FB_PARAMMODE_BYVAL, FALSE ), _
362 ( FB_DATATYPE_SINGLE, FB_PARAMMODE_BYVAL, FALSE ), _
363 ( FB_DATATYPE_VOID, FB_PARAMMODE_BYREF, FALSE ), _
364 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, FALSE ), _
365 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, FALSE ), _
366 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, FALSE ), _
367 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, FALSE ), _
368 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, FALSE ), _
369 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, FALSE ), _
370 ( typeAddrOf( FB_DATATYPE_VOID ), FB_PARAMMODE_BYVAL, FALSE ), _
371 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, FALSE ), _
372 ( typeAddrOf( FB_DATATYPE_VOID ), FB_PARAMMODE_BYVAL, FALSE ), _
373 ( typeAddrOf( FB_DATATYPE_VOID ), FB_PARAMMODE_BYVAL, FALSE ) _
388 @FB_RTL_GFXGET, NULL, _
389 FB_DATATYPE_LONG, FB_FUNCMODE_FBCALL, _
390 @
hGfxlib_cb, FB_RTL_OPT_ERROR
or FB_RTL_OPT_FBONLY, _
393 ( FB_DATATYPE_VOID, FB_PARAMMODE_BYREF, FALSE ), _
394 ( FB_DATATYPE_SINGLE, FB_PARAMMODE_BYVAL, FALSE ), _
395 ( FB_DATATYPE_SINGLE, FB_PARAMMODE_BYVAL, FALSE ), _
396 ( FB_DATATYPE_SINGLE, FB_PARAMMODE_BYVAL, FALSE ), _
397 ( FB_DATATYPE_SINGLE, FB_PARAMMODE_BYVAL, FALSE ), _
398 ( FB_DATATYPE_VOID, FB_PARAMMODE_BYREF, FALSE ), _
399 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, FALSE ), _
400 ( FB_DATATYPE_VOID, FB_PARAMMODE_BYDESC, FALSE ) _
415 @FB_RTL_GFXGETQB, NULL, _
416 FB_DATATYPE_LONG, FB_FUNCMODE_FBCALL, _
417 @
hGfxlib_cb, FB_RTL_OPT_ERROR
or FB_RTL_OPT_NOFB, _
420 ( FB_DATATYPE_VOID, FB_PARAMMODE_BYREF, FALSE ), _
421 ( FB_DATATYPE_SINGLE, FB_PARAMMODE_BYVAL, FALSE ), _
422 ( FB_DATATYPE_SINGLE, FB_PARAMMODE_BYVAL, FALSE ), _
423 ( FB_DATATYPE_SINGLE, FB_PARAMMODE_BYVAL, FALSE ), _
424 ( FB_DATATYPE_SINGLE, FB_PARAMMODE_BYVAL, FALSE ), _
425 ( FB_DATATYPE_VOID, FB_PARAMMODE_BYREF, FALSE ), _
426 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, FALSE ), _
427 ( FB_DATATYPE_VOID, FB_PARAMMODE_BYDESC, FALSE ) _
439 @FB_RTL_GFXSCREENSET, NULL, _
440 FB_DATATYPE_LONG, FB_FUNCMODE_FBCALL, _
444 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, FALSE ), _
445 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, TRUE, 0 ), _
446 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, TRUE, 0 ), _
447 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, TRUE, 0 ), _
448 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, TRUE, 0 ) _
458 @FB_RTL_GFXSCREENSETQB, NULL, _
459 FB_DATATYPE_LONG, FB_FUNCMODE_FBCALL, _
463 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, FALSE ), _
464 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, TRUE, -1 ), _
465 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, TRUE, -1 ) _
478 @
"screenres", @
"fb_GfxScreenRes", _
479 FB_DATATYPE_LONG, FB_FUNCMODE_FBCALL, _
480 @
hGfxlib_cb, FB_RTL_OPT_ERROR
or FB_RTL_OPT_NOQB, _
483 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, FALSE ), _
484 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, FALSE ), _
485 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, TRUE, 8 ), _
486 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, TRUE, 1 ), _
487 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, TRUE, 0 ), _
488 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, TRUE, 0 ) _
498 @
"bload", @
"fb_GfxBload", _
499 FB_DATATYPE_LONG, FB_FUNCMODE_FBCALL, _
500 @
hGfxlib_cb, FB_RTL_OPT_ERROR
or FB_RTL_OPT_FBONLY, _
503 ( FB_DATATYPE_STRING, FB_PARAMMODE_BYREF, FALSE ), _
504 ( typeAddrOf( FB_DATATYPE_VOID ), FB_PARAMMODE_BYVAL, TRUE, NULL ), _
505 ( typeAddrOf( FB_DATATYPE_VOID ), FB_PARAMMODE_BYVAL, TRUE, NULL ) _
515 @
"bload", @
"fb_GfxBloadQB", _
516 FB_DATATYPE_LONG, FB_FUNCMODE_FBCALL, _
517 @
hGfxlib_cb, FB_RTL_OPT_ERROR
or FB_RTL_OPT_NOFB, _
520 ( FB_DATATYPE_STRING, FB_PARAMMODE_BYREF, FALSE ), _
521 ( typeAddrOf( FB_DATATYPE_VOID ), FB_PARAMMODE_BYVAL, TRUE, NULL ), _
522 ( typeAddrOf( FB_DATATYPE_VOID ), FB_PARAMMODE_BYVAL, TRUE, NULL ) _
533 @
"bsave", @
"fb_GfxBsave", _
534 FB_DATATYPE_LONG, FB_FUNCMODE_FBCALL, _
535 @
hGfxlib_cb, FB_RTL_OPT_OVER
or FB_RTL_OPT_ERROR, _
538 ( FB_DATATYPE_STRING, FB_PARAMMODE_BYREF, FALSE ), _
539 ( typeAddrOf( FB_DATATYPE_VOID ), FB_PARAMMODE_BYVAL, FALSE ), _
540 ( FB_DATATYPE_ULONG, FB_PARAMMODE_BYVAL, TRUE, 0 ), _
541 ( typeAddrOf( FB_DATATYPE_VOID ), FB_PARAMMODE_BYVAL, TRUE, 0 ) _
553 @
"bsave", @
"fb_GfxBsaveEx", _
554 FB_DATATYPE_LONG, FB_FUNCMODE_FBCALL, _
555 @
hGfxlib_cb, FB_RTL_OPT_OVER
or FB_RTL_OPT_ERROR, _
558 ( FB_DATATYPE_STRING, FB_PARAMMODE_BYREF, FALSE ), _
559 ( typeAddrOf( FB_DATATYPE_VOID ), FB_PARAMMODE_BYVAL, FALSE ), _
560 ( FB_DATATYPE_ULONG, FB_PARAMMODE_BYVAL, TRUE, 0 ), _
561 ( typeAddrOf( FB_DATATYPE_VOID ), FB_PARAMMODE_BYVAL, FALSE ), _
562 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, FALSE ) _
571 @
"flip", @
"fb_GfxFlip", _
572 FB_DATATYPE_LONG, FB_FUNCMODE_FBCALL, _
576 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, TRUE, -1 ), _
577 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, TRUE, -1 ) _
586 @
"screencopy", @
"fb_GfxFlip", _
587 FB_DATATYPE_LONG, FB_FUNCMODE_FBCALL, _
591 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, TRUE, -1 ), _
592 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, TRUE, -1 ) _
597 @
"pointcoord", @
"fb_GfxCursor", _
598 FB_DATATYPE_SINGLE, FB_FUNCMODE_FBCALL, _
602 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, FALSE ) _
607 @
"pmap", @
"fb_GfxPMap", _
608 FB_DATATYPE_SINGLE, FB_FUNCMODE_FBCALL, _
612 ( FB_DATATYPE_SINGLE, FB_PARAMMODE_BYVAL, FALSE ), _
613 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, FALSE ) _
619 FB_DATATYPE_LONG, FB_FUNCMODE_FBCALL, _
623 ( FB_DATATYPE_USHORT, FB_PARAMMODE_BYVAL, FALSE ), _
624 ( FB_DATATYPE_UBYTE, FB_PARAMMODE_BYVAL, FALSE ) _
630 FB_DATATYPE_LONG, FB_FUNCMODE_FBCALL, _
634 ( FB_DATATYPE_USHORT, FB_PARAMMODE_BYVAL, FALSE ) _
644 @
"wait", @
"fb_Wait", _
645 FB_DATATYPE_LONG, FB_FUNCMODE_FBCALL, _
649 ( FB_DATATYPE_USHORT, FB_PARAMMODE_BYVAL, FALSE ), _
650 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, FALSE ), _
651 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, TRUE, 0 ) _
656 @
"screensync", @
"fb_GfxWaitVSync", _
657 FB_DATATYPE_LONG, FB_FUNCMODE_FBCALL, _
667 @
"screenset", @
"fb_GfxPageSet", _
668 FB_DATATYPE_LONG, FB_FUNCMODE_CDECL, _
672 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, TRUE, -1 ), _
673 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, TRUE, -1 ) _
678 @
"screenlock", @
"fb_GfxLock", _
679 FB_DATATYPE_VOID, FB_FUNCMODE_FBCALL, _
685 @
"screenunlock", @
"fb_GfxUnlock", _
686 FB_DATATYPE_VOID, FB_FUNCMODE_FBCALL, _
690 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, TRUE, -1 ), _
691 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, TRUE, -1 ) _
696 @
"screenptr", @
"fb_GfxScreenPtr", _
697 typeAddrOf( FB_DATATYPE_VOID ), FB_FUNCMODE_FBCALL, _
703 @
"windowtitle", @
"fb_GfxSetWindowTitle", _
704 FB_DATATYPE_VOID, FB_FUNCMODE_FBCALL, _
708 ( FB_DATATYPE_STRING, FB_PARAMMODE_BYREF, FALSE ) _
713 @
"multikey", @
"fb_Multikey", _
714 FB_DATATYPE_LONG, FB_FUNCMODE_FBCALL, _
718 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, FALSE ) _
730 @
"getmouse", @
"fb_GetMouse", _
731 FB_DATATYPE_LONG, FB_FUNCMODE_FBCALL, _
735 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYREF, FALSE, 0, TRUE ), _
736 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYREF, FALSE, 0, TRUE ), _
737 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYREF, TRUE, 0, TRUE ), _
738 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYREF, TRUE, 0, TRUE ), _
739 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYREF, TRUE, 0, TRUE ) _
751 @
"getmouse", @
"fb_GetMouse64", _
752 FB_DATATYPE_LONG, FB_FUNCMODE_FBCALL, _
756 ( FB_DATATYPE_LONGINT, FB_PARAMMODE_BYREF, FALSE, 0, TRUE ), _
757 ( FB_DATATYPE_LONGINT, FB_PARAMMODE_BYREF, FALSE, 0, TRUE ), _
758 ( FB_DATATYPE_LONGINT, FB_PARAMMODE_BYREF, TRUE, 0, TRUE ), _
759 ( FB_DATATYPE_LONGINT, FB_PARAMMODE_BYREF, TRUE, 0, TRUE ), _
760 ( FB_DATATYPE_LONGINT, FB_PARAMMODE_BYREF, TRUE, 0, TRUE ) _
771 @
"setmouse", @
"fb_SetMouse", _
772 FB_DATATYPE_LONG, FB_FUNCMODE_FBCALL, _
776 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, TRUE, -1 ), _
777 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, TRUE, -1 ), _
778 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, TRUE, -1 ), _
779 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, TRUE, -1 ) _
796 @
"getjoystick", @
"fb_GfxGetJoystick", _
797 FB_DATATYPE_LONG, FB_FUNCMODE_FBCALL, _
801 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, FALSE, 0, TRUE ), _
802 ( FB_DATATYPE_INTEGER, FB_PARAMMODE_BYREF, TRUE, 0, TRUE ), _
803 ( FB_DATATYPE_SINGLE, FB_PARAMMODE_BYREF, TRUE, 0, TRUE ), _
804 ( FB_DATATYPE_SINGLE, FB_PARAMMODE_BYREF, TRUE, 0, TRUE ), _
805 ( FB_DATATYPE_SINGLE, FB_PARAMMODE_BYREF, TRUE, 0, TRUE ), _
806 ( FB_DATATYPE_SINGLE, FB_PARAMMODE_BYREF, TRUE, 0, TRUE ), _
807 ( FB_DATATYPE_SINGLE, FB_PARAMMODE_BYREF, TRUE, 0, TRUE ), _
808 ( FB_DATATYPE_SINGLE, FB_PARAMMODE_BYREF, TRUE, 0, TRUE ), _
809 ( FB_DATATYPE_SINGLE, FB_PARAMMODE_BYREF, TRUE, 0, TRUE ), _
810 ( FB_DATATYPE_SINGLE, FB_PARAMMODE_BYREF, TRUE, 0, TRUE ) _
815 @
"stick", @
"fb_GfxStickQB", _
816 FB_DATATYPE_LONG, FB_FUNCMODE_FBCALL, _
820 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, FALSE ) _
825 @
"strig", @
"fb_GfxStrigQB", _
826 FB_DATATYPE_LONG, FB_FUNCMODE_FBCALL, _
830 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, FALSE ) _
844 @
"screeninfo", @
"fb_GfxScreenInfo", _
845 FB_DATATYPE_VOID, FB_FUNCMODE_FBCALL, _
849 ( FB_DATATYPE_INTEGER, FB_PARAMMODE_BYREF, TRUE, 0 ), _
850 ( FB_DATATYPE_INTEGER, FB_PARAMMODE_BYREF, TRUE, 0 ), _
851 ( FB_DATATYPE_INTEGER, FB_PARAMMODE_BYREF, TRUE, 0 ), _
852 ( FB_DATATYPE_INTEGER, FB_PARAMMODE_BYREF, TRUE, 0 ), _
853 ( FB_DATATYPE_INTEGER, FB_PARAMMODE_BYREF, TRUE, 0 ), _
854 ( FB_DATATYPE_INTEGER, FB_PARAMMODE_BYREF, TRUE, 0 ), _
855 ( FB_DATATYPE_STRING, FB_PARAMMODE_BYREF, TRUE, NULL ) _
860 @
"screenlist", @
"fb_GfxScreenList", _
861 FB_DATATYPE_LONG, FB_FUNCMODE_FBCALL, _
865 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, TRUE, 0 ) _
877 @FB_RTL_GFXIMAGECREATE, NULL, _
878 typeAddrOf( FB_DATATYPE_VOID ), FB_FUNCMODE_FBCALL, _
882 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, FALSE ), _
883 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, FALSE ), _
884 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, TRUE, 0 ), _
885 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, TRUE, 0 ), _
886 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, TRUE, 0 ) _
898 @FB_RTL_GFXIMAGECREATEQB, NULL, _
899 typeAddrOf( FB_DATATYPE_VOID ), FB_FUNCMODE_FBCALL, _
903 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, FALSE ), _
904 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, FALSE ), _
905 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, TRUE, 0 ), _
906 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, TRUE, 0 ), _
907 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, TRUE, 0 ) _
912 @
"imagedestroy", @
"fb_GfxImageDestroy", _
913 FB_DATATYPE_VOID, FB_FUNCMODE_FBCALL, _
917 ( typeAddrOf( FB_DATATYPE_VOID ), FB_PARAMMODE_BYVAL, FALSE ) _
931 @
"imageinfo", @
"fb_GfxImageInfo", _
932 FB_DATATYPE_LONG, FB_FUNCMODE_FBCALL, _
936 ( typeAddrOf( FB_DATATYPE_VOID ), FB_PARAMMODE_BYVAL, FALSE ), _
937 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYREF, TRUE, 0 ), _
938 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYREF, TRUE, 0 ), _
939 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYREF, TRUE, 0 ), _
940 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYREF, TRUE, 0 ), _
941 ( typeAddrOf( FB_DATATYPE_VOID ), FB_PARAMMODE_BYREF, TRUE, 0 ), _
942 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYREF, TRUE, 0 ) _
955 @
"imageconvertrow", @
"fb_GfxImageConvertRow", _
956 FB_DATATYPE_VOID, FB_FUNCMODE_FBCALL, _
960 ( typeAddrOf( FB_DATATYPE_VOID ), FB_PARAMMODE_BYVAL, FALSE ), _
961 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, FALSE ), _
962 ( typeAddrOf( FB_DATATYPE_VOID ), FB_PARAMMODE_BYVAL, FALSE ), _
963 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, FALSE ), _
964 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, FALSE ), _
965 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, TRUE, 1 ) _
970 @
"screenevent", @
"fb_GfxEvent", _
971 FB_DATATYPE_LONG, FB_FUNCMODE_FBCALL, _
975 ( typeAddrOf( FB_DATATYPE_VOID ), FB_PARAMMODE_BYVAL, TRUE, 0, TRUE ) _
984 @
"screencontrol", @
"fb_GfxControl_s", _
985 FB_DATATYPE_VOID, FB_FUNCMODE_FBCALL, _
986 @
hGfxlib_cb, FB_RTL_OPT_OVER
or FB_RTL_OPT_NOQB, _
989 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, FALSE ), _
990 ( FB_DATATYPE_STRING, FB_PARAMMODE_BYREF ) _
1002 @
"screencontrol", @
"fb_GfxControl_i", _
1003 FB_DATATYPE_VOID, FB_FUNCMODE_FBCALL, _
1004 @
hGfxlib_cb, FB_RTL_OPT_OVER
or FB_RTL_OPT_NOQB, _
1007 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, FALSE ), _
1008 ( FB_DATATYPE_INTEGER, FB_PARAMMODE_BYREF, TRUE, &h80000000 ), _
1009 ( FB_DATATYPE_INTEGER, FB_PARAMMODE_BYREF, TRUE, &h80000000 ), _
1010 ( FB_DATATYPE_INTEGER, FB_PARAMMODE_BYREF, TRUE, &h80000000 ), _
1011 ( FB_DATATYPE_INTEGER, FB_PARAMMODE_BYREF, TRUE, &h80000000 ) _
1016 @
"screenglproc", @
"fb_GfxGetGLProcAddress", _
1017 typeAddrOf( FB_DATATYPE_VOID ), FB_FUNCMODE_FBCALL, _
1018 @
hGfxlib_cb, FB_RTL_OPT_OVER
or FB_RTL_OPT_NOQB, _
1021 ( typeAddrOf( FB_DATATYPE_CHAR ), FB_PARAMMODE_BYVAL, FALSE ) _
1037 @FB_RTL_GFXPUTTRANS, NULL, _
1038 FB_DATATYPE_VOID, FB_FUNCMODE_CDECL, _
1042 ( typeAddrOf( FB_DATATYPE_UBYTE ), FB_PARAMMODE_BYVAL, FALSE ), _
1043 ( typeAddrOf( FB_DATATYPE_UBYTE ), FB_PARAMMODE_BYVAL, FALSE ), _
1044 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, FALSE ), _
1045 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, FALSE ), _
1046 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, FALSE ), _
1047 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, FALSE ), _
1048 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, FALSE ), _
1049 ( typeAddrOf( FB_DATATYPE_VOID ), FB_PARAMMODE_BYVAL, FALSE ), _
1050 ( typeAddrOf( FB_DATATYPE_VOID ), FB_PARAMMODE_BYVAL, FALSE ) _
1066 @FB_RTL_GFXPUTPSET, NULL, _
1067 FB_DATATYPE_VOID, FB_FUNCMODE_CDECL, _
1071 ( typeAddrOf( FB_DATATYPE_UBYTE ), FB_PARAMMODE_BYVAL, FALSE ), _
1072 ( typeAddrOf( FB_DATATYPE_UBYTE ), FB_PARAMMODE_BYVAL, FALSE ), _
1073 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, FALSE ), _
1074 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, FALSE ), _
1075 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, FALSE ), _
1076 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, FALSE ), _
1077 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, FALSE ), _
1078 ( typeAddrOf( FB_DATATYPE_VOID ), FB_PARAMMODE_BYVAL, FALSE ), _
1079 ( typeAddrOf( FB_DATATYPE_VOID ), FB_PARAMMODE_BYVAL, FALSE ) _
1095 @FB_RTL_GFXPUTPRESET, NULL, _
1096 FB_DATATYPE_VOID, FB_FUNCMODE_CDECL, _
1100 ( typeAddrOf( FB_DATATYPE_UBYTE ), FB_PARAMMODE_BYVAL, FALSE ), _
1101 ( typeAddrOf( FB_DATATYPE_UBYTE ), FB_PARAMMODE_BYVAL, FALSE ), _
1102 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, FALSE ), _
1103 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, FALSE ), _
1104 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, FALSE ), _
1105 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, FALSE ), _
1106 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, FALSE ), _
1107 ( typeAddrOf( FB_DATATYPE_VOID ), FB_PARAMMODE_BYVAL, FALSE ), _
1108 ( typeAddrOf( FB_DATATYPE_VOID ), FB_PARAMMODE_BYVAL, FALSE ) _
1124 @FB_RTL_GFXPUTAND, NULL, _
1125 FB_DATATYPE_VOID, FB_FUNCMODE_CDECL, _
1129 ( typeAddrOf( FB_DATATYPE_UBYTE ), FB_PARAMMODE_BYVAL, FALSE ), _
1130 ( typeAddrOf( FB_DATATYPE_UBYTE ), FB_PARAMMODE_BYVAL, FALSE ), _
1131 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, FALSE ), _
1132 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, FALSE ), _
1133 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, FALSE ), _
1134 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, FALSE ), _
1135 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, FALSE ), _
1136 ( typeAddrOf( FB_DATATYPE_VOID ), FB_PARAMMODE_BYVAL, FALSE ), _
1137 ( typeAddrOf( FB_DATATYPE_VOID ), FB_PARAMMODE_BYVAL, FALSE ) _
1153 @FB_RTL_GFXPUTOR, NULL, _
1154 FB_DATATYPE_VOID, FB_FUNCMODE_CDECL, _
1158 ( typeAddrOf( FB_DATATYPE_UBYTE ), FB_PARAMMODE_BYVAL, FALSE ), _
1159 ( typeAddrOf( FB_DATATYPE_UBYTE ), FB_PARAMMODE_BYVAL, FALSE ), _
1160 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, FALSE ), _
1161 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, FALSE ), _
1162 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, FALSE ), _
1163 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, FALSE ), _
1164 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, FALSE ), _
1165 ( typeAddrOf( FB_DATATYPE_VOID ), FB_PARAMMODE_BYVAL, FALSE ), _
1166 ( typeAddrOf( FB_DATATYPE_VOID ), FB_PARAMMODE_BYVAL, FALSE ) _
1182 @FB_RTL_GFXPUTXOR, NULL, _
1183 FB_DATATYPE_VOID, FB_FUNCMODE_CDECL, _
1187 ( typeAddrOf( FB_DATATYPE_UBYTE ), FB_PARAMMODE_BYVAL, FALSE ), _
1188 ( typeAddrOf( FB_DATATYPE_UBYTE ), FB_PARAMMODE_BYVAL, FALSE ), _
1189 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, FALSE ), _
1190 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, FALSE ), _
1191 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, FALSE ), _
1192 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, FALSE ), _
1193 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, FALSE ), _
1194 ( typeAddrOf( FB_DATATYPE_VOID ), FB_PARAMMODE_BYVAL, FALSE ), _
1195 ( typeAddrOf( FB_DATATYPE_VOID ), FB_PARAMMODE_BYVAL, FALSE ) _
1211 @FB_RTL_GFXPUTALPHA, NULL, _
1212 FB_DATATYPE_VOID, FB_FUNCMODE_CDECL, _
1216 ( typeAddrOf( FB_DATATYPE_UBYTE ), FB_PARAMMODE_BYVAL, FALSE ), _
1217 ( typeAddrOf( FB_DATATYPE_UBYTE ), FB_PARAMMODE_BYVAL, FALSE ), _
1218 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, FALSE ), _
1219 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, FALSE ), _
1220 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, FALSE ), _
1221 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, FALSE ), _
1222 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, FALSE ), _
1223 ( typeAddrOf( FB_DATATYPE_VOID ), FB_PARAMMODE_BYVAL, FALSE ), _
1224 ( typeAddrOf( FB_DATATYPE_VOID ), FB_PARAMMODE_BYVAL, FALSE ) _
1240 @FB_RTL_GFXPUTBLEND, NULL, _
1241 FB_DATATYPE_VOID, FB_FUNCMODE_CDECL, _
1245 ( typeAddrOf( FB_DATATYPE_UBYTE ), FB_PARAMMODE_BYVAL, FALSE ), _
1246 ( typeAddrOf( FB_DATATYPE_UBYTE ), FB_PARAMMODE_BYVAL, FALSE ), _
1247 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, FALSE ), _
1248 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, FALSE ), _
1249 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, FALSE ), _
1250 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, FALSE ), _
1251 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, FALSE ), _
1252 ( typeAddrOf( FB_DATATYPE_VOID ), FB_PARAMMODE_BYVAL, FALSE ), _
1253 ( typeAddrOf( FB_DATATYPE_VOID ), FB_PARAMMODE_BYVAL, FALSE ) _
1269 @FB_RTL_GFXPUTADD, NULL, _
1270 FB_DATATYPE_VOID, FB_FUNCMODE_CDECL, _
1274 ( typeAddrOf( FB_DATATYPE_UBYTE ), FB_PARAMMODE_BYVAL, FALSE ), _
1275 ( typeAddrOf( FB_DATATYPE_UBYTE ), FB_PARAMMODE_BYVAL, FALSE ), _
1276 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, FALSE ), _
1277 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, FALSE ), _
1278 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, FALSE ), _
1279 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, FALSE ), _
1280 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, FALSE ), _
1281 ( typeAddrOf( FB_DATATYPE_VOID ), FB_PARAMMODE_BYVAL, FALSE ), _
1282 ( typeAddrOf( FB_DATATYPE_VOID ), FB_PARAMMODE_BYVAL, FALSE ) _
1298 @FB_RTL_GFXPUTCUSTOM, NULL, _
1299 FB_DATATYPE_VOID, FB_FUNCMODE_CDECL, _
1303 ( typeAddrOf( FB_DATATYPE_UBYTE ), FB_PARAMMODE_BYVAL, FALSE ), _
1304 ( typeAddrOf( FB_DATATYPE_UBYTE ), FB_PARAMMODE_BYVAL, FALSE ), _
1305 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, FALSE ), _
1306 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, FALSE ), _
1307 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, FALSE ), _
1308 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, FALSE ), _
1309 ( FB_DATATYPE_LONG, FB_PARAMMODE_BYVAL, FALSE ), _
1310 ( typeAddrOf( FB_DATATYPE_VOID ), FB_PARAMMODE_BYVAL, FALSE ), _
1311 ( typeAddrOf( FB_DATATYPE_VOID ), FB_PARAMMODE_BYVAL, FALSE ) _
1337 byval sym
as FBSYMBOL
ptr _
1340 static as integer libsAdded = FALSE
1342 if( libsadded = FALSE )
then
1345 select case env.clopt.target
1346 case FB_COMPTARGET_WIN32, FB_COMPTARGET_CYGWIN
1358 byval sym
as FBSYMBOL
ptr _
1361 static as integer libsAdded = FALSE
1363 if( libsadded = FALSE )
then
1366 select case env.clopt.target
1367 case FB_COMPTARGET_WIN32, FB_COMPTARGET_CYGWIN
1379 byval sym
as FBSYMBOL
ptr _
1382 static as integer added = FALSE
1384 if (added = FALSE)
then
1389 select case as const fbGetOption( FB_COMPOPT_TARGET )
1390 case FB_COMPTARGET_WIN32, FB_COMPTARGET_CYGWIN
1395 case FB_COMPTARGET_LINUX, FB_COMPTARGET_FREEBSD, _
1396 FB_COMPTARGET_OPENBSD, FB_COMPTARGET_NETBSD
1398 #if defined(
__FB_LINUX__)
or _
1399 defined(
__FB_FREEBSD__)
or _
1400 defined(
__FB_OPENBSD__)
or _
1401 defined(
__FB_NETBSD__)
1421 byval mode
as integer _
1424 dim as FBSYMBOL
ptr proc =
any
1426 select case as const mode
1427 case FBGFX_PUTMODE_TRANS
1428 proc = PROCLOOKUP( GFXPUTTRANS )
1429 case FBGFX_PUTMODE_PSET
1430 proc = PROCLOOKUP( GFXPUTPSET )
1431 case FBGFX_PUTMODE_PRESET
1432 proc = PROCLOOKUP( GFXPUTPRESET )
1433 case FBGFX_PUTMODE_AND
1434 proc = PROCLOOKUP( GFXPUTAND )
1435 case FBGFX_PUTMODE_OR
1436 proc = PROCLOOKUP( GFXPUTOR )
1437 case FBGFX_PUTMODE_XOR
1438 proc = PROCLOOKUP( GFXPUTXOR )
1439 case FBGFX_PUTMODE_ALPHA
1440 proc = PROCLOOKUP( GFXPUTALPHA )
1441 case FBGFX_PUTMODE_BLEND
1442 proc = PROCLOOKUP( GFXPUTBLEND )
1443 case FBGFX_PUTMODE_ADD
1444 proc = PROCLOOKUP( GFXPUTADD )
1446 assert(mode = FBGFX_PUTMODE_CUSTOM)
1447 proc = PROCLOOKUP( GFXPUTCUSTOM )
1456 byval target
as ASTNODE
ptr, _
1457 byval targetisptr
as integer, _
1458 byval xexpr
as ASTNODE
ptr, _
1459 byval yexpr
as ASTNODE
ptr, _
1460 byval cexpr
as ASTNODE
ptr, _
1461 byval coordtype
as integer, _
1462 byval ispreset
as integer _
1465 dim as ASTNODE
ptr proc =
any
1466 dim as integer targetmode =
any
1473 if( target = NULL )
then
1475 targetmode = FB_PARAMMODE_BYVAL
1477 if( targetisptr )
then
1478 targetmode = FB_PARAMMODE_BYVAL
1480 targetmode = INVALID
1483 if(
astNewARG( proc, target, , targetmode ) = NULL )
then
1488 if(
astNewARG( proc, xexpr ) = NULL )
then
1493 if(
astNewARG( proc, yexpr ) = NULL )
then
1498 if(
astNewARG( proc, cexpr ) = NULL )
then
1522 byval target
as ASTNODE
ptr, _
1523 byval targetisptr
as integer, _
1524 byval xexpr
as ASTNODE
ptr, _
1525 byval yexpr
as ASTNODE
ptr _
1528 dim as ASTNODE
ptr proc =
any
1529 dim as integer targetmode =
any
1536 if( target = NULL )
then
1538 targetmode = FB_PARAMMODE_BYVAL
1540 if( targetisptr )
then
1541 targetmode = FB_PARAMMODE_BYVAL
1543 targetmode = INVALID
1546 if(
astNewARG( proc, target, , targetmode ) = NULL )
then
1551 if(
astNewARG( proc, xexpr ) = NULL )
then
1556 if( yexpr = NULL )
then
1559 if(
astNewARG( proc, yexpr ) = NULL )
then
1570 byval target
as ASTNODE
ptr, _
1571 byval targetisptr
as integer, _
1572 byval x1expr
as ASTNODE
ptr, _
1573 byval y1expr
as ASTNODE
ptr, _
1574 byval x2expr
as ASTNODE
ptr, _
1575 byval y2expr
as ASTNODE
ptr, _
1576 byval cexpr
as ASTNODE
ptr, _
1577 byval linetype
as integer, _
1578 byval styleexpr
as ASTNODE
ptr, _
1579 byval coordtype
as integer _
1582 dim as ASTNODE
ptr proc =
any
1583 dim as integer targetmode =
any
1590 if( target = NULL )
then
1592 targetmode = FB_PARAMMODE_BYVAL
1594 if( targetisptr )
then
1595 targetmode = FB_PARAMMODE_BYVAL
1597 targetmode = INVALID
1600 if(
astNewARG( proc, target, , targetmode ) = NULL )
then
1605 if(
astNewARG( proc, x1expr ) = NULL )
then
1610 if(
astNewARG( proc, y1expr ) = NULL )
then
1615 if(
astNewARG( proc, x2expr ) = NULL )
then
1620 if(
astNewARG( proc, y2expr ) = NULL )
then
1625 if(
astNewARG( proc, cexpr ) = NULL )
then
1635 if( styleexpr = NULL )
then
1636 styleexpr =
astNewCONSTi( &h0000FFFF, FB_DATATYPE_UINT )
1638 if(
astNewARG( proc, styleexpr ) = NULL )
then
1657 byval target
as ASTNODE
ptr, _
1658 byval targetisptr
as integer, _
1659 byval xexpr
as ASTNODE
ptr, _
1660 byval yexpr
as ASTNODE
ptr, _
1661 byval radexpr
as ASTNODE
ptr, _
1662 byval cexpr
as ASTNODE
ptr, _
1663 byval aspexpr
as ASTNODE
ptr, _
1664 byval iniexpr
as ASTNODE
ptr, _
1665 byval endexpr
as ASTNODE
ptr, _
1666 byval fillflag
as integer, _
1667 byval coordtype
as integer _
1670 dim as ASTNODE
ptr proc =
any
1671 dim as integer targetmode =
any
1678 if( target = NULL )
then
1680 targetmode = FB_PARAMMODE_BYVAL
1682 if( targetisptr )
then
1683 targetmode = FB_PARAMMODE_BYVAL
1685 targetmode = INVALID
1688 if(
astNewARG( proc, target, , targetmode ) = NULL )
then
1693 if(
astNewARG( proc, xexpr ) = NULL )
then
1698 if(
astNewARG( proc, yexpr ) = NULL )
then
1703 if(
astNewARG( proc, radexpr ) = NULL )
then
1708 if(
astNewARG( proc, cexpr ) = NULL )
then
1713 if( aspexpr = NULL )
then
1716 if(
astNewARG( proc, aspexpr ) = NULL )
then
1721 if( iniexpr = NULL )
then
1724 if(
astNewARG( proc, iniexpr ) = NULL )
then
1729 if( endexpr = NULL )
then
1730 endexpr =
astNewCONSTf( 3.141593*2, FB_DATATYPE_SINGLE )
1732 if(
astNewARG( proc, endexpr ) = NULL )
then
1756 byval target
as ASTNODE
ptr, _
1757 byval targetisptr
as integer, _
1758 byval xexpr
as ASTNODE
ptr, _
1759 byval yexpr
as ASTNODE
ptr, _
1760 byval pexpr
as ASTNODE
ptr, _
1761 byval bexpr
as ASTNODE
ptr, _
1762 byval coord_type
as integer _
1765 dim as ASTNODE
ptr proc =
any
1766 dim as integer targetmode =
any, pattern =
any
1773 if( target = NULL )
then
1775 targetmode = FB_PARAMMODE_BYVAL
1777 if( targetisptr )
then
1778 targetmode = FB_PARAMMODE_BYVAL
1780 targetmode = INVALID
1783 if(
astNewARG( proc, target, , targetmode ) = NULL )
then
1788 if(
astNewARG( proc, xexpr ) = NULL )
then
1793 if(
astNewARG( proc, yexpr ) = NULL )
then
1805 if(
astNewARG( proc, pexpr ) = NULL )
then
1811 if(
astNewARG( proc, bexpr ) = NULL )
then
1816 if( pattern = TRUE )
then
1817 if(
astNewARG( proc, pexpr ) = NULL )
then
1847 byval target
as ASTNODE
ptr, _
1848 byval targetisptr
as integer, _
1849 byval cexpr
as ASTNODE
ptr _
1852 dim as ASTNODE
ptr proc =
any
1853 dim as integer targetmode =
any
1860 if( target = NULL )
then
1862 targetmode = FB_PARAMMODE_BYVAL
1864 if( targetisptr )
then
1865 targetmode = FB_PARAMMODE_BYVAL
1867 targetmode = INVALID
1870 if(
astNewARG( proc, target, , targetmode ) = NULL )
then
1875 if(
astNewARG( proc, cexpr ) = NULL )
then
1889 byval target
as ASTNODE
ptr, _
1890 byval targetisptr
as integer, _
1891 byval xexpr
as ASTNODE
ptr, _
1892 byval yexpr
as ASTNODE
ptr, _
1893 byval sexpr
as ASTNODE
ptr, _
1894 byval cexpr
as ASTNODE
ptr, _
1895 byval fexpr
as ASTNODE
ptr, _
1896 byval fisptr
as integer, _
1897 byval coord_type
as integer, _
1898 byval mode
as integer, _
1899 byval alphaexpr
as ASTNODE
ptr, _
1900 byval funcexpr
as ASTNODE
ptr, _
1901 byval paramexpr
as ASTNODE
ptr _
1904 dim as ASTNODE
ptr proc =
any, putter =
any
1905 dim as integer targetmode =
any
1909 proc =
astNewCALL( PROCLOOKUP( GFXDRAWSTRING ) )
1912 if( target = NULL )
then
1914 targetmode = FB_PARAMMODE_BYVAL
1916 if( targetisptr )
then
1917 targetmode = FB_PARAMMODE_BYVAL
1919 targetmode = INVALID
1922 if(
astNewARG( proc, target, , targetmode ) = NULL )
then
1927 if(
astNewARG( proc, xexpr ) = NULL )
then
1932 if(
astNewARG( proc, yexpr ) = NULL )
then
1942 if(
astNewARG( proc, sexpr ) = NULL )
then
1947 if( alphaexpr <> NULL )
then
1950 if(
astNewARG( proc, cexpr ) = NULL )
then
1955 if( fexpr = NULL )
then
1957 targetmode = FB_PARAMMODE_BYVAL
1961 targetmode = FB_PARAMMODE_BYVAL
1963 targetmode = INVALID
1967 if(
astNewARG( proc, fexpr, , targetmode ) = NULL )
then
1977 if(
astNewARG( proc, putter ) = NULL )
then
1982 if( funcexpr = NULL )
then
1985 if(
astNewARG( proc, funcexpr ) = NULL )
then
1990 if( paramexpr = NULL )
then
1993 if(
astNewARG( proc, paramexpr ) = NULL )
then
2004 byval x1expr
as ASTNODE
ptr, _
2005 byval y1expr
as ASTNODE
ptr, _
2006 byval x2expr
as ASTNODE
ptr, _
2007 byval y2expr
as ASTNODE
ptr, _
2008 byval fillexpr
as ASTNODE
ptr, _
2009 byval bordexpr
as ASTNODE
ptr, _
2010 byval screenflag
as integer _
2013 dim as ASTNODE
ptr proc =
any
2020 if( x1expr = NULL )
then
2023 if(
astNewARG( proc, x1expr ) = NULL )
then
2028 if( y1expr = NULL )
then
2031 if(
astNewARG( proc, y1expr ) = NULL )
then
2036 if( x2expr = NULL )
then
2039 if(
astNewARG( proc, x2expr ) = NULL )
then
2044 if( y2expr = NULL )
then
2047 if(
astNewARG( proc, y2expr ) = NULL )
then
2052 if( fillexpr = NULL )
then
2055 if(
astNewARG( proc, fillexpr ) = NULL )
then
2060 if( bordexpr = NULL )
then
2063 if(
astNewARG( proc, bordexpr ) = NULL )
then
2082 byval x1expr
as ASTNODE
ptr, _
2083 byval y1expr
as ASTNODE
ptr, _
2084 byval x2expr
as ASTNODE
ptr, _
2085 byval y2expr
as ASTNODE
ptr, _
2086 byval screenflag
as integer _
2089 dim as ASTNODE
ptr proc =
any
2096 if( x1expr = NULL )
then
2099 if(
astNewARG( proc, x1expr ) = NULL )
then
2104 if( y1expr = NULL )
then
2107 if(
astNewARG( proc, y1expr ) = NULL )
then
2112 if( x2expr = NULL )
then
2115 if(
astNewARG( proc, x2expr ) = NULL )
then
2120 if( y2expr = NULL )
then
2123 if(
astNewARG( proc, y2expr ) = NULL )
then
2141 byval attexpr
as ASTNODE
ptr, _
2142 byval rexpr
as ASTNODE
ptr, _
2143 byval gexpr
as ASTNODE
ptr, _
2144 byval bexpr
as ASTNODE
ptr, _
2145 byval isget
as integer _
2148 dim as ASTNODE
ptr proc =
any
2149 dim as FBSYMBOL
ptr f =
any
2150 dim as integer defval =
any, targetmode =
any
2166 if( typeGetSize( astGetDataType( rexpr ) ) = 8 )
then
2167 f = PROCLOOKUP( GFXPALETTEGET64 )
2169 f = PROCLOOKUP( GFXPALETTEGET )
2171 targetmode = FB_PARAMMODE_BYREF
2174 f = PROCLOOKUP( GFXPALETTE )
2175 targetmode = FB_PARAMMODE_BYVAL
2182 if( attexpr = NULL )
then
2185 if(
astNewARG( proc, attexpr ) = NULL )
then
2190 if( rexpr = NULL )
then
2193 if(
astNewARG( proc, rexpr ) = NULL )
then
2198 if( gexpr = NULL )
then
2199 targetmode = FB_PARAMMODE_BYVAL
2202 if(
astNewARG( proc, gexpr, , targetmode ) = NULL )
then
2207 if( bexpr = NULL )
then
2210 if(
astNewARG( proc, bexpr, , targetmode ) = NULL )
then
2220 byval arrayexpr
as ASTNODE
ptr, _
2221 byval isptr
as integer, _
2222 byval isget
as integer _
2225 dim as ASTNODE
ptr proc =
any
2226 dim as FBSYMBOL
ptr f =
any
2227 dim as integer mode =
any
2231 if( typeGetSize( astGetDataType( arrayexpr ) ) = 8 )
then
2233 f = PROCLOOKUP( GFXPALETTEGETUSING64 )
2235 f = PROCLOOKUP( GFXPALETTEUSING64 )
2239 f = PROCLOOKUP( GFXPALETTEGETUSING )
2241 f = PROCLOOKUP( GFXPALETTEUSING )
2247 mode =
iif( isptr, FB_PARAMMODE_BYVAL, INVALID )
2248 if(
astNewARG( proc, arrayexpr, , mode ) = NULL )
then
2259 byval target
as ASTNODE
ptr, _
2260 byval targetisptr
as integer, _
2261 byval xexpr
as ASTNODE
ptr, _
2262 byval yexpr
as ASTNODE
ptr, _
2263 byval arrayexpr
as ASTNODE
ptr, _
2264 byval isptr
as integer, _
2265 byval x1expr
as ASTNODE
ptr, _
2266 byval x2expr
as ASTNODE
ptr, _
2267 byval y1expr
as ASTNODE
ptr, _
2268 byval y2expr
as ASTNODE
ptr, _
2269 byval mode
as integer, _
2270 byval alphaexpr
as ASTNODE
ptr, _
2271 byval funcexpr
as ASTNODE
ptr, _
2272 byval paramexpr
as ASTNODE
ptr, _
2273 byval coordtype
as integer _
2276 dim as ASTNODE
ptr proc =
any
2277 dim as integer targetmode =
any, argmode =
any
2284 if( target = NULL )
then
2286 targetmode = FB_PARAMMODE_BYVAL
2288 if( targetisptr )
then
2289 targetmode = FB_PARAMMODE_BYVAL
2291 targetmode = INVALID
2294 if(
astNewARG( proc, target, , targetmode ) = NULL )
then
2299 if(
astNewARG( proc, xexpr ) = NULL )
then
2304 if(
astNewARG( proc, yexpr ) = NULL )
then
2310 argmode = FB_PARAMMODE_BYVAL
2314 if(
astNewARG( proc, arrayexpr, , argmode ) = NULL )
then
2319 if( x1expr = NULL )
then
2325 if(
astNewARG( proc, x1expr ) = NULL )
then
2328 if(
astNewARG( proc, x2expr ) = NULL )
then
2331 if(
astNewARG( proc, y1expr ) = NULL )
then
2334 if(
astNewARG( proc, y2expr ) = NULL )
then
2354 if( alphaexpr = NULL )
then
2357 if(
astNewARG( proc, alphaexpr ) = NULL )
then
2362 if( funcexpr = NULL )
then
2365 if(
astNewARG( proc, funcexpr ) = NULL )
then
2370 if( paramexpr = NULL )
then
2373 if(
astNewARG( proc, paramexpr ) = NULL )
then
2384 byval target
as ASTNODE
ptr, _
2385 byval targetisptr
as integer, _
2386 byval x1expr
as ASTNODE
ptr, _
2387 byval y1expr
as ASTNODE
ptr, _
2388 byval x2expr
as ASTNODE
ptr, _
2389 byval y2expr
as ASTNODE
ptr, _
2390 byval arrayexpr
as ASTNODE
ptr, _
2391 byval isptr
as integer, _
2392 byval symbol
as FBSYMBOL
ptr, _
2393 byval coordtype
as integer _
2396 dim as ASTNODE
ptr proc =
any, descexpr =
any
2397 dim as integer targetmode =
any, argmode =
any
2402 proc =
astNewCALL(
iif( fbLangIsSet( FB_LANG_FB ), PROCLOOKUP( GFXGET ), PROCLOOKUP( GFXGETQB ) ) )
2405 if( target = NULL )
then
2407 targetmode = FB_PARAMMODE_BYVAL
2409 if( targetisptr )
then
2410 targetmode = FB_PARAMMODE_BYVAL
2412 targetmode = INVALID
2415 if(
astNewARG( proc, target, , targetmode ) = NULL )
then
2420 if(
astNewARG( proc, x1expr ) = NULL )
then
2425 if(
astNewARG( proc, y1expr ) = NULL )
then
2430 if(
astNewARG( proc, x2expr ) = NULL )
then
2435 if(
astNewARG( proc, y2expr ) = NULL )
then
2441 argmode = FB_PARAMMODE_BYVAL
2442 descexpr =
astNewCONSTi( NULL, typeAddrOf( FB_DATATYPE_VOID ) )
2446 if( astIsFIELD( arrayexpr ) = FALSE )
then
2458 if(
astNewARG( proc, arrayexpr, , argmode ) = NULL )
then
2468 if(
astNewARG( proc, descexpr, , argmode ) = NULL )
then
2479 byval mexpr
as ASTNODE
ptr, _
2480 byval dexpr
as ASTNODE
ptr, _
2481 byval pexpr
as ASTNODE
ptr, _
2482 byval fexpr
as ASTNODE
ptr, _
2483 byval rexpr
as ASTNODE
ptr _
2486 dim as ASTNODE
ptr proc =
any
2490 proc =
astNewCALL( PROCLOOKUP( GFXSCREENSET ) )
2493 if(
astNewARG( proc, mexpr ) = NULL )
then
2498 if( dexpr = NULL )
then
2501 if(
astNewARG( proc, dexpr ) = NULL )
then
2506 if( pexpr = NULL )
then
2509 if(
astNewARG( proc, pexpr ) = NULL )
then
2514 if( fexpr = NULL )
then
2517 if(
astNewARG( proc, fexpr ) = NULL )
then
2522 if( rexpr = NULL )
then
2525 if(
astNewARG( proc, rexpr ) = NULL )
then
2536 byval mode
as ASTNODE
ptr, _
2537 byval active
as ASTNODE
ptr, _
2538 byval visible
as ASTNODE
ptr _
2541 dim as ASTNODE
ptr proc =
any
2545 proc =
astNewCALL( PROCLOOKUP( GFXSCREENSETQB ) )
2548 if(
astNewARG( proc, mode ) = NULL )
then
2553 if( active = NULL )
then
2556 if(
astNewARG( proc, active ) = NULL )
then
2561 if( visible = NULL )
then
2564 if(
astNewARG( proc, visible ) = NULL )
then
2575 byval wexpr
as ASTNODE
ptr, _
2576 byval hexpr
as ASTNODE
ptr, _
2577 byval cexpr
as ASTNODE
ptr, _
2578 byval dexpr
as ASTNODE
ptr, _
2579 byval flags
as integer _
2582 dim as ASTNODE
ptr proc =
any
2587 proc =
astNewCALL(
iif( fbLangIsSet( FB_LANG_FB ), PROCLOOKUP( GFXIMAGECREATE ), PROCLOOKUP( GFXIMAGECREATEQB ) ) )
2590 if(
astNewARG( proc, wexpr ) = NULL )
then
2595 if(
astNewARG( proc, hexpr ) = NULL )
then
2600 if( cexpr = NULL )
then
2603 if(
astNewARG( proc, cexpr ) = NULL )
then
2608 if( dexpr = NULL )
then
2611 if(
astNewARG( proc, dexpr ) = NULL )
then