mirror of https://github.com/axmolengine/axmol.git
issue #3258: MenuItemFont has empty argument create function now.
This commit is contained in:
parent
6f67447b5e
commit
b55e8f17c7
|
@ -246,7 +246,7 @@ class CC_DLL MenuItemFont : public MenuItemLabel
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
/** creates a menu item from a string without target/selector. To be used with MenuItemToggle */
|
/** creates a menu item from a string without target/selector. To be used with MenuItemToggle */
|
||||||
static MenuItemFont * create(const std::string& value);
|
static MenuItemFont * create(const std::string& value = "");
|
||||||
/** creates a menu item from a string with a target/selector */
|
/** creates a menu item from a string with a target/selector */
|
||||||
CC_DEPRECATED_ATTRIBUTE static MenuItemFont * create(const char *value, Object* target, SEL_MenuHandler selector);
|
CC_DEPRECATED_ATTRIBUTE static MenuItemFont * create(const char *value, Object* target, SEL_MenuHandler selector);
|
||||||
/** creates a menu item from a string with a target/selector */
|
/** creates a menu item from a string with a target/selector */
|
||||||
|
|
Loading…
Reference in New Issue