{$ifndef GRAPHICS_LAYERS_H}
Const GRAPHICS_LAYERS_H = 26;
{$ifndef EXEC_LISTS_H;incl"exec/lists.h";endif}
{$ifndef EXEC_SEMAPHORES_H;incl"exec/semaphores.h";endif}
{$ifndef GRAPHICS_CLIP_H;incl"graphics/clip.h";endif}
Const LAYERSIMPLE = 1;
      LAYERSMART = 2;
      LAYERSUPER = 4;
      LAYERUPDATING = $10;
      LAYERBACKDROP = $40;
      LAYERREFRESH = $80;
      LAYER_CLIPRECTS_LOST = $100;
      LMN_REGION = -1;
      NEWLAYERINFO_CALLED = 1;
      ALERTLAYERSNOMEM = $83010000;
Type p_Layer_Info = ^Layer_Info;
     Layer_Info = record
                    top_layer, check_lp, obs: p_Layer;
                    FreeClipRects: MinList;
                    Lock:  SignalSemaphore;
                    gs_Head: List;
                    longreserved: Long;
                    Flags: Word;
                    fatten_count, LockLayersCount: Short;
                    LayerInfo_extra_size: Word;
                    blitbuff: ^integer;
                    LayerInfo_extra: Ptr
                  end;
{$endif}
