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 |
|
---|
153 | /* ppcGetSp.c */
|
---|
154 | void xf4bppGetSpans(
|
---|
155 | DrawablePtr,
|
---|
156 | int,
|
---|
157 | DDXPointPtr,
|
---|
158 | int *,
|
---|
159 | int,
|
---|
160 | char *
|
---|
161 | );
|
---|
162 |
|
---|
163 | /* ppcImg.c */
|
---|
164 | void xf4bppGetImage(
|
---|
165 | DrawablePtr,
|
---|
166 | int,
|
---|
167 | int,
|
---|
168 | int,
|
---|
169 | int,
|
---|
170 | unsigned int,
|
---|
171 | unsigned long,
|
---|
172 | char *
|
---|
173 | );
|
---|
174 |
|
---|
175 | /* ppcLine.c */
|
---|
176 | void xf4bppScrnZeroLine(
|
---|
177 | DrawablePtr,
|
---|
178 | GCPtr,
|
---|
179 | int,
|
---|
180 | int,
|
---|
181 | DDXPointPtr
|
---|
182 | );
|
---|
183 | void xf4bppScrnZeroDash(
|
---|
184 | DrawablePtr,
|
---|
185 | GCPtr,
|
---|
186 | int,
|
---|
187 | int,
|
---|
188 | DDXPointPtr
|
---|
189 | );
|
---|
190 | void xf4bppScrnZeroSegs(
|
---|
191 | DrawablePtr,
|
---|
192 | GCPtr,
|
---|
193 | int,
|
---|
194 | xSegment *
|
---|
195 | );
|
---|
196 |
|
---|
197 | /* ppcPixmap.c */
|
---|
198 | PixmapPtr xf4bppCreatePixmap(
|
---|
199 | ScreenPtr,
|
---|
200 | int,
|
---|
201 | int,
|
---|
202 | int
|
---|
203 | );
|
---|
204 | PixmapPtr xf4bppCopyPixmap(
|
---|
205 | PixmapPtr
|
---|
206 | );
|
---|
207 |
|
---|
208 | /* ppcPntWin.c */
|
---|
209 | void xf4bppPaintWindow(
|
---|
210 | WindowPtr,
|
---|
211 | RegionPtr,
|
---|
212 | int
|
---|
213 | );
|
---|
214 |
|
---|
215 | /* ppcPolyPnt.c */
|
---|
216 | void xf4bppPolyPoint(
|
---|
217 | DrawablePtr,
|
---|
218 | GCPtr,
|
---|
219 | int,
|
---|
220 | int,
|
---|
221 | xPoint *
|
---|
222 | );
|
---|
223 |
|
---|
224 | /* ppcPolyRec.c */
|
---|
225 | void xf4bppPolyRectangle(
|
---|
226 | DrawablePtr,
|
---|
227 | GCPtr,
|
---|
228 | int,
|
---|
229 | xRectangle *
|
---|
230 | );
|
---|
231 |
|
---|
232 | /* ppcQuery.c */
|
---|
233 | void xf4bppQueryBestSize(
|
---|
234 | int,
|
---|
235 | unsigned short *,
|
---|
236 | unsigned short *,
|
---|
237 | ScreenPtr
|
---|
238 | );
|
---|
239 |
|
---|
240 | /* ppcRslvC.c */
|
---|
241 | void xf4bppResolveColor(
|
---|
242 | unsigned short *,
|
---|
243 | unsigned short *,
|
---|
244 | unsigned short *,
|
---|
245 | VisualPtr
|
---|
246 | );
|
---|
247 | Bool xf4bppInitializeColormap(
|
---|
248 | ColormapPtr
|
---|
249 | );
|
---|
250 |
|
---|
251 | /* ppcSetSp.c */
|
---|
252 | void xf4bppSetSpans(
|
---|
253 | DrawablePtr,
|
---|
254 | GCPtr,
|
---|
255 | char *,
|
---|
256 | DDXPointPtr,
|
---|
257 | int *,
|
---|
258 | int,
|
---|
259 | int
|
---|
260 | );
|
---|
261 |
|
---|
262 | /* ppcWindow.c */
|
---|
263 | void xf4bppCopyWindow(
|
---|
264 | WindowPtr,
|
---|
265 | DDXPointRec,
|
---|
266 | RegionPtr
|
---|
267 | );
|
---|
268 | Bool xf4bppPositionWindow(
|
---|
269 | WindowPtr,
|
---|
270 | int,
|
---|
271 | int
|
---|
272 | );
|
---|
273 | Bool xf4bppUnrealizeWindow(
|
---|
274 | WindowPtr,
|
---|
275 | int,
|
---|
276 | int
|
---|
277 | );
|
---|
278 | Bool xf4bppDestroyWindow(
|
---|
279 | WindowPtr
|
---|
280 | );
|
---|
281 | Bool xf4bppCreateWindowForXYhardware(
|
---|
282 | WindowPtr
|
---|
283 | );
|
---|
284 |
|
---|
285 | /* emulOpStip.c */
|
---|
286 | void xf4bppOpaqueStipple(
|
---|
287 | WindowPtr,
|
---|
288 | PixmapPtr,
|
---|
289 | unsigned long int,
|
---|
290 | unsigned long int,
|
---|
291 | int,
|
---|
292 | unsigned long int,
|
---|
293 | int,
|
---|
294 | int,
|
---|
295 | int,
|
---|
296 | int,
|
---|
297 | int,
|
---|
298 | int
|
---|
299 | );
|
---|
300 |
|
---|
301 | /* emulRepAre.c */
|
---|
302 | void xf4bppReplicateArea(
|
---|
303 | WindowPtr,
|
---|
304 | int,
|
---|
305 | int,
|
---|
306 | int,
|
---|
307 | int,
|
---|
308 | int,
|
---|
309 | int,
|
---|
310 | int
|
---|
311 | );
|
---|
312 |
|
---|
313 | /* emulTile.c */
|
---|
314 | void xf4bppTileRect(
|
---|
315 | WindowPtr,
|
---|
316 | PixmapPtr,
|
---|
317 | const int,
|
---|
318 | const unsigned long int,
|
---|
319 | int,
|
---|
320 | int,
|
---|
321 | int,
|
---|
322 | int,
|
---|
323 | int,
|
---|
324 | int
|
---|
325 | );
|
---|
326 |
|
---|
327 | /* vgaGC.c */
|
---|
328 | Mask xf4bppChangeWindowGC(
|
---|
329 | GCPtr,
|
---|
330 | Mask
|
---|
331 | );
|
---|
332 |
|
---|
333 | /* vgaBitBlt.c */
|
---|
334 | void xf4bppBitBlt(
|
---|
335 | WindowPtr,
|
---|
336 | int,
|
---|
337 | int,
|
---|
338 | int,
|
---|
339 | int,
|
---|
340 | int,
|
---|
341 | int,
|
---|
342 | int,
|
---|
343 | int
|
---|
344 | );
|
---|
345 |
|
---|
346 | /* vgaImages.c */
|
---|
347 | void xf4bppDrawColorImage(
|
---|
348 | WindowPtr,
|
---|
349 | int,
|
---|
350 | int,
|
---|
351 | int,
|
---|
352 | int,
|
---|
353 | unsigned char *,
|
---|
354 | int,
|
---|
355 | const int,
|
---|
356 | const unsigned long int
|
---|
357 | );
|
---|
358 | void xf4bppReadColorImage(
|
---|
359 | WindowPtr,
|
---|
360 | int,
|
---|
361 | int,
|
---|
362 | int,
|
---|
363 | int,
|
---|
364 | unsigned char *,
|
---|
365 | int
|
---|
366 | );
|
---|
367 |
|
---|
368 | /* vgaLine.c */
|
---|
369 | void xf4bppHorzLine(
|
---|
370 | WindowPtr,
|
---|
371 | unsigned long int,
|
---|
372 | int,
|
---|
373 | unsigned long int,
|
---|
374 | int,
|
---|
375 | int,
|
---|
376 | int
|
---|
377 | );
|
---|
378 | void xf4bppVertLine(
|
---|
379 | WindowPtr,
|
---|
380 | unsigned long int,
|
---|
381 | int,
|
---|
382 | unsigned long int,
|
---|
383 | int,
|
---|
384 | int,
|
---|
385 | int
|
---|
386 | );
|
---|
387 | void xf4bppBresLine(
|
---|
388 | WindowPtr,
|
---|
389 | unsigned long int,
|
---|
390 | int,
|
---|
391 | unsigned long int,
|
---|
392 | int,
|
---|
393 | int,
|
---|
394 | int,
|
---|
395 | int,
|
---|
396 | int,
|
---|
397 | int,
|
---|
398 | int,
|
---|
399 | int,
|
---|
400 | unsigned long int
|
---|
401 | );
|
---|
402 |
|
---|
403 | /* vgaStipple.c */
|
---|
404 | void xf4bppFillStipple(
|
---|
405 | WindowPtr,
|
---|
406 | const PixmapPtr,
|
---|
407 | unsigned long int,
|
---|
408 | const int,
|
---|
409 | unsigned long int,
|
---|
410 | int,
|
---|
411 | int,
|
---|
412 | int,
|
---|
413 | int,
|
---|
414 | const int,
|
---|
415 | const int
|
---|
416 | );
|
---|
417 |
|
---|
418 | /* vgaSolid.c */
|
---|
419 | void xf4bppFillSolid(
|
---|
420 | WindowPtr,
|
---|
421 | unsigned long int,
|
---|
422 | const int,
|
---|
423 | unsigned long int,
|
---|
424 | int,
|
---|
425 | const int,
|
---|
426 | int,
|
---|
427 | const int
|
---|
428 | );
|
---|
429 |
|
---|
430 | /* offscreen.c */
|
---|
431 | void xf4bppOffBitBlt(
|
---|
432 | WindowPtr,
|
---|
433 | const int,
|
---|
434 | const int,
|
---|
435 | int,
|
---|
436 | int,
|
---|
437 | int,
|
---|
438 | int,
|
---|
439 | int,
|
---|
440 | int
|
---|
441 | );
|
---|
442 | void xf4bppOffDrawColorImage(
|
---|
443 | WindowPtr,
|
---|
444 | int,
|
---|
445 | int,
|
---|
446 | int,
|
---|
447 | int,
|
---|
448 | unsigned char *,
|
---|
449 | int,
|
---|
450 | const int,
|
---|
451 | const unsigned long int
|
---|
452 | );
|
---|
453 | void xf4bppOffReadColorImage(
|
---|
454 | WindowPtr,
|
---|
455 | int,
|
---|
456 | int,
|
---|
457 | int,
|
---|
458 | int,
|
---|
459 | unsigned char *,
|
---|
460 | int
|
---|
461 | );
|
---|
462 | void xf4bppOffFillSolid(
|
---|
463 | WindowPtr,
|
---|
464 | unsigned long int,
|
---|
465 | const int,
|
---|
466 | unsigned long int,
|
---|
467 | int,
|
---|
468 | const int,
|
---|
469 | int,
|
---|
470 | const int
|
---|
471 | );
|
---|
472 | void xf4bppOffDrawMonoImage(
|
---|
473 | WindowPtr,
|
---|
474 | unsigned char *,
|
---|
475 | int,
|
---|
476 | int,
|
---|
477 | int,
|
---|
478 | int,
|
---|
479 | unsigned long int,
|
---|
480 | int,
|
---|
481 | unsigned long int
|
---|
482 | );
|
---|
483 | void xf4bppOffFillStipple(
|
---|
484 | WindowPtr,
|
---|
485 | const PixmapPtr,
|
---|
486 | unsigned long int,
|
---|
487 | const int,
|
---|
488 | unsigned long int,
|
---|
489 | int,
|
---|
490 | int,
|
---|
491 | int,
|
---|
492 | int,
|
---|
493 | const int,
|
---|
494 | const int
|
---|
495 | );
|
---|
496 |
|
---|
497 | /* mfbimggblt.c */
|
---|
498 | void xf4bppImageGlyphBlt(
|
---|
499 | DrawablePtr,
|
---|
500 | GCPtr,
|
---|
501 | int,
|
---|
502 | int,
|
---|
503 | unsigned int,
|
---|
504 | CharInfoPtr *,
|
---|
505 | pointer
|
---|
506 | );
|
---|
507 |
|
---|
508 | /* wm3.c */
|
---|
509 | int wm3_set_regs(
|
---|
510 | GC *
|
---|
511 | );
|
---|
512 |
|
---|
513 | /* ppcIO.c */
|
---|
514 | void xf4bppNeverCalled(
|
---|
515 | void
|
---|
516 | );
|
---|
517 | Bool xf4bppScreenInit(
|
---|
518 | ScreenPtr,
|
---|
519 | pointer,
|
---|
520 | int,
|
---|
521 | int,
|
---|
522 | int,
|
---|
523 | int,
|
---|
524 | int
|
---|
525 | );
|
---|
526 |
|
---|
527 | /* mfbfillarc.c */
|
---|
528 | void xf4bppPolyFillArc(
|
---|
529 | DrawablePtr,
|
---|
530 | GCPtr,
|
---|
531 | int,
|
---|
532 | xArc *
|
---|
533 | );
|
---|
534 |
|
---|
535 | /* mfbzerarc.c */
|
---|
536 | void xf4bppZeroPolyArc(
|
---|
537 | DrawablePtr,
|
---|
538 | GCPtr,
|
---|
539 | int,
|
---|
540 | xArc *
|
---|
541 | );
|
---|
542 |
|
---|
543 | /* mfbline.c */
|
---|
544 | void xf4bppSegmentSS (
|
---|
545 | DrawablePtr,
|
---|
546 | GCPtr,
|
---|
547 | int,
|
---|
548 | xSegment *
|
---|
549 | );
|
---|
550 | void xf4bppLineSS (
|
---|
551 | DrawablePtr,
|
---|
552 | GCPtr,
|
---|
553 | int,
|
---|
554 | int,
|
---|
555 | DDXPointPtr
|
---|
556 | );
|
---|
557 | void xf4bppSegmentSD (
|
---|
558 | DrawablePtr,
|
---|
559 | GCPtr,
|
---|
560 | int,
|
---|
561 | xSegment *
|
---|
562 | );
|
---|
563 | void xf4bppLineSD (
|
---|
564 | DrawablePtr,
|
---|
565 | GCPtr,
|
---|
566 | int,
|
---|
567 | int,
|
---|
568 | DDXPointPtr
|
---|
569 | );
|
---|
570 |
|
---|
571 | /* mfbbres.c */
|
---|
572 | void xf4bppBresS(
|
---|
573 | PixelType *,
|
---|
574 | int,
|
---|
575 | int,
|
---|
576 | int,
|
---|
577 | int,
|
---|
578 | int,
|
---|
579 | int,
|
---|
580 | int,
|
---|
581 | int,
|
---|
582 | int,
|
---|
583 | int
|
---|
584 | );
|
---|
585 |
|
---|
586 | /* mfbbresd.c */
|
---|
587 | void xf4bppBresD(
|
---|
588 | DrawablePtr,
|
---|
589 | int, int,
|
---|
590 | int *,
|
---|
591 | unsigned char *,
|
---|
592 | int,
|
---|
593 | int *,
|
---|
594 | int,
|
---|
595 | PixelType *,
|
---|
596 | int, int, int, int, int, int,
|
---|
597 | int, int,
|
---|
598 | int, int
|
---|
599 | );
|
---|
600 |
|
---|
601 | /* mfbhrzvert.c */
|
---|
602 | void xf4bppHorzS(
|
---|
603 | PixelType *,
|
---|
604 | int,
|
---|
605 | int,
|
---|
606 | int,
|
---|
607 | int
|
---|
608 | );
|
---|
609 | void xf4bppVertS(
|
---|
610 | PixelType *,
|
---|
611 | int,
|
---|
612 | int,
|
---|
613 | int,
|
---|
614 | int
|
---|
615 | );
|
---|
616 |
|
---|
617 | #ifdef PC98_EGC
|
---|
618 |
|
---|
619 | /* egc_asm.s */
|
---|
620 | unsigned char getbits_x(
|
---|
621 | int,
|
---|
622 | unsigned int,
|
---|
623 | pointer,
|
---|
624 | unsigned int
|
---|
625 | );
|
---|
626 | void wcopyr(
|
---|
627 | pointer,
|
---|
628 | pointer,
|
---|
629 | int,
|
---|
630 | pointer
|
---|
631 | );
|
---|
632 | void wcopyl(
|
---|
633 | pointer,
|
---|
634 | pointer,
|
---|
635 | int,
|
---|
636 | pointer
|
---|
637 | );
|
---|
638 | unsigned long int read8Z(
|
---|
639 | pointer
|
---|
640 | );
|
---|
641 |
|
---|
642 | #endif /* PC98_EGC */
|
---|
643 |
|
---|
644 | #endif /* __XF4BPP_H__ */
|
---|