|
我新建了一个CEGUI的UI界面,界面上有一个staticImage控件,我在这个控件上贴了一张imageset,然后保存起来,数据如下(11.bmp是创建imageset时用的位图):
<Window Type="TaharezLook/StaticImage" Name="107112915240" >
< roperty Name="Image" Value="set:11.bmp image:full_image" />
<Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
<Property Name="UnifiedAreaRect" Value="{{0.0833333,0},{0.25,0},{0.691667,0},{0.811111,0}}" />
<Property Name="ZOrderChangeEnabled" Value="False" />
</Window>
可是当我用pmUISheet = CEGUI::WindowManager::getSingleton().loadWindowLayout(layoutFile);
方法打开这个界面的时候,只有staticImage控件,控件上的贴图没有显示,也就是没有创建.有什么好的方法让打开这个界面的时候staticImage上的贴图就可以显示出来? |
|