cocos2d-x  2.2.6
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
UIHelper Class Reference

#include <UIHelper.h>

Static Public Member Functions

static WidgetseekWidgetByTag (Widget *root, int tag)
 @ More...
 
name value.

Finds a widget whose name equals to param name from root widget.

RelativeLayout will call this method to find the widget witch is needed.

Parameters
rootwidget which will be seeked.
Returns
finded result.
static WidgetseekWidgetByName (Widget *root, const char *name)
static WidgetseekWidgetByRelativeName (Widget *root, const char *name)
static WidgetseekActionWidgetByActionTag (Widget *root, int tag)

Member Function Documentation

static Widget*
seekActionWidgetByActionTag
( Widget root,
int  tag 
)
static
static Widget* seekWidgetByName ( Widget root,
const char *  name 
)
static
static Widget*
seekWidgetByRelativeName
( Widget root,
const char *  name 
)
static
static Widget* seekWidgetByTag ( Widget root,
int  tag 
)
static

@

@

@


The documentation for this class was generated from the following file: