ZFFramework
 
Loading...
Searching...
No Matches
ZFUIKeyEvent.h
Go to the documentation of this file.
1
5
6#ifndef _ZFI_ZFUIKeyEvent_h_
7#define _ZFI_ZFUIKeyEvent_h_
8
9#include "ZFUIEvent.h"
10#include "ZFUIKeyCode.h"
12
13// ============================================================
17zffinal zfclass ZFLIB_ZFUIKit ZFUIKeyEvent : zfextend ZFUIEvent {
18 ZFOBJECT_DECLARE(ZFUIKeyEvent, ZFUIEvent)
19
20public:
37
38protected:
41};
42
44#endif // #ifndef _ZFI_ZFUIKeyEvent_h_
45
#define zffinal
dummy macro shows that a method or class is designed must not to be overrided
Definition ZFCoreTypeDef_ClassType.h:63
#define zfextend
dummy macro shows class inherit from another
Definition ZFCoreTypeDef_ClassType.h:53
#define zfoverride
dummy macro shows that method override parent's method
Definition ZFCoreTypeDef_ClassType.h:58
#define ZF_IN_OUT
dummy macro that shows the param used as required input and output
Definition ZFCoreTypeDef_ClassType.h:196
_zft_zfflags zfflags
used to hold flags, ensured 32 bit, ensured unsigned
Definition ZFCoreTypeDef_CoreType.h:211
_zft_zfidentity zfidentity
identity type, ensured at least 32 bit, ensured unsigned
Definition ZFCoreTypeDef_CoreType.h:225
zft_zfstring< zfchar > zfstring
see zft_zfstring
Definition ZFCoreTypeDef_StringType.h:15
#define ZF_NAMESPACE_GLOBAL_BEGIN
begin namespace ZFFramework
Definition ZFNamespace.h:97
#define ZF_NAMESPACE_GLOBAL_END
end namespace ZFFramework
Definition ZFNamespace.h:98
#define zfclass
same as class, shows that this class is a ZFObject type
Definition ZFObjectClassTypeFwd.h:38
#define ZFOBJECT_DECLARE(ChildClass, SuperClass,...)
necessary for every class inherit from ZFObject
Definition ZFObjectDeclare.h:126
base class of all ui event
key code define
v_ZFUIKeyCode::ZFEnumType ZFUIKeyCode
see v_ZFUIKeyCode
Definition ZFUIKeyCode.h:294
v_ZFUIKeyAction::ZFEnumType ZFUIKeyAction
see v_ZFUIKeyAction
Definition ZFUIKeyCode.h:25
#define ZFLIB_ZFUIKit
used to export symbols
Definition ZFUIKitDef.h:16
ZFUIKeyCode keyCode
key code
Definition ZFUIKeyEvent.h:32
virtual void objectInfoImplAppend(zfstring &ret)
see objectInfo
ZFUIKeyAction keyAction
action
Definition ZFUIKeyEvent.h:28
zfidentity keyId
a unique value to differ key event from each other
Definition ZFUIKeyEvent.h:24
zfflags keyCodeRaw
raw key code depends on implementation, try not to abuse it
Definition ZFUIKeyEvent.h:36