00001
00002
00003
00004
00005
00008
00011
00012 #define _CTRLBUTTON_H_
00015 #include "control.h"
00018
00019
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_