define __KERNEL_STRICT_NAMES to avoid inclusion of kernel types on systems that carry...
[cake.git] / compiler / include / intuition / scrdecorclass.h
blobbb5e5dc7987cbfb997da91aa5cf31b81826e2705
1 #ifndef INTUITION_SCRDECORCLASS_H
2 #define INTUITION_SCRDECORCLASS_H
4 /*
5 Copyright 1995-2001, The AROS Development Team. All rights reserved.
6 $Id$
8 Desc: Headerfile for Intuitions' SCRDECORCLASS
9 Lang: english
12 #ifndef UTILITY_TAGITEM_H
13 # include <utility/tagitem.h>
14 #endif
16 #ifndef INTUITION_IMAGECLASS_H
17 # include <intuition/imageclass.h>
18 #endif
20 #ifndef GRAPHICS_CLIP_H
21 # include <graphics/clip.h>
22 #endif
24 #ifndef INTUITION_INTUITION_H
25 # include <intuition/intuition.h>
26 #endif
28 #ifndef INTUITION_SCREENS_H
29 # include <intuition/screens.h>
30 #endif
32 /* Attributes for SCRDECORCLASS */
33 #define SDA_Dummy (TAG_USER + 0x22100)
34 #define SDA_DrawInfo (SDA_Dummy + 1) /* I.G */
35 #define SDA_Screen (SDA_Dummy + 2) /* I.G */
36 #define SDA_TrueColorOnly (SDA_Dummy + 3) /* ..G */
37 #define SDA_UserBuffer (SDA_Dummy + 4) /* I.G */
39 /* Methods for SCRDECORCLASS */
40 #define SDM_Dummy (SDA_Dummy + 500)
42 #define SDM_SETUP (SDM_Dummy + 1)
43 #define SDM_CLEANUP (SDM_Dummy + 2)
44 #define SDM_GETDEFSIZE_SYSIMAGE (SDM_Dummy + 3)
45 #define SDM_DRAW_SYSIMAGE (SDM_Dummy + 4)
46 #define SDM_DRAW_SCREENBAR (SDM_Dummy + 5)
47 #define SDM_LAYOUT_SCREENGADGETS (SDM_Dummy + 6)
48 #define SDM_INITSCREEN (SDM_Dummy + 7)
49 #define SDM_EXITSCREEN (SDM_Dummy + 8)
51 struct sdpGetDefSizeSysImage
53 STACKED ULONG MethodID;
54 STACKED BYTE sdp_TrueColor;
55 STACKED struct DrawInfo *sdp_Dri;
56 STACKED struct TextFont *sdp_ReferenceFont; /* In: */
57 STACKED ULONG sdp_Which; /* In: SDEPTHIMAGE */
58 STACKED ULONG sdp_SysiSize; /* In: lowres/medres/highres */
59 STACKED ULONG *sdp_Width; /* Out */
60 STACKED ULONG *sdp_Height; /* Out */
61 STACKED ULONG sdp_Flags;
62 STACKED IPTR sdp_UserBuffer;
65 /* This struct must match wdpDrawSysImage struct in windecorclass.h! */
67 struct sdpDrawSysImage
69 STACKED ULONG MethodID;
70 STACKED BYTE sdp_TrueColor;
71 STACKED struct DrawInfo *sdp_Dri;
72 STACKED struct RastPort *sdp_RPort;
73 STACKED LONG sdp_X;
74 STACKED LONG sdp_Y;
75 STACKED LONG sdp_Width;
76 STACKED LONG sdp_Height;
77 STACKED ULONG sdp_Which;
78 STACKED ULONG sdp_State;
79 STACKED ULONG sdp_Flags;
80 STACKED IPTR sdp_UserBuffer;
83 struct sdpDrawScreenBar
85 STACKED ULONG MethodID;
86 STACKED BYTE sdp_TrueColor;
87 STACKED struct DrawInfo *sdp_Dri;
88 STACKED struct Layer *sdp_Layer;
89 STACKED struct RastPort *sdp_RPort;
90 STACKED struct Screen *sdp_Screen;
91 STACKED ULONG sdp_Flags;
92 STACKED IPTR sdp_UserBuffer;
95 struct sdpLayoutScreenGadgets
97 STACKED ULONG MethodID;
98 STACKED BYTE sdp_TrueColor;
99 STACKED struct DrawInfo *sdp_Dri;
100 STACKED struct Layer *sdp_Layer;
101 STACKED struct Gadget *sdp_Gadgets;
102 STACKED ULONG sdp_Flags;
103 STACKED IPTR sdp_UserBuffer;
106 struct sdpInitScreen
108 STACKED ULONG MethodID;
109 STACKED BYTE sdp_TrueColor;
110 STACKED struct DrawInfo *sdp_Dri;
111 STACKED struct Screen *sdp_Screen;
112 STACKED ULONG sdp_FontHeight;
113 STACKED LONG sdp_TitleHack;
114 STACKED ULONG sdp_BarHeight;
115 STACKED ULONG sdp_BarVBorder;
116 STACKED ULONG sdp_BarHBorder;
117 STACKED ULONG sdp_MenuVBorder;
118 STACKED ULONG spd_MenuHBorder;
119 STACKED BYTE sdp_WBorTop;
120 STACKED BYTE sdp_WBorLeft;
121 STACKED BYTE sdp_WBorRight;
122 STACKED BYTE sdp_WBorBottom;
123 STACKED IPTR sdp_UserBuffer;
126 struct sdpExitScreen
128 STACKED ULONG MethodID;
129 STACKED BYTE sdp_TrueColor;
130 STACKED IPTR sdp_UserBuffer;
132 /* ScrDecor LayoutScreenGadgets Flags */
133 #define SDF_LSG_INITIAL 1 /* First time == During OpenScreen */
134 #define SDF_LSG_SYSTEMGADGET 2 /* Is a system gadget (sdepth) */
135 #define SDF_LSG_INGADLIST 4 /* Gadget is already in screen gadget list */
136 #define SDF_LSG_MULTIPLE 8 /* There may be multiple gadgets (linked
137 together through NextGadget. Follow it) */
139 #endif /* INTUITION_SCRDECORCLASS_H */