added concrete implementations of putc(), getc(), getchar() and gets()
[tangerine.git] / compiler / include / graphics / layers.h
blob34575e9e50edc0c114d49651f64569f3b8118cc9
1 #ifndef GRAPHICS_LAYERS_H
2 #define GRAPHICS_LAYERS_H
4 /*
5 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
6 $Id$
8 Desc: Layer description
9 Lang: english
12 #ifndef EXEC_LISTS_H
13 # include <exec/lists.h>
14 #endif
15 #ifndef EXEC_SEMAPHORES_H
16 # include <exec/semaphores.h>
17 #endif
19 struct Layer_Info
21 struct Layer * top_layer;
22 struct Layer * check_lp;
23 struct ClipRect * obs;
24 struct ClipRect * FreeClipRects;
26 LONG PrivateReserve1;
27 LONG PrivateReserve2;
29 struct SignalSemaphore Lock;
30 struct MinList gs_Head;
32 WORD PrivateReserve3;
33 VOID * PrivateReserve4;
35 UWORD Flags;
36 BYTE fatten_count;
37 BYTE LockLayersCount;
38 WORD PrivateReserve5;
39 VOID * BlankHook;
40 VOID * LayerInfo_extra;
43 #define NEWLAYERINFO_CALLED 1
45 #define LAYERSIMPLE (1<<0)
46 #define LAYERSMART (1<<1)
47 #define LAYERSUPER (1<<2)
48 #define LAYERUPDATING (1<<4)
49 #define LAYERBACKDROP (1<<6)
50 #define LAYERREFRESH (1<<7)
51 #define LAYER_CLIPRECTS_LOST (1<<8)
52 #define LAYERIREFRESH (1<<9)
53 #define LAYERIREFRESH2 (1<<10)
54 #define LAYER_ROOT_LAYER (1<<14)
56 #define LAYERS_BACKFILL ((struct Hook *)0)
57 #define LAYERS_NOBACKFILL ((struct Hook *)1)
59 /* LayerInfo Flag */
61 #define LIFLG_SUPPORTS_OFFSCREEN_LAYERS (1 << 8) /* Same flag as AmigaOS hack PowerWindowsNG */
63 #endif /* GRAPHICS_LAYERS_H */