rom/graphics: -Wall cleanup
[AROS.git] / compiler / include / graphics / rastport.h
blob4a5f317f0827216850184820298bf4649c1fe804
1 #ifndef GRAPHICS_RASTPORT_H
2 #define GRAPHICS_RASTPORT_H
4 /*
5 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
6 $Id$
8 Desc: Rastport
9 Lang: english
12 #ifndef EXEC_TYPES_H
13 # include <exec/types.h>
14 #endif
15 #ifndef GRAPHICS_GFX_H
16 # include <graphics/gfx.h>
17 #endif
19 struct AreaInfo
21 WORD * VctrTbl;
22 WORD * VctrPtr;
23 BYTE * FlagTbl;
24 BYTE * FlagPtr;
25 WORD Count;
26 WORD MaxCount;
27 WORD FirstX;
28 WORD FirstY;
31 struct GelsInfo
33 BYTE sprRsrvd;
34 UBYTE Flags;
35 struct VSprite * gelHead;
36 struct VSprite * gelTail;
37 WORD * nextLine;
38 WORD ** lastColor;
39 struct collTable * collHandler;
40 WORD leftmost;
41 WORD rightmost;
42 WORD topmost;
43 WORD bottommost;
44 APTR firstBlissObj;
45 APTR lastBlissObj;
48 struct TmpRas
50 UBYTE * RasPtr;
51 LONG Size;
54 struct RastPort
56 struct Layer * Layer;
57 struct BitMap * BitMap;
58 const UWORD * AreaPtrn;
59 struct TmpRas * TmpRas;
60 struct AreaInfo * AreaInfo;
61 struct GelsInfo * GelsInfo;
62 UBYTE Mask;
63 BYTE FgPen;
64 BYTE BgPen;
65 BYTE AOlPen;
66 BYTE DrawMode;
67 BYTE AreaPtSz;
68 BYTE linpatcnt;
69 BYTE dummy;
70 UWORD Flags;
71 UWORD LinePtrn;
72 WORD cp_x;
73 WORD cp_y;
74 UBYTE minterms[8];
75 WORD PenWidth;
76 WORD PenHeight;
77 struct TextFont * Font;
78 UBYTE AlgoStyle;
79 UBYTE TxFlags;
80 UWORD TxHeight;
81 UWORD TxWidth;
82 UWORD TxBaseline;
83 WORD TxSpacing;
84 APTR * RP_User;
85 IPTR longreserved[2];
86 UWORD wordreserved[7];
87 UBYTE reserved[8];
90 /* Flags */
91 #define FRST_DOT (1<<0)
92 #define ONE_DOT (1<<1)
93 #define DBUFFER (1<<2)
95 /* Drawing Modes */
96 #define JAM1 0
97 #define JAM2 1
98 #define COMPLEMENT 2
99 #define INVERSVID 4
101 #define AREAOUTLINE 0x08
102 #define NOCROSSFILL 0x20
104 #endif /* GRAPHICS_RASTPORT_H */