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