CCMenuItemSprite accepts CCNode<CCRGBAProtocol> objects as items. The images has 3 different states:
- unselected image
- selected image
- disabled image
#include <Geode/cocos/menu_nodes/CCMenuItem.h>
Since v0.8.0
CCMenuItemSprite accepts CCNode<CCRGBAProtocol> objects as items. The images has 3 different states:
creates a menu item with a normal, selected and disabled image
creates a menu item with a normal and selected image with target/selector
creates a menu item with a normal,selected and disabled image with target/selector
the image used when the item is not selected
the image used when the item is not selected
the image used when the item is selected
the image used when the item is selected
the image used when the item is disabled
the image used when the item is disabled
initializes a menu item with a normal, selected and disabled image with target/selector
Since v0.99.5
the image used when the item is not selected
the image used when the item is selected
the image used when the item is disabled