6 ** Copyright (C) 1996,97 by Bernardo Innocenti
8 ** 'Picture In Picture' class built on top of the "gadgetclass".
12 #define PIPCLASS "pipclass"
16 Class *MakePIPClass (void);
17 void FreePIPClass (Class *PIPClass);
21 /********************/
22 /* Class Attributes */
23 /********************/
25 #define PIP_Dummy (TAG_USER | ('P'<<16) | ('I'<< 8))
27 #define PIPA_Screen (PIP_Dummy+1)
28 /* (IGS) Screen to capture data from
31 #define PIPA_BitMap (PIP_Dummy+2)
32 /* (IGS) BitMap to capture data from
35 #define PIPA_OffX (PIP_Dummy+3)
36 #define PIPA_OffY (PIP_Dummy+4)
37 /* (IGSNU) Offsett of the PIP view
40 #define PIPA_Width (PIP_Dummy+5)
41 #define PIPA_Height (PIP_Dummy+6)
42 /* (GN) Dimensions of the bitmap being captured.
45 #define PIPA_DisplayWidth (PIP_Dummy+7)
46 #define PIPA_DisplayHeight (PIP_Dummy+8)
47 /* (GN) Dimensions of the PIP display.
50 #define PIPA_MoveUp (PIP_Dummy+9)
51 #define PIPA_MoveDown (PIP_Dummy+10)
52 #define PIPA_MoveLeft (PIP_Dummy+11)
53 #define PIPA_MoveRight (PIP_Dummy+12)
54 /* (S) Scroll the display towads a direction
62 #define PIPM_REFRESH (PIP_Dummy+1)
64 * Tell the object to update its imagery to reflect any changes
65 * in the attached Screen or BitMap.
71 struct GadgetInfo *pipp_GInfo;
74 #endif /* !PIPCLASS_H */