Projects > cpp > Issues > Feature #611

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

Create Issue on Github

Add some methods in CCMenuItemLabel & CCMenuItemToggle for lua

Feature #611 [Closed]
zhangxm 2011-07-13 01:15 . Updated over 4 years ago
  1. CCMenuItem
    static CCMenuItemLabel*itemWithLabel(CCNode* lablel);
    bool initWithLabel(CCNode* label);

  2. CCMenuItemToggle
    static CCMenuItemToggle*itemWithToggle(CCMenuItem* item);
    bool initWithToggle(CCMenuItem* item);
    virtual void addSubItem(CCMenuItem* item);

walzer@cocos2d-x.org 2011-07-13 19:01
  • Target version changed from 9 to cocos2d-1.0.1-x-0.9.1
zhangxm 2011-07-17 18:42
  • Status changed from New to In Progress
  • Assignee set to zhangxm
zhangxm 2011-07-17 20:02
  • Status changed from In Progress to Resolved
  • % Done changed from 0 to 100

Applied in changeset commit:92fe1b45f470afcc699ba0cf483963a50c659a56.

walzer@cocos2d-x.org 2011-07-31 19:35
  • Subject changed from Add some functions for lua to Add some methods in CCMenuItemLabel & CCMenuItemToggle for lua
  • Status changed from Resolved to Closed
walzer@cocos2d-x.org 2012-05-25 08:06
  • Project changed from cocos2d-x to cpp
  • Category deleted (5)
  • Target version deleted (cocos2d-1.0.1-x-0.9.1)

Atom PDF

Status:Closed
Start date:2011-07-13
Priority:Normal
Due date:
Assignee:zhangxm
% Done:

100%

Category:-
Target version:-

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