add a new utility function to capture the screen
replace tab with spaces; remove the 'flipped' parameter;
Merge branch 'screenshot' of github.com:visiblelight/cocos2d-x into screenshot
The target filename shuld use a writable path.
Merge branch 'screenshot' of github.com:visiblelight/cocos2d-x into screenshot
Now it shoudl run fine on iOS
Merge branch 'screenshot' of github.com:visiblelight/cocos2d-x into screenshot
replace more tabs with spaces to uniform the code styles.
replace std::function with const std::function&
fix the compile failure on win32.
move the utility from Renderer to UtilsHelper
move the method from ccUtils to Director
update the calculation of device pixel resolution
no need to use a singleton inside Director class
use shared_ptr for better readibility
remove the parameter rect
remove unused variables
new empty line appended to the file end
fix a typo
fixing typos