有一段xml如下:
<?xml version="1.0" encoding="utf-8"?>
<Skin>
  <Resources>
    <Image Name="UpdownPower">上传下载页_内容区_暂停按钮.png</Image>
    
   <!-- 上传下载按钮-->
    <ImageEx Name="UpdownPower_Normal">
      <ParentImage>UpdownPower</ParentImage>
      <Width>58</Width>
    </ImageEx>
    <ImageEx Name="UpdownPower_Hover">
      <ParentImage>UpdownPower</ParentImage>
      <Left>58</Left>
      <Width>58</Width>
    </ImageEx>
    <ImageEx Name="UpdownPower_Down">
      <ParentImage>UpdownPower</ParentImage>
      <Left>116</Left>
      <Width>58</Width>
    </ImageEx>
    <ImageEx Name="UpdownPower_Disable">
      <ParentImage>UpdownPower</ParentImage>
      <Left>174</Left>
      <Width>58</Width>
    </ImageEx>
    </Resources>
    <Faces>
    <Control Name="UpdownPowerButton" Type="Button">
      <NormalImage>UpdownPower_Normal</NormalImage>
      <HoverImage>UpdownPower_Hover</HoverImage>
      <DownImage>UpdownPower_Down</DownImage>
      <DisableImage>UpdownPower_Disable</DisableImage>
      <CaptionAlign>Bottom</CaptionAlign>
      <FontColor>0x00FFFFFF</FontColor>
      <Width>65</Width>
      <Height>65</Height>
    </Control>    
  </Faces>
</Skin>将其作为cstring 传入 skinbutton 的Setface(cstring &doc)中
然后将其4中状态分别解析到skinbutton的 NormalImage  HoverImage DownImage  DisableImage 4个Image变量中其中“上传下载页_内容区_暂停按钮.png”是一张集合了4中状态的png图片 normal|hover|down|disable谁来看看 分数已经全部奉上了。