#import <CCMenuItem.h>
Inherits CCMenuItemLabel.

Public Member Functions | |
| (id) | - initFromString:charMapFile:itemWidth:itemHeight:startCharMap:target:selector: |
Static Public Member Functions | |
| (id) | + itemFromString:charMapFile:itemWidth:itemHeight:startCharMap: |
| (id) | + itemFromString:charMapFile:itemWidth:itemHeight:startCharMap:target:selector: |
A CCMenuItemAtlasFont Helper class that creates a MenuItemLabel class with a LabelAtlas
Definition at line 138 of file CCMenuItem.h.
| - (id) initFromString: | (NSString *) | value | ||
| charMapFile: | (NSString *) | charMapFile | ||
| itemWidth: | (int) | itemWidth | ||
| itemHeight: | (int) | itemHeight | ||
| startCharMap: | (char) | startCharMap | ||
| target: | (id) | rec | ||
| selector: | (SEL) | cb | ||
initializes a menu item from a string and atlas with a target/selector
| + (id) itemFromString: | (NSString *) | value | ||
| charMapFile: | (NSString *) | charMapFile | ||
| itemWidth: | (int) | itemWidth | ||
| itemHeight: | (int) | itemHeight | ||
| startCharMap: | (char) | startCharMap | ||
creates a menu item from a string and atlas with a target/selector
| + (id) itemFromString: | (NSString *) | value | ||
| charMapFile: | (NSString *) | charMapFile | ||
| itemWidth: | (int) | itemWidth | ||
| itemHeight: | (int) | itemHeight | ||
| startCharMap: | (char) | startCharMap | ||
| target: | (id) | rec | ||
| selector: | (SEL) | cb | ||
creates a menu item from a string and atlas. Use it with MenuItemToggle