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

# select.h

Go to the documentation of this file.

    00001
    00002
    00003 //
    00004 //      SELECT.H                                        (c)     YoY'01                                          WEB: www.aestesis.org
    00005 //
    00008 #include                                                "elektrodef.h"
    00011 #ifndef                                                 _SELECT_H_
    00012 #define                                                 _SELECT_H_
    00015 #include                                                "control.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 #define                                                 guidSELECT                                              (Aselect::CI.guid)
    00025
    00028
    00029 class Aselect : public Aobject
    00030 {
    00031 public:
    00032         ELIBOBJ
    00033
    00034         EDLL                                            Aselect                                                 (char *name, Aobject *L, int x, int y, int nx, int ny, Aresobj *o, int ow, int oy);
    00035         //EDLL                                          Aselect                                                 (char *name, AeffectFront *L, int x, int y, int type);
    00036         EDLL virtual                            ~Aselect                                                ();
    00037
    00038         EDLL virtual bool                       mouse                                                   (int x, int y, int state, int event);
    00039
    00040         EDLL virtual void                       set                                                             (int n);
    00041         EDLL virtual int                        get                                                             ();
    00042
    00043         EDLL virtual bool                       sequence                                                (int control, int value);
    00044
    00045         EDLL virtual void                       paint                                                   (Abitmap *b);
    00046
    00047
    00048         Acontrol                                        *control;
    00049
    00050 private:
    00051
    00052         int                                                     mode;
    00053         Abitmap                                         *bmp;
    00054         int                                                     ow,oh;
    00055         int                                                     nx,ny;
    00056         int                                                     press;
    00057         int                                                     over;
    00058 };
    00059
    00062 #endif                                                  //_SELECT_H_