37#define FXMAPALL(func) {MKUINT(MINKEY,MINTYPE),MKUINT(MAXKEY,MAXTYPE),&func}
42#define FXMAPKEY(key,func) {MKUINT(key,MINTYPE),MKUINT(key,MAXTYPE),&func}
105 long onUpdate(FXObject*, FXSelector,
void*);
112 MFXBaseObject(FXApp* a, FXObject* tgt = NULL, FXSelector sel = 0);
169 flags &= ~FLAG_ENABLED;
190 virtual void save(FXStream& store)
const;
193 virtual void load(FXStream& store);
void setSelector(FXSelector sel)
set the selector
virtual ~MFXBaseObject()
dtor
virtual void save(FXStream &store) const
save object to stream
virtual void enable()
enable us
virtual void detach()
detach resource
FXuint getUserDataLen()
get user daat length
FXbool isEnabled()
are we enabled?
FXObject * getTarget()
get the target
virtual void create()
create resource
virtual void setReadonly(FXbool mode=TRUE)
set modifiable mode
virtual void destroy()
destroy resource
void * getUserData()
get user data
long onCmdEnable(FXObject *, FXSelector, void *)
void setUserDataLen(FXuint len)
set the user data length
virtual void disable()
disable us
void setTarget(FXObject *tgt)
set the target
FXApp * getApp()
application pointer
long onUpdate(FXObject *, FXSelector, void *)
long onCmdDisable(FXObject *, FXSelector, void *)
virtual FXbool isReadonly()
are we modifiable
void setUserData(void *d)
set user data
FXSelector getSelector()
get the message
virtual void load(FXStream &store)
load object from stream