Cancel redefinition of DOSBase for the 'cdrom' test utility. Now the
[AROS.git] / workbench / classes / datatypes / picture / pictureclass.h
blob5a1a6ecf6730ddeb3e10e74c6b9d86563809dcd7
1 /*
2 Copyright © 1995-2003, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #define MIN(a,b) (((a) < (b)) ? (a) : (b))
7 #define MAX(a,b) (((a) > (b)) ? (a) : (b))
9 #include <datatypes/pictureclass.h>
10 #include <graphics/gfx.h>
12 struct Picture_Data
15 * public entries, accessible with SET/GET
17 ULONG Precision;
18 ULONG ModeID;
19 struct BitMapHeader bmhd;
20 struct BitMap *SrcBM; /* PDTA_BitMap and PDTA_ClassBM */
21 ULONG SrcColRegs[768]; /* PDTA_CRegs */
22 struct BitMap *DestBM;
23 UBYTE *MaskPlane;
24 ULONG DestColRegs[768]; /* PDTA_GRegs */
25 struct Screen *DestScreen;
26 struct ColorRegister ColMap[256];
27 UBYTE ColTable[256];
28 UWORD NumColors;
29 UWORD NumAlloc;
30 UBYTE SparseTable[256];
31 UWORD NumSparse;
32 Point Grab;
33 UWORD MaxDitherPens;
34 UWORD DitherQuality;
35 UWORD ScaleQuality;
36 BOOL FreeSource;
37 BOOL Remap;
38 BOOL UseFriendBM;
39 BOOL DestMode;
40 BOOL DelayRead;
41 BOOL DelayedRead;
43 * private entries
45 UBYTE *SrcBuffer;
46 ULONG SrcWidth;
47 ULONG SrcWidthBytes;
48 ULONG SrcHeight;
49 LONG SrcPixelFormat;
50 UWORD SrcPixelBytes;
51 UWORD SrcDepth;
53 ULONG DestWidth;
54 ULONG DestHeight;
55 ULONG ColTableXRGB[256];
56 UWORD DestDepth;
58 BOOL TrueColorSrc;
59 BOOL TrueColorDest;
60 BOOL Layouted;
61 BOOL UseAsImage;
62 BOOL KeepSrcBM;
63 BOOL NoDelay;
65 BOOL Scale;
66 ULONG XScale;
67 ULONG YScale;
69 LONG ClickX;
70 LONG ClickY;
71 struct Screen *RemapScreen;