创建 gif
1.動態創建
<Container name="layLoading"/>
??if (m_pLoadingGif == NULL)
??{
???m_pLoadingGif = new CGifCtrlUI();
???if (m_pLoadingGif != NULL)
???{
????m_pLoadingGif->SetGif(L"loading.gif");
????m_pLayLoading->Add(m_pLoadingGif);
???}
??}
2.配置在xml中
? <Gif name="layLoading" gif="loading.gif"/>
轉載于:https://www.cnblogs.com/chunyou128/p/3492546.html
總結
- 上一篇: *[topcoder]JumpFurth
- 下一篇: objective-c 类目(Categ