1.如何清空流重的信息
如: std::stringstream ss;
ss << "test";
std::string strText = ss.str(); // 此时strText 中为"test"
ss.str("");
strText = ss.str(); // 此时strText中为"" 被清空了
2.如何播放动画
IBitmaps* pBmp=NULL;
pBmp = GetDevice()->FindBitmaps(&(stResourceLocation("data//ItemUI.gl",3,0)));
if ( pBmp )
{
pBmp->RenderAni(cellRect.left-56,cellRect.top-56,xtimeGetTime(),-1,Blend_Null);
}