1 |
|
---|
2 | #ifndef __XF4BPP_H__
|
---|
3 | #define __XF4BPP_H__
|
---|
4 |
|
---|
5 |
|
---|
6 | #include "windowstr.h"
|
---|
7 | #include "gcstruct.h"
|
---|
8 | #include "colormapst.h"
|
---|
9 | #include <X11/fonts/fontstruct.h>
|
---|
10 | #ifndef PixelType
|
---|
11 | #define PixelType CARD32
|
---|
12 | #endif
|
---|
13 |
|
---|
14 | /* ppcArea.c */
|
---|
15 | void xf4bppFillArea(
|
---|
16 | WindowPtr,
|
---|
17 | int,
|
---|
18 | BoxPtr,
|
---|
19 | GCPtr
|
---|
20 | );
|
---|
21 |
|
---|
22 | /* ppcBStore.c */
|
---|
23 | void xf4bppSaveAreas(
|
---|
24 | PixmapPtr,
|
---|
25 | RegionPtr,
|
---|
26 | int,
|
---|
27 | int,
|
---|
28 | WindowPtr
|
---|
29 | );
|
---|
30 | void xf4bppRestoreAreas(
|
---|
31 | PixmapPtr,
|
---|
32 | RegionPtr,
|
---|
33 | int,
|
---|
34 | int,
|
---|
35 | WindowPtr
|
---|
36 | );
|
---|
37 |
|
---|
38 | /* ppcClip.c */
|
---|
39 | void xf4bppDestroyClip(
|
---|
40 | GCPtr
|
---|
41 | );
|
---|
42 | void xf4bppChangeClip(
|
---|
43 | GCPtr,
|
---|
44 | int,
|
---|
45 | pointer,
|
---|
46 | int
|
---|
47 | );
|
---|
48 | void xf4bppCopyClip(
|
---|
49 | GCPtr,
|
---|
50 | GCPtr
|
---|
51 | );
|
---|
52 |
|
---|
53 | /* ppcCpArea.c */
|
---|
54 | RegionPtr xf4bppCopyArea(
|
---|
55 | DrawablePtr,
|
---|
56 | DrawablePtr,
|
---|
57 | GCPtr,
|
---|
58 | int,
|
---|
59 | int,
|
---|
60 | int,
|
---|
61 | int,
|
---|
62 | int,
|
---|
63 | int
|
---|
64 | );
|
---|
65 |
|
---|
66 | /* ppcDepth.c */
|
---|
67 | Bool xf4bppDepthOK(
|
---|
68 | DrawablePtr,
|
---|
69 | int
|
---|
70 | );
|
---|
71 |
|
---|
72 | /* ppcFillRct.c */
|
---|
73 | void xf4bppPolyFillRect(
|
---|
74 | DrawablePtr,
|
---|
75 | GCPtr,
|
---|
76 | int,
|
---|
77 | xRectangle *
|
---|
78 | );
|
---|
79 |
|
---|
80 | /* ppcWindowFS.c */
|
---|
81 | void xf4bppSolidWindowFS(
|
---|
82 | DrawablePtr,
|
---|
83 | GCPtr,
|
---|
84 | int,
|
---|
85 | DDXPointPtr,
|
---|
86 | int *,
|
---|
87 | int
|
---|
88 | );
|
---|
89 | void xf4bppStippleWindowFS(
|
---|
90 | DrawablePtr,
|
---|
91 | GCPtr,
|
---|
92 | int,
|
---|
93 | DDXPointPtr,
|
---|
94 | int *,
|
---|
95 | int
|
---|
96 | );
|
---|
97 | void xf4bppOpStippleWindowFS(
|
---|
98 | DrawablePtr,
|
---|
99 | GCPtr,
|
---|
100 | int,
|
---|
101 | DDXPointPtr,
|
---|
102 | int *,
|
---|
103 | int
|
---|
104 | );
|
---|
105 | void xf4bppTileWindowFS(
|
---|
106 | DrawablePtr,
|
---|
107 | GCPtr,
|
---|
108 | int,
|
---|
109 | DDXPointPtr,
|
---|
110 | int *,
|
---|
111 | int
|
---|
112 | );
|
---|
113 |
|
---|
114 | /* xf4bppPixmapFS.c */
|
---|
115 | void xf4bppSolidPixmapFS(
|
---|
116 | DrawablePtr,
|
---|
117 | GCPtr,
|
---|
118 | int,
|
---|
119 | DDXPointPtr,
|
---|
120 | int *,
|
---|
121 | int
|
---|
122 | );
|
---|
123 | void xf4bppStipplePixmapFS(
|
---|
124 | DrawablePtr,
|
---|
125 | GCPtr,
|
---|
126 | int,
|
---|
127 | DDXPointPtr,
|
---|
128 | int *,
|
---|
129 | int
|
---|
130 | );
|
---|
131 | void xf4bppOpStipplePixmapFS(
|
---|
132 | DrawablePtr,
|
---|
133 | GCPtr,
|
---|
134 | int,
|
---|
135 | DDXPointPtr,
|
---|
136 | int *,
|
---|
137 | int
|
---|
138 | );
|
---|
139 | void xf4bppTilePixmapFS(
|
---|
140 | DrawablePtr,
|
---|
141 | GCPtr,
|
---|
142 | int,
|
---|
143 | DDXPointPtr,
|
---|
144 | int *,
|
---|
145 | int
|
---|
146 | );
|
---|
147 |
|
---|
148 | /* ppcGC.c */
|
---|
149 | Bool xf4bppCreateGC(
|
---|
150 | GCPtr
|
---|
151 | );
|
---|
152 | void xf4bppDestroyGC(
|
---|
153 | GC *
|
---|
154 | );
|
---|
155 | void xf4bppValidateGC(
|
---|
156 | GCPtr,
|
---|
157 | unsigned long,
|
---|
158 | DrawablePtr
|
---|
159 | );
|
---|
160 |
|
---|
161 | /* ppcGetSp.c */
|
---|
162 | void xf4bppGetSpans(
|
---|
163 | DrawablePtr,
|
---|
164 | int,
|
---|
165 | DDXPointPtr,
|
---|
166 | int *,
|
---|
167 | int,
|
---|
168 | char *
|
---|
169 | );
|
---|
170 |
|
---|
171 | /* ppcImg.c */
|
---|
172 | void xf4bppGetImage(
|
---|
173 | DrawablePtr,
|
---|
174 | int,
|
---|
175 | int,
|
---|
176 | int,
|
---|
177 | int,
|
---|
178 | unsigned int,
|
---|
179 | unsigned long,
|
---|
180 | char *
|
---|
181 | );
|
---|
182 |
|
---|
183 | /* ppcLine.c */
|
---|
184 | void xf4bppScrnZeroLine(
|
---|
185 | DrawablePtr,
|
---|
186 | GCPtr,
|
---|
187 | int,
|
---|
188 | int,
|
---|
189 | DDXPointPtr
|
---|
190 | );
|
---|
191 | void xf4bppScrnZeroDash(
|
---|
192 | DrawablePtr,
|
---|
193 | GCPtr,
|
---|
194 | int,
|
---|
195 | int,
|
---|
196 | DDXPointPtr
|
---|
197 | );
|
---|
198 | void xf4bppScrnZeroSegs(
|
---|
199 | DrawablePtr,
|
---|
200 | GCPtr,
|
---|
201 | int,
|
---|
202 | xSegment *
|
---|
203 | );
|
---|
204 |
|
---|
205 | /* ppcPixmap.c */
|
---|
206 | PixmapPtr xf4bppCreatePixmap(
|
---|
207 | ScreenPtr,
|
---|
208 | int,
|
---|
209 | int,
|
---|
210 | int
|
---|
211 | );
|
---|
212 | PixmapPtr xf4bppCopyPixmap(
|
---|
213 | PixmapPtr
|
---|
214 | );
|
---|
215 |
|
---|
216 | /* ppcPntWin.c */
|
---|
217 | void xf4bppPaintWindow(
|
---|
218 | WindowPtr,
|
---|
219 | RegionPtr,
|
---|
220 | int
|
---|
221 | );
|
---|
222 |
|
---|
223 | /* ppcPolyPnt.c */
|
---|
224 | void xf4bppPolyPoint(
|
---|
225 | DrawablePtr,
|
---|
226 | GCPtr,
|
---|
227 | int,
|
---|
228 | int,
|
---|
229 | xPoint *
|
---|
230 | );
|
---|
231 |
|
---|
232 | /* ppcPolyRec.c */
|
---|
233 | void xf4bppPolyRectangle(
|
---|
234 | DrawablePtr,
|
---|
235 | GCPtr,
|
---|
236 | int,
|
---|
237 | xRectangle *
|
---|
238 | );
|
---|
239 |
|
---|
240 | /* ppcQuery.c */
|
---|
241 | void xf4bppQueryBestSize(
|
---|
242 | int,
|
---|
243 | unsigned short *,
|
---|
244 | unsigned short *,
|
---|
245 | ScreenPtr
|
---|
246 | );
|
---|
247 |
|
---|
248 | /* ppcRslvC.c */
|
---|
249 | void xf4bppResolveColor(
|
---|
250 | unsigned short *,
|
---|
251 | unsigned short *,
|
---|
252 | unsigned short *,
|
---|
253 | VisualPtr
|
---|
254 | );
|
---|
255 | Bool xf4bppInitializeColormap(
|
---|
256 | ColormapPtr
|
---|
257 | );
|
---|
258 |
|
---|
259 | /* ppcSetSp.c */
|
---|
260 | void xf4bppSetSpans(
|
---|
261 | DrawablePtr,
|
---|
262 | GCPtr,
|
---|
263 | char *,
|
---|
264 | DDXPointPtr,
|
---|
265 | int *,
|
---|
266 | int,
|
---|
267 | int
|
---|
268 | );
|
---|
269 |
|
---|
270 | /* ppcWindow.c */
|
---|
271 | void xf4bppCopyWindow(
|
---|
272 | WindowPtr,
|
---|
273 | DDXPointRec,
|
---|
274 | RegionPtr
|
---|
275 | );
|
---|
276 | Bool xf4bppPositionWindow(
|
---|
277 | WindowPtr,
|
---|
278 | int,
|
---|
279 | int
|
---|
280 | );
|
---|
281 | Bool xf4bppUnrealizeWindow(
|
---|
282 | WindowPtr,
|
---|
283 | int,
|
---|
284 | int
|
---|
285 | );
|
---|
286 | Bool xf4bppDestroyWindow(
|
---|
287 | WindowPtr
|
---|
288 | );
|
---|
289 | Bool xf4bppCreateWindowForXYhardware(
|
---|
290 | WindowPtr
|
---|
291 | );
|
---|
292 |
|
---|
293 | /* emulOpStip.c */
|
---|
294 | void xf4bppOpaqueStipple(
|
---|
295 | WindowPtr,
|
---|
296 | PixmapPtr,
|
---|
297 | unsigned long int,
|
---|
298 | unsigned long int,
|
---|
299 | int,
|
---|
300 | unsigned long int,
|
---|
301 | int,
|
---|
302 | int,
|
---|
303 | int,
|
---|
304 | int,
|
---|
305 | int,
|
---|
306 | int
|
---|
307 | );
|
---|
308 |
|
---|
309 | /* emulRepAre.c */
|
---|
310 | void xf4bppReplicateArea(
|
---|
311 | WindowPtr,
|
---|
312 | int,
|
---|
313 | int,
|
---|
314 | int,
|
---|
315 | int,
|
---|
316 | int,
|
---|
317 | int,
|
---|
318 | int
|
---|
319 | );
|
---|
320 |
|
---|
321 | /* emulTile.c */
|
---|
322 | void xf4bppTileRect(
|
---|
323 | WindowPtr,
|
---|
324 | PixmapPtr,
|
---|
325 | const int,
|
---|
326 | const unsigned long int,
|
---|
327 | int,
|
---|
328 | int,
|
---|
329 | int,
|
---|
330 | int,
|
---|
331 | int,
|
---|
332 | int
|
---|
333 | );
|
---|
334 |
|
---|
335 | /* vgaGC.c */
|
---|
336 | Mask xf4bppChangeWindowGC(
|
---|
337 | GCPtr,
|
---|
338 | Mask
|
---|
339 | );
|
---|
340 |
|
---|
341 | /* vgaBitBlt.c */
|
---|
342 | void xf4bppBitBlt(
|
---|
343 | WindowPtr,
|
---|
344 | int,
|
---|
345 | int,
|
---|
346 | int,
|
---|
347 | int,
|
---|
348 | int,
|
---|
349 | int,
|
---|
350 | int,
|
---|
351 | int
|
---|
352 | );
|
---|
353 |
|
---|
354 | /* vgaImages.c */
|
---|
355 | void xf4bppDrawColorImage(
|
---|
356 | WindowPtr,
|
---|
357 | int,
|
---|
358 | int,
|
---|
359 | int,
|
---|
360 | int,
|
---|
361 | unsigned char *,
|
---|
362 | int,
|
---|
363 | const int,
|
---|
364 | const unsigned long int
|
---|
365 | );
|
---|
366 | void xf4bppReadColorImage(
|
---|
367 | WindowPtr,
|
---|
368 | int,
|
---|
369 | int,
|
---|
370 | int,
|
---|
371 | int,
|
---|
372 | unsigned char *,
|
---|
373 | int
|
---|
374 | );
|
---|
375 |
|
---|
376 | /* vgaLine.c */
|
---|
377 | void xf4bppHorzLine(
|
---|
378 | WindowPtr,
|
---|
379 | unsigned long int,
|
---|
380 | int,
|
---|
381 | unsigned long int,
|
---|
382 | int,
|
---|
383 | int,
|
---|
384 | int
|
---|
385 | );
|
---|
386 | void xf4bppVertLine(
|
---|
387 | WindowPtr,
|
---|
388 | unsigned long int,
|
---|
389 | int,
|
---|
390 | unsigned long int,
|
---|
391 | int,
|
---|
392 | int,
|
---|
393 | int
|
---|
394 | );
|
---|
395 | void xf4bppBresLine(
|
---|
396 | WindowPtr,
|
---|
397 | unsigned long int,
|
---|
398 | int,
|
---|
399 | unsigned long int,
|
---|
400 | int,
|
---|
401 | int,
|
---|
402 | int,
|
---|
403 | int,
|
---|
404 | int,
|
---|
405 | int,
|
---|
406 | int,
|
---|
407 | int,
|
---|
408 | unsigned long int
|
---|
409 | );
|
---|
410 |
|
---|
411 | /* vgaStipple.c */
|
---|
412 | void xf4bppFillStipple(
|
---|
413 | WindowPtr,
|
---|
414 | const PixmapPtr,
|
---|
415 | unsigned long int,
|
---|
416 | const int,
|
---|
417 | unsigned long int,
|
---|
418 | int,
|
---|
419 | int,
|
---|
420 | int,
|
---|
421 | int,
|
---|
422 | const int,
|
---|
423 | const int
|
---|
424 | );
|
---|
425 |
|
---|
426 | /* vgaSolid.c */
|
---|
427 | void xf4bppFillSolid(
|
---|
428 | WindowPtr,
|
---|
429 | unsigned long int,
|
---|
430 | const int,
|
---|
431 | unsigned long int,
|
---|
432 | int,
|
---|
433 | const int,
|
---|
434 | int,
|
---|
435 | const int
|
---|
436 | );
|
---|
437 |
|
---|
438 | /* offscreen.c */
|
---|
439 | void xf4bppOffBitBlt(
|
---|
440 | WindowPtr,
|
---|
441 | const int,
|
---|
442 | const int,
|
---|
443 | int,
|
---|
444 | int,
|
---|
445 | int,
|
---|
446 | int,
|
---|
447 | int,
|
---|
448 | int
|
---|
449 | );
|
---|
450 | void xf4bppOffDrawColorImage(
|
---|
451 | WindowPtr,
|
---|
452 | int,
|
---|
453 | int,
|
---|
454 | int,
|
---|
455 | int,
|
---|
456 | unsigned char *,
|
---|
457 | int,
|
---|
458 | const int,
|
---|
459 | const unsigned long int
|
---|
460 | );
|
---|
461 | void xf4bppOffReadColorImage(
|
---|
462 | WindowPtr,
|
---|
463 | int,
|
---|
464 | int,
|
---|
465 | int,
|
---|
466 | int,
|
---|
467 | unsigned char *,
|
---|
468 | int
|
---|
469 | );
|
---|
470 | void xf4bppOffFillSolid(
|
---|
471 | WindowPtr,
|
---|
472 | unsigned long int,
|
---|
473 | const int,
|
---|
474 | unsigned long int,
|
---|
475 | int,
|
---|
476 | const int,
|
---|
477 | int,
|
---|
478 | const int
|
---|
479 | );
|
---|
480 | void xf4bppOffDrawMonoImage(
|
---|
481 | WindowPtr,
|
---|
482 | unsigned char *,
|
---|
483 | int,
|
---|
484 | int,
|
---|
485 | int,
|
---|
486 | int,
|
---|
487 | unsigned long int,
|
---|
488 | int,
|
---|
489 | unsigned long int
|
---|
490 | );
|
---|
491 | void xf4bppOffFillStipple(
|
---|
492 | WindowPtr,
|
---|
493 | const PixmapPtr,
|
---|
494 | unsigned long int,
|
---|
495 | const int,
|
---|
496 | unsigned long int,
|
---|
497 | int,
|
---|
498 | int,
|
---|
499 | int,
|
---|
500 | int,
|
---|
501 | const int,
|
---|
502 | const int
|
---|
503 | );
|
---|
504 |
|
---|
505 | /* mfbimggblt.c */
|
---|
506 | void xf4bppImageGlyphBlt(
|
---|
507 | DrawablePtr,
|
---|
508 | GCPtr,
|
---|
509 | int,
|
---|
510 | int,
|
---|
511 | unsigned int,
|
---|
512 | CharInfoPtr *,
|
---|
513 | pointer
|
---|
514 | );
|
---|
515 |
|
---|
516 | /* wm3.c */
|
---|
517 | int wm3_set_regs(
|
---|
518 | GC *
|
---|
519 | );
|
---|
520 |
|
---|
521 | /* ppcIO.c */
|
---|
522 | void xf4bppNeverCalled(
|
---|
523 | void
|
---|
524 | );
|
---|
525 | Bool xf4bppScreenInit(
|
---|
526 | ScreenPtr,
|
---|
527 | pointer,
|
---|
528 | int,
|
---|
529 | int,
|
---|
530 | int,
|
---|
531 | int,
|
---|
532 | int
|
---|
533 | );
|
---|
534 |
|
---|
535 | /* mfbfillarc.c */
|
---|
536 | void xf4bppPolyFillArc(
|
---|
537 | DrawablePtr,
|
---|
538 | GCPtr,
|
---|
539 | int,
|
---|
540 | xArc *
|
---|
541 | );
|
---|
542 |
|
---|
543 | /* mfbzerarc.c */
|
---|
544 | void xf4bppZeroPolyArc(
|
---|
545 | DrawablePtr,
|
---|
546 | GCPtr,
|
---|
547 | int,
|
---|
548 | xArc *
|
---|
549 | );
|
---|
550 |
|
---|
551 | /* mfbline.c */
|
---|
552 | void xf4bppSegmentSS (
|
---|
553 | DrawablePtr,
|
---|
554 | GCPtr,
|
---|
555 | int,
|
---|
556 | xSegment *
|
---|
557 | );
|
---|
558 | void xf4bppLineSS (
|
---|
559 | DrawablePtr,
|
---|
560 | GCPtr,
|
---|
561 | int,
|
---|
562 | int,
|
---|
563 | DDXPointPtr
|
---|
564 | );
|
---|
565 | void xf4bppSegmentSD (
|
---|
566 | DrawablePtr,
|
---|
567 | GCPtr,
|
---|
568 | int,
|
---|
569 | xSegment *
|
---|
570 | );
|
---|
571 | void xf4bppLineSD (
|
---|
572 | DrawablePtr,
|
---|
573 | GCPtr,
|
---|
574 | int,
|
---|
575 | int,
|
---|
576 | DDXPointPtr
|
---|
577 | );
|
---|
578 |
|
---|
579 | /* mfbbres.c */
|
---|
580 | void xf4bppBresS(
|
---|
581 | PixelType *,
|
---|
582 | int,
|
---|
583 | int,
|
---|
584 | int,
|
---|
585 | int,
|
---|
586 | int,
|
---|
587 | int,
|
---|
588 | int,
|
---|
589 | int,
|
---|
590 | int,
|
---|
591 | int
|
---|
592 | );
|
---|
593 |
|
---|
594 | /* mfbbresd.c */
|
---|
595 | void xf4bppBresD(
|
---|
596 | DrawablePtr,
|
---|
597 | int, int,
|
---|
598 | int *,
|
---|
599 | unsigned char *,
|
---|
600 | int,
|
---|
601 | int *,
|
---|
602 | int,
|
---|
603 | PixelType *,
|
---|
604 | int, int, int, int, int, int,
|
---|
605 | int, int,
|
---|
606 | int, int
|
---|
607 | );
|
---|
608 |
|
---|
609 | /* mfbhrzvert.c */
|
---|
610 | void xf4bppHorzS(
|
---|
611 | PixelType *,
|
---|
612 | int,
|
---|
613 | int,
|
---|
614 | int,
|
---|
615 | int
|
---|
616 | );
|
---|
617 | void xf4bppVertS(
|
---|
618 | PixelType *,
|
---|
619 | int,
|
---|
620 | int,
|
---|
621 | int,
|
---|
622 | int
|
---|
623 | );
|
---|
624 |
|
---|
625 | #ifdef PC98_EGC
|
---|
626 |
|
---|
627 | /* egc_asm.s */
|
---|
628 | unsigned char getbits_x(
|
---|
629 | int,
|
---|
630 | unsigned int,
|
---|
631 | pointer,
|
---|
632 | unsigned int
|
---|
633 | );
|
---|
634 | void wcopyr(
|
---|
635 | pointer,
|
---|
636 | pointer,
|
---|
637 | int,
|
---|
638 | pointer
|
---|
639 | );
|
---|
640 | void wcopyl(
|
---|
641 | pointer,
|
---|
642 | pointer,
|
---|
643 | int,
|
---|
644 | pointer
|
---|
645 | );
|
---|
646 | unsigned long int read8Z(
|
---|
647 | pointer
|
---|
648 | );
|
---|
649 |
|
---|
650 | #endif /* PC98_EGC */
|
---|
651 |
|
---|
652 | #endif /* __XF4BPP_H__ */
|
---|