CCMenuItemImage accepts images as items. The images has 3 different states:
- unselected image
- selected image
- disabled image For best results try that all images are of the same size
#include <Geode/cocos/menu_nodes/CCMenuItem.h>
CCMenuItemImage accepts images as items. The images has 3 different states:
creates a menu item with a normal and selected image
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
Creates an CCMenuItemImage.
initializes a menu item with a normal, selected and disabled image with target/selector
sets the sprite frame for the normal image
sets the sprite frame for the selected image
sets the sprite frame for the disabled image