00001 00002 00003 // 00004 // LAYER.H (c) YoY'99 WEB: www.aestesis.org 00005 // 00008 #ifndef _LAYER_H_ 00009 #define _LAYER_H_ 00012 #include <windows.h> 00013 #include "surface.h" 00016 00017 // If you use directly the variables in the class API, it's at your own risks. Prefer the methods... 00018 00021 00022 #define guidLAYER (Alayer::CI.guid) 00023 00026 00027 class Alayer : public Asurface 00028 { 00029 public: 00030 ADLL static ACI CI; 00031 virtual ACI *getCI () { return &CI; } 00032 00033 ADLL Alayer (char *name, class Alayer *L, int x, int y, int w, int h) : Asurface(name, L, x, y, w, h) { } 00034 }; 00035 00038 #endif //_LAYER_H_