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

# segment.h

Go to the documentation of this file.

    00001
    00002
    00003 //
    00004 //      SEGMENT.H                                       (c)     YoY'01                                          WEB: www.aestesis.org
    00005 //
    00008 #ifndef                                                 _SEGMENT_H_
    00009 #define                                                 _SEGMENT_H_
    00012 #include                                                <stdio.h>
    00013 #include                                                "types.h"
    00014 #include                                                "object.h"
    00017
    00018 //      If you use directly the variables in the class API, it's at your own risks. Prefer the methods...
    00019
    00022
    00023 #define                                                 guidSEGMENT                                             (Asegment::CI.guid)
    00024
    00027
    00028 class Asegment : public Aobject
    00029 {
    00030         ALIBOBJ
    00031
    00032         ADLL                                            Asegment                                                (char *name, Aobject *e, int x, int y, int digits, int min, int max, class Afont *font, dword color, float sensibility);
    00033         ADLL virtual                            ~Asegment                                               ();
    00034
    00035         ADLL virtual bool                       mouse                                                   (int x, int y, int state, int event);
    00036         ADLL virtual void                       paint                                                   (Abitmap *b);
    00037
    00038         ADLL virtual void                       set                                                             (int value);
    00039         ADLL virtual int                        get                                                             ();
    00040
    00041         class Afont                                     *font;
    00042         dword                                           color;
    00043
    00044         bool                                            test;
    00045         int                                                     oy;
    00046         int                                                     ov;
    00047         int                                                     value;
    00048         int                                                     digits;
    00049         int                                                     min;
    00050         int                                                     max;
    00051
    00052         float                                           sensibility;
    00053 };
    00054
    00057 #endif                                                  //_SEGMENT_H_