|
cocos2d-iphone
1.0.1
Improved Cocos2D API Reference (iOS version) for Kobold2D developers
|
#include <CCMenuItem.h>
Inheritance diagram for CCMenuItemAtlasFont:
Collaboration diagram for CCMenuItemAtlasFont:Public Member Functions | |
| id | initFromString:charMapFile:itemWidth:itemHeight:startCharMap:target:selector: (NSString *value,[charMapFile] NSString *charMapFile,[itemWidth] int itemWidth,[itemHeight] int itemHeight,[startCharMap] char startCharMap,[target] id rec,[selector] SEL cb) |
Static Public Member Functions | |
| id | itemFromString:charMapFile:itemWidth:itemHeight:startCharMap: (NSString *value,[charMapFile] NSString *charMapFile,[itemWidth] int itemWidth,[itemHeight] int itemHeight,[startCharMap] char startCharMap) |
| id | itemFromString:charMapFile:itemWidth:itemHeight:startCharMap:target:selector: (NSString *value,[charMapFile] NSString *charMapFile,[itemWidth] int itemWidth,[itemHeight] int itemHeight,[startCharMap] char startCharMap,[target] id rec,[selector] SEL cb) |
A CCMenuItemAtlasFont Helper class that creates a MenuItemLabel class with a LabelAtlas
| id CCMenuItemAtlasFont::initFromString:charMapFile:itemWidth:itemHeight:startCharMap:target:selector: | ( | NSString * | value, |
| [charMapFile] NSString * | charMapFile, | ||
| [itemWidth] int | itemWidth, | ||
| [itemHeight] int | itemHeight, | ||
| [startCharMap] char | startCharMap, | ||
| [target] id | rec, | ||
| [selector] SEL | cb | ||
| ) | [virtual] |
initializes a menu item from a string and atlas with a target/selector
| id CCMenuItemAtlasFont::itemFromString:charMapFile:itemWidth:itemHeight:startCharMap: | ( | NSString * | value, |
| [charMapFile] NSString * | charMapFile, | ||
| [itemWidth] int | itemWidth, | ||
| [itemHeight] int | itemHeight, | ||
| [startCharMap] char | startCharMap | ||
| ) | [static, virtual] |
creates a menu item from a string and atlas with a target/selector
| id CCMenuItemAtlasFont::itemFromString:charMapFile:itemWidth:itemHeight:startCharMap:target:selector: | ( | NSString * | value, |
| [charMapFile] NSString * | charMapFile, | ||
| [itemWidth] int | itemWidth, | ||
| [itemHeight] int | itemHeight, | ||
| [startCharMap] char | startCharMap, | ||
| [target] id | rec, | ||
| [selector] SEL | cb | ||
| ) | [static, virtual] |
creates a menu item from a string and atlas. Use it with MenuItemToggle