CCMenuAdvanced
CCMenuAdvanced copied to clipboard
Better CCMenu that can be easily used as a patch to CCMenu, not only as a subclass.
Results
2
CCMenuAdvanced issues
Sort by
recently updated
recently updated
newest added
Content size is currently calculated like this (for vertical alignment). ``` float width = 0.0; float height = 0.0; // calculate contentSize, CCMenuItem *item = nil; CCARRAY_FOREACH(children_, item) { height...
Right now only horizontal & verticall alignment is setting CCMenuAdvanced's contentSize. To change full behavior of CCMenu into CCMenuAdvanced rows and columns alignment methods should be changed. It's pretty simple,...