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

FXBaseObject.h File Reference

#include <fox/FXObject.h>

Go to the source code of this file.

Namespaces

namespace  FXEX

Defines

#define FXMAPALL(func)   {MKUINT(MINKEY,MINTYPE),MKUINT(MAXKEY,MAXTYPE),&func}
#define FXMAPKEY(key, func)   {MKUINT(key,MINTYPE),MKUINT(key,MAXTYPE),&func}


Define Documentation

#define FXMAPALL func    {MKUINT(MINKEY,MINTYPE),MKUINT(MAXKEY,MAXTYPE),&func}
 

Define so that all types and all id's can go to a specific function.

This is particularily useful if you just want to forward the event to a target but not specifically use the onDefault method.

Note: if FXApp* is not specified, then FXApp::Instance() is used.

Definition at line 38 of file FXBaseObject.h.

#define FXMAPKEY key, func    {MKUINT(key,MINTYPE),MKUINT(key,MAXTYPE),&func}
 

Define so that we can use it to 'redirect' all unhandled events, of a specific key/ID.

Definition at line 43 of file FXBaseObject.h.