cocos2d-x  3.0rc1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
CCMenuItem.h File Reference
#include <functional>
#include "CCNode.h"
#include "CCProtocols.h"
#include "CCArray.h"

Classes

class  MenuItem
 MenuItem base class. More...
 
class  MenuItemLabel
 An abstract class for "label" MenuItemLabel items Any Node that supports the LabelProtocol protocol can be added. More...
 
class  MenuItemAtlasFont
 A MenuItemAtlasFont Helper class that creates a MenuItemLabel class with a LabelAtlas. More...
 
class  MenuItemFont
 A MenuItemFont Helper class that creates a MenuItemLabel class with a Label. More...
 
class  MenuItemSprite
 MenuItemSprite accepts Node<RGBAProtocol> objects as items. More...
 
class  MenuItemImage
 MenuItemImage accepts images as items. More...
 
class  MenuItemToggle
 A MenuItemToggle A simple container class that "toggles" it's inner items The inner items can be any MenuItem. More...
 

Namespaces

 cocos2d
 Add deprecated global functions and variables here.
 

Constant Groups

 cocos2d
 Add deprecated global functions and variables here.
 

Macros

#define kItemSize   32

Typedefs

typedef std::function< void(Ref *)> ccMenuCallback

Macro Definition Documentation

#define kItemSize   32
var kItemSize   32
local kItemSize   32