Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions cocos/2d/CCMenu.h
Original file line number Diff line number Diff line change
Expand Up @@ -150,10 +150,10 @@ class CC_DLL Menu : public Layer
virtual bool isEnabled() const { return _enabled; }

/**
* Set whether the menu is visible. If set false, interacting with the menu
* Set whether the menu is enabled. If set to false, interacting with the menu
* will have no effect.
* The default value is true, a menu is default to visible.
*@param value true if menu is to be enabled, false if menu is to be disabled.
* The default value is true, a menu is enabled by default.
* @param value true if menu is to be enabled, false if menu is to be disabled.
*/
virtual void setEnabled(bool value) { _enabled = value; };

Expand Down