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

# ctrlButton.h

Go to the documentation of this file.

    00001
    00002
    00003 //
    00004 //      CTRLBUTTON.H                            (c)     YoY'01                                          WEB: www.aestesis.org
    00005 //
    00008 #include                                                "elektrodef.h"
    00011 #ifndef                                                 _CTRLBUTTON_H_
    00012 #define                                                 _CTRLBUTTON_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                                                 guidCTRLBUTTON                                  (ActrlButton::CI.guid)
    00025
    00028
    00029 class ActrlButton : public Abutton
    00030 {
    00031 public:
    00032         ELIBOBJ
    00033
    00034         EDLL                                            ActrlButton                                             (char *name, Aobject *L, int x, int y, int w, int h, Aresobj *o, int type=btBITMAP);
    00035         EDLL virtual                            ~ActrlButton                                    ();
    00036
    00037         EDLL bool                                       mouse                                                   (int x, int y, int state, int event);
    00038         EDLL bool                                       notify                                                  (Anode *o, int event, dword p);
    00039
    00040         EDLL bool                                       get                                                             ();
    00041         EDLL void                                       set                                                             (bool value);
    00042
    00043         Acontrol                                        *control;
    00044 };
    00045
    00048
    00051 #endif                                                  //_CTRLBUTTON_H_