ZFFramework
 
Loading...
Searching...
No Matches
ZFUIViewUtil.h File Reference

utils for ZFUIView More...

#include "ZFUIView.h"

Go to the source code of this file.

Namespaces

namespace  ZFUIViewUtil
 

 

Functions

zfanyT< ZFUIViewZFUIViewUtil::viewRoot (ZFUIView *view)
 recursive find the root ZFUIView parent of this view, may return self if no parent
 
zfbool ZFUIViewUtil::isChildOf (ZFUIView *view, ZFUIView *parentToCheck)
 check whether this view is child of specified view (recursively)
 
zfanyT< ZFUIViewZFUIViewUtil::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)
 
void ZFUIViewUtil::viewRectToParentT (ZFUIRect &rect, ZFUIView *view, ZFUIView *parent=(zft_zfnull))
 check rect of view relative to parent, return ZFUIRectZero if not child of parent or invalid
 
ZFUIRect ZFUIViewUtil::viewRectToParent (ZFUIView *view, ZFUIView *parent=(zft_zfnull))
 see viewRectToParentT
 

Detailed Description

utils for ZFUIView