摘要: 3.20 内存及效率的一些总结3.21 设置竖屏1、androidAndroidManifest.xml文件中,screenOrientation="landscape" 为横屏,screenOrientation="portrait"为竖屏2、IOS-(NSUInteger)supportedInterfaceOrientations{ #ifdef__IPHONE_6_0 //横屏显示 //returnUIInterfaceOrientationMaskLandscape; //竖屏显示 returnUIInterfaceOrientationMas 阅读全文
posted @ 2013-12-05 00:21 解放1949 阅读(295) 评论(0) 推荐(0) 编辑
摘要: CCProgressTimer * pross = CCProgressTimer::create(CCSprite::create("Icon.png")); pross->setPosition(ccp(100,180)); //设置进度条的样式 扇形 pross->setType( kCCProgressTimerTypeRadial); //设置进度值范围[0,100] pross->setPercentage(100); //反进度计时 pross->setReverseProgress... 阅读全文
posted @ 2013-12-05 00:03 解放1949 阅读(367) 评论(0) 推荐(0) 编辑