当前位置:编程学习 > VB >>

皮肤加载问题……

这样的xml 皮肤 在VB中怎样加载 ?
<skin version="2" name="Default" author="kavin" url="http://www.qvod.com" email="kavin@qvod.com" transparent_color="#ff00ff" image="" path="Default" adjustcolor="#EEF3FA" inbackcolor="#000000" width="800" height="504">
<pwindow id="pwindow" rect="1" image="">
<subview id="top_left" offsetx="0" offsety="0" zorder="1" image="topleft.bmp" alpha_channel="topleft_mask.bmp" horizontal="left" vertical="top" stretchx="-1" stretchy="-1"/>
<subview id="top_left1" offsetx="5" offsety="0" zorder="1" image="topleft1.bmp" horizontal="left" vertical="top" stretchx="-1" stretchy="-1"/>
<subview id="top_right" offsetx="0" offsety="0" zorder="1" image="topright.bmp" alpha_channel="topright_mask.bmp" horizontal="right" vertical="top" stretchx="-1" stretchy="-1"/>
<subview id="top_right" offsetx="5" offsety="0" zorder="1" image="topright1.bmp" alpha_channel="topright_mask.bmp" horizontal="right" vertical="top" stretchx="-1" stretchy="-1"/>
<subview id="bottom_left" offsetx="0" offsety="0" zorder="1" image="bottomleft.bmp" alpha_channel="bottomleft_mask.bmp" horizontal="left" vertical="bottom" stretchx="-1" stretchy="-1"/>
<subview id="bottom_right" offsetx="0" offsety="0" zorder="1" image="bottomright.bmp" alpha_channel="bottomright_mask.bmp" horizontal="right" vertical="bottom" stretchx="-1" stretchy="-1"/>
<subview id="top" offsetx="63" offsety="0" zorder="1" image="top.bmp" alpha_channel="top_mask.bmp" horizontal="left" vertical="top" stretchx="63" stretchy="-1"/>
<subview id="bottom" offsetx="4" offsety="0" zorder="1" image="bottom.bmp" alpha_channel="bottomt_mask.bmp" horizontal="left" vertical="bottom" stretchx="4" stretchy="-1"/>
<subview id="caption" offsetx="3" offsety="5" zorder="1" image="caption.bmp" alpha_channel="caption_mask.bmp" horizontal="left" vertical="top" stretchx="3" stretchy="-1"/>
……
--------------------编程问答-------------------- 单单给一个这个配置文件怎么回答你呢?具体的规则都不清楚 --------------------编程问答--------------------
引用 1 楼 guyehanxinlei 的回复:
单单给一个这个配置文件怎么回答你呢?具体的规则都不清楚

我上面的那个文档是直接复制QVODPLAYER 的SKIN.xml
相应的还有一个图片文件夹。


我现在用VB做了一个类似的播放器,但界面不好看,想要做漂亮一点

我希望你能以一个按钮为例 为我讲解一下这个界面元素的加载过程……
谢谢……
(其实我尝试过通过加载控件的方式,但没有理想的效果,比如 activeskin4.3 processbar 、slider 这两个东西都无法美化,skincraft 3.4 有中文就有乱码……) --------------------编程问答-------------------- 你是想界面多几种颜色的选择吧? --------------------编程问答-------------------- 我这有个例子
补充:VB ,  基础类
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,