LEOHandlerID
IntroductionA data type used for identifying handlers without tedious string comparisons. TypedefsLEOHandlerIDtypedef uint32_t LEOHandlerID; DiscussionEvery handler name maps to a handler ID. Since handler names are case-insisensitive, "mouseUp", "MOUSEUP" and "mouseup" would all map to the same handler ID. Not unlike a "selector" in Objective C. Macro DefinitionskLEOHandlerIDINVALID#define kLEOHandlerIDINVALID UINT32_MAX DiscussionIndicate that a handler ID variable has not been set yet. |