ZFFramework
 
Loading...
Searching...
No Matches
ZFUIViewUtil.h
Go to the documentation of this file.
1
5
6#ifndef _ZFI_ZFUIViewUtil_h_
7#define _ZFI_ZFUIViewUtil_h_
8
9#include "ZFUIView.h"
10
67#endif // #ifndef _ZFI_ZFUIViewUtil_h_
68
_ZFT_t_zfbool zfbool
bool type
Definition ZFCoreTypeDef_CoreType.h:103
#define zftrue
bool true type
Definition ZFCoreTypeDef_CoreType.h:107
#define zffalse
bool false type
Definition ZFCoreTypeDef_CoreType.h:111
#define ZFMP_OUT(ParamType, paramName)
see ZFMP_IN
Definition ZFMethod.h:111
#define ZFMP_IN_OPT(ParamType, paramName, DefaultValue)
see ZFMP_IN
Definition ZFMethod.h:108
#define ZFMP_IN(ParamType, paramName)
macro to wrap param types for ZFMETHOD_INLINE_0 series
Definition ZFMethod.h:105
#define ZFMETHOD_FUNC_DECLARE_2(ZFLIB_, ReturnType, MethodName, ZFMP_0, ZFMP_1)
see ZFMETHOD_FUNC_DECLARE_0
Definition ZFMethodFuncDeclare.h:763
#define ZFMETHOD_FUNC_DECLARE_3(ZFLIB_, ReturnType, MethodName, ZFMP_0, ZFMP_1, ZFMP_2)
see ZFMETHOD_FUNC_DECLARE_0
Definition ZFMethodFuncDeclare.h:910
#define ZFMETHOD_FUNC_DECLARE_4(ZFLIB_, ReturnType, MethodName, ZFMP_0, ZFMP_1, ZFMP_2, ZFMP_3)
see ZFMETHOD_FUNC_DECLARE_0
Definition ZFMethodFuncDeclare.h:1065
#define ZFMETHOD_FUNC_DECLARE_1(ZFLIB_, ReturnType, MethodName, ZFMP_0)
see ZFMETHOD_FUNC_DECLARE_0
Definition ZFMethodFuncDeclare.h:624
#define ZF_NAMESPACE_BEGIN_REGISTER(NameSpace, ParentNameSpace)
begin and register namespace
Definition ZFNamespace.h:48
#define ZF_NAMESPACE_GLOBAL_BEGIN
begin namespace ZFFramework
Definition ZFNamespace.h:97
#define ZF_NAMESPACE_END(NameSpace)
end namespace
Definition ZFNamespace.h:60
#define ZF_NAMESPACE_GLOBAL_END
end namespace ZFFramework
Definition ZFNamespace.h:98
#define ZF_NAMESPACE_GLOBAL
namespace of ZFFramework
Definition ZFNamespace.h:96
#define ZFLIB_ZFUIKit
used to export symbols
Definition ZFUIKitDef.h:16
base class of all UI views
2D point
Definition ZFUITypeDef.h:62
2D rectangle
Definition ZFUITypeDef.h:636
base class of all UI views
Definition ZFUIView.h:93
see zfany
Definition zfany.h:106
Definition ZFUIViewUtil.h:12
zfbool isChildOf(ZFUIView *view, ZFUIView *parentToCheck)
check whether this view is child of specified view (recursively)
void viewRectToParentT(ZFUIRect &rect, ZFUIView *view, ZFUIView *parent)
check rect of view relative to parent, return ZFUIRectZero if not child of parent or invalid
zfanyT< ZFUIView > viewRoot(ZFUIView *view)
recursive find the root ZFUIView parent of this view, may return self if no parent
zfanyT< ZFUIView > viewAtPos(ZFUIView *view, const ZFUIPoint &pos, zfbool filterDisabledView=(_ZFT_t_zffalse), zfbool filterInternalView=(_ZFT_t_zftrue))
recursively check child at position (relative to the view)
ZFUIRect viewRectToParent(ZFUIView *view, ZFUIView *parent)
see viewRectToParentT