revert between 56095 -> 55830 in arch
[AROS.git] / compiler / include / graphics / layers.h
blob13afc0dfe9de3673f66c47e0081516662d6d2d74
1 #ifndef GRAPHICS_LAYERS_H
2 #define GRAPHICS_LAYERS_H
4 /*
5 Copyright © 1995-2011, The AROS Development Team. All rights reserved.
6 $Id$
8 Desc: Layer description
9 Lang: english
12 #include <exec/semaphores.h>
13 #include <graphics/gfx.h>
14 #include <graphics/layersext.h>
16 struct Layer_Info
18 struct Layer * top_layer;
19 struct Layer * check_lp;
20 struct ClipRect * obs;
21 struct ClipRect * FreeClipRects;
23 LONG PrivateReserve1;
24 LONG PrivateReserve2;
26 struct SignalSemaphore Lock;
27 struct MinList gs_Head;
29 WORD PrivateReserve3;
30 VOID * PrivateReserve4;
32 UWORD Flags;
33 BYTE fatten_count;
34 BYTE LockLayersCount;
35 WORD PrivateReserve5;
36 VOID * BlankHook;
37 VOID * LayerInfo_extra;
40 #define NEWLAYERINFO_CALLED 1
42 #define LAYERSIMPLE (1<<0)
43 #define LAYERSMART (1<<1)
44 #define LAYERSUPER (1<<2)
45 #define LAYERUPDATING (1<<4)
46 #define LAYERBACKDROP (1<<6)
47 #define LAYERREFRESH (1<<7)
48 #define LAYER_CLIPRECTS_LOST (1<<8)
49 #define LAYERIREFRESH (1<<9)
50 #define LAYERIREFRESH2 (1<<10)
52 #define LAYERS_BACKFILL ((struct Hook *)0)
53 #define LAYERS_NOBACKFILL ((struct Hook *)1)
55 /* LayerInfo Flag */
57 #define LIFLG_SUPPORTS_OFFSCREEN_LAYERS (1 << 8) /* Same flag as AmigaOS hack PowerWindowsNG */
59 /* Backfill hook message */
60 struct BackFillMessage
62 struct Layer *Layer;
63 struct Rectangle Bounds;
64 LONG OffsetX;
65 LONG OffsetY;
68 #endif /* GRAPHICS_LAYERS_H */