Main Page Class Hierarchy Compound List File List Compound Members File Members

# surface.h

Go to the documentation of this file.

    00001
    00002
    00003 //
    00004 //      SURFACE.H                                       (c)     YoY'99                                          WEB: www.aestesis.org
    00005 //
    00008 #ifndef                                                 _SURFACE_H_
    00009 #define                                                 _SURFACE_H_
    00012 #include                                                <windows.h>
    00013 #include                                                "object.h"
    00014 #include                                                "bitmap.h"
    00015 #include                                                "section.h"
    00018
    00019 //      If you use directly the variables in the class API, it's at your own risks. Prefer the methods...
    00020
    00023
    00024 class Asurface : public Aobject
    00025 {
    00026 public:
    00027         ALIBOBJ
    00028
    00029         enum
    00030         {
    00031                                                                 stateLAST=Anode::stateLAST
    00032         };
    00033
    00034         class Abitmap                           *bitmap;
    00035
    00036         ADLL                                            Asurface                                                (char *name, class Aobject *L, int x, int y, int w, int h);
    00037         ADLL virtual                            ~Asurface                                               ();
    00038
    00039         ADLL virtual void                       paint                                                   (Abitmap *b);
    00040
    00041         ADLL virtual bool                       size                                                    (int w, int h);
    00042
    00043 private:
    00044
    00045 };
    00046
    00049 #endif                                                  //_SURFACE_H_