Projects > cpp > Issues > Bug #4541

We are migrating issue tracker of Cocos2d-x Project to Github, please create new issue there. Thanks.

Create Issue on Github

UI addNode vs addChild

Bug #4541 [Closed]
ricardo 2014-03-25 02:01 . Updated over 2 years ago

As previously discussed, UIWidget needs to use a kind of "protected" node for its internal use, and it shouldn't override addChild.

eg:

addProtectedChild, removeProtectedChild, etc... to add "internals" widgets into another widget.

ricardo 2014-03-25 02:01

This features has been discussed in the email list.

zhangxm 2014-03-25 07:22
  • Assignee set to Nutty
  • Priority changed from Normal to High
dumganhar 2014-03-25 08:35
  • Status changed from New to Closed
  • % Done changed from 0 to 100

Applied in changeset commit:53393ef940f6f6096d80bb5f8be717fd5099bc1e.

Atom PDF

Status:Closed
Start date:2014-03-25
Priority:High
Due date:
Assignee:Nutty
% Done:

100%

Category:-
Target version:3.0-rc1

Sign up for our newsletter to keep up with the latest developments, releases and updates for Cocos2d-x.