猫史档案馆


谁能翻译一下这段代码?

用户:恒星呀恒星呀查看:4 回复:3 评论:4 创建时间:2022-12-30T10:43:40


<?xml version="1.0" encoding="UTF-8"?>

-<UIStyles>


-<Control Name="Button">


-<Style Name="dirbtn_type1">


-<Properties>

<Property Name="Background" Value="ONEIMAGE:Game\Dir\button_wh_00.png;Center;null;"/>

<Property Name="BackgroundHover" Value="ONEIMAGE:Game\Dir\button_wh_01.png;Center;null;"/>

<Property Name="BackgroundPressed" Value="ONEIMAGE:Game\Dir\button_wh_02.png;Center;null;"/>

<Property Name="BackgroundDisable" Value="NONE:"/>

<Property Name="TextFont" Value="-13;0;0;0;700;0;0;0;134;3;2;1;2;宋体"/>

<Property Name="TextFontHover" Value="-13;0;0;0;700;0;0;0;134;3;2;1;2;宋体"/>

<Property Name="TextFontPressed" Value="-13;0;0;0;700;0;0;0;134;3;2;1;2;宋体"/>

<Property Name="TextFontDisable" Value="-13;0;0;0;700;0;0;0;134;3;2;1;2;宋体"/>

<Property Name="TextColor" Value="0x797979"/>

<Property Name="TextColorHover" Value="0xffffff"/>

<Property Name="TextColorPressed" Value="0xffffff"/>

<Property Name="TextColorDisable" Value="0x797979"/>

<Property Name="TextEffect" Value="NONE:"/>

<Property Name="TextEffectHover" Value="NONE:"/>

<Property Name="TextEffectPressed" Value="NONE:"/>

<Property Name="TextEffectDisable" Value="NONE:"/>

<Property Name="TextXOffsetPressed" Value="0"/>

<Property Name="TextYOffsetPressed" Value="0"/>

<Property Name="ItemMargin" Value="4"/>

<Property Name="ClickSound" Value=""/>

<Property Name="HoverSound" Value=""/>

</Properties>

</Style>


-<Style Name="dirbtn_type2">


-<Properties>

<Property Name="Background" Value="ONEIMAGE:Game\Dir\button_kx_00.png;Center;null;"/>

<Property Name="BackgroundHover" Value="ONEIMAGE:Game\Dir\button_kx_01.png;Center;null;"/>

<Property Name="BackgroundPressed" Value="ONEIMAGE:Game\Dir\button_kx_02.png;Center;null;"/>

<Property Name="BackgroundDisable" Value="NONE:"/>

<Property Name="TextFont" Value="-13;0;0;0;700;0;0;0;134;3;2;1;2;宋体"/>

<Property Name="TextFontHover" Value="-13;0;0;0;700;0;0;0;134;3;2;1;2;宋体"/>

<Property Name="TextFontPressed" Value="-13;0;0;0;700;0;0;0;134;3;2;1;2;宋体"/>

<Property Name="TextFontDisable" Value="-13;0;0;0;700;0;0;0;134;3;2;1;2;宋体"/>

<Property Name="TextColor" Value="0x21ff6f"/>

<Property Name="TextColorHover" Value="0xffffff"/>

<Property Name="TextColorPressed" Value="0xffffff"/>

<Property Name="TextColorDisable" Value="0x21ff6f"/>

<Property Name="TextEffect" Value="NONE:"/>

<Property Name="TextEffectHover" Value="NONE:"/>

<Property Name="TextEffectPressed" Value="NONE:"/>

<Property Name="TextEffectDisable" Value="NONE:"/>

<Property Name="TextXOffsetPressed" Value="0"/>

<Property Name="TextYOffsetPressed" Value="0"/>

<Property Name="ItemMargin" Value="4"/>

<Property Name="ClickSound" Value=""/>

<Property Name="HoverSound" Value=""/>

</Properties>

</Style>


-<Style Name="dirbtn_type3">


-<Properties>

<Property Name="Background" Value="ONEIMAGE:Game\Dir\button_fm_00.png;Center;null;"/>

<Property Name="BackgroundHover" Value="ONEIMAGE:Game\Dir\button_fm_01.png;Center;null;"/>

<Property Name="BackgroundPressed" Value="ONEIMAGE:Game\Dir\button_fm_02.png;Center;null;"/>

<Property Name="BackgroundDisable" Value="NONE:"/>

<Property Name="TextFont" Value="-13;0;0;0;700;0;0;0;134;3;2;1;2;宋体"/>

<Property Name="TextFontHover" Value="-13;0;0;0;700;0;0;0;134;3;2;1;2;宋体"/>

<Property Name="TextFontPressed" Value="-13;0;0;0;700;0;0;0;134;3;2;1;2;宋体"/>

<Property Name="TextFontDisable" Value="-13;0;0;0;700;0;0;0;134;3;2;1;2;宋体"/>

<Property Name="TextColor" Value="0x00ffff"/>

<Property Name="TextColorHover" Value="0xffffff"/>

<Property Name="TextColorPressed" Value="0xffffff"/>

<Property Name="TextColorDisable" Value="0xffffff"/>

<Property Name="TextEffect" Value="NONE:"/>

<Property Name="TextEffectHover" Value="NONE:"/>

<Property Name="TextEffectPressed" Value="NONE:"/>

<Property Name="TextEffectDisable" Value=""/>

<Property Name="TextXOffsetPressed" Value="0"/>

<Property Name="TextYOffsetPressed" Value="0"/>

<Property Name="ItemMargin" Value="4"/>

<Property Name="ClickSound" Value=""/>

<Property Name="HoverSound" Value=""/>

</Properties>

</Style>


-<Style Name="dirbtn_type4">


-<Properties>

<Property Name="Background" Value="ONEIMAGE:Game\Dir\button_bm_00.png;Center;null;"/>

<Property Name="BackgroundHover" Value="ONEIMAGE:Game\Dir\button_bm_01.png;Center;null;"/>

<Property Name="BackgroundPressed" Value="ONEIMAGE:Game\Dir\button_bm_02.png;Center;null;"/>

<Property Name="BackgroundDisable" Value="NONE:"/>

<Property Name="TextFont" Value="-13;0;0;0;700;0;0;0;134;3;2;1;2;宋体"/>

<Property Name="TextFontHover" Value="-13;0;0;0;700;0;0;0;134;3;2;1;2;宋体"/>

<Property Name="TextFontPressed" Value="-13;0;0;0;700;0;0;0;134;3;2;1;2;宋体"/>

<Property Name="TextFontDisable" Value="-13;0;0;0;700;0;0;0;134;3;2;1;2;宋体"/>

<Property Name="TextColor" Value="0x1800ff"/>

<Property Name="TextColorHover" Value="0xffffff"/>

<Property Name="TextColorPressed" Value="0xffffff"/>

<Property Name="TextColorDisable" Value="0x1800ff"/>

<Property Name="TextEffect" Value="NONE:"/>

<Property Name="TextEffectHover" Value="NONE:"/>

<Property Name="TextEffectPressed" Value="NONE:"/>

<Property Name="TextEffectDisable" Value=""/>

<Property Name="TextXOffsetPressed" Value="0"/>

<Property Name="TextYOffsetPressed" Value="0"/>

<Property Name="ItemMargin" Value="4"/>

<Property Name="ClickSound" Value=""/>

<Property Name="HoverSound" Value=""/>

</Properties>

</Style>

</Control>

</UIStyles>


回复

上一页1 页 / 共 1下一页
恒星呀恒星呀

用不用给个小提示,我从哪里复制出来的

点赞1


评论


AokenAoken

<?xml 版本=“1.0” 编码=“UTF-8”?>

-<UIStyles>


-<控件名称=“按钮”>


-<样式名称=“dirbtn_type1”>


-<属性>

<属性名称=“背景”值=“一个图像:游戏\目录\button_wh_00.png;居中;空;”/>

<属性名称=“背景悬停” 值=“一个图像:游戏\目录\button_wh_01.png;居中;空;”/>

<属性名称=“背景新闻” 值=“一图像:游戏\目录\button_wh_02.png;居中;空;”/>

<属性名称=“背景禁用” 值=“无:”/>

<属性名称=“文本字体” 值=“-13;0;0;0;700;0;0;0;134;3;2;1;2;2;宋体”/>

<属性名称=“文本字体悬停” 值=“-13;0;0;0;0;700;0;0;0;134;3;2;1;2;宋体”/>

<属性名称=“文本字体按下” 值=“-13;0;0;0;0;700;0;0;0;134;3;2;1;2;宋体”/>

<属性名称=“文本字体禁用” 值=“-13;0;0;0;700;0;0;0;134;3;2;1;2;宋体”/>

<属性名称=“文本颜色” 值=“0x797979”/>

<属性名称=“文本颜色悬停” 值=“0xffffff”/>

<属性名称=“文本颜色压制” 值=“0xffffff”/>

<属性名称=“文本颜色禁用” 值=“0x797979”/>

<属性名称=“文本效果” 值=“无:”/>

<属性名称=“文本效果悬停” 值=“无:”/>

<属性名称=“文本效果按下” 值=“无:”/>

<属性名称=“文本效果禁用” 值=“NONE:”/>

<属性名称=“文本XOffsetPressed” 值=“0”/>

<属性名称=“文本YOffsetPressed” 值=“0”/>

<属性名称=“项目边距” 值=“4”/>

<属性名称=“点击声音” 值=“”/>

<属性名称=“悬停声音” 值=“”/>

</属性>

</样式>


-<样式名称=“dirbtn_type2”>


-<属性>

<属性名称=“背景”值=“一个图像:游戏\目录\button_kx_00.png;居中;空;”/>

<属性名称=“背景悬停” 值=“一个图像:游戏\目录\button_kx_01.png;居中;空;”/>

<属性名称=“背景新闻” 值=“一图像:游戏\目录\button_kx_02.png;居中;空;”/>

<属性名称=“背景禁用” 值=“无:”/>

<属性名称=“文本字体” 值=“-13;0;0;0;700;0;0;0;134;3;2;1;2;2;宋体”/>

<属性名称=“文本字体悬停” 值=“-13;0;0;0;0;700;0;0;0;134;3;2;1;2;宋体”/>

<属性名称=“文本字体按下” 值=“-13;0;0;0;0;700;0;0;0;134;3;2;1;2;宋体”/>

<属性名称=“文本字体禁用” 值=“-13;0;0;0;700;0;0;0;134;3;2;1;2;宋体”/>

<属性名称=“文本颜色” 值=“0x21ff6f”/>

<属性名称=“文本颜色悬停” 值=“0xffffff”/>

<属性名称=“文本颜色压制” 值=“0xffffff”/>

<属性名称=“文本颜色禁用” 值=“0x21ff6f”/>

<属性名称=“文本效果” 值=“无:”/>

<属性名称=“文本效果悬停” 值=“无:”/>

<属性名称=“文本效果按下” 值=“无:”/>

<属性名称=“文本效果禁用” 值=“NONE:”/>

<属性名称=“文本XOffsetPressed” 值=“0”/>

<属性名称=“文本YOffsetPressed” 值=“0”/>

<属性名称=“项目边距” 值=“4”/>

<属性名称=“点击声音” 值=“”/>

<属性名称=“悬停声音” 值=“”/>

</属性>

</样式>


-<样式名称=“dirbtn_type3”>


-<属性>

<属性名称=“背景”值=“一个图像:游戏\目录\button_fm_00.png;居中;空;”/>

<属性名称=“背景悬停” 值=“一个图像:游戏\目录\button_fm_01.png;居中;空;”/>

<属性名称=“背景新闻” 值=“一个图像:游戏\目录\button_fm_02.png;居中;空;”/>

<属性名称=“背景禁用” 值=“无:”/>

<属性名称=“文本字体” 值=“-13;0;0;0;700;0;0;0;134;3;2;1;2;2;宋体”/>

<属性名称=“文本字体悬停” 值=“-13;0;0;0;0;700;0;0;0;134;3;2;1;2;宋体”/>

<属性名称=“文本字体按下” 值=“-13;0;0;0;0;700;0;0;0;134;3;2;1;2;宋体”/>

<属性名称=“文本字体禁用” 值=“-13;0;0;0;700;0;0;0;134;3;2;1;2;宋体”/>

<属性名称=“文本颜色” 值=“0x00ffff”/>

<属性名称=“文本颜色悬停” 值=“0xffffff”/>

<属性名称=“文本颜色压制” 值=“0xffffff”/>

<属性名称=“文本颜色禁用” 值=“0xffffff”/>

<属性名称=“文本效果” 值=“无:”/>

<属性名称=“文本效果悬停” 值=“无:”/>

<属性名称=“文本效果按下” 值=“无:”/>

<属性名称=“文本效果禁用” 值=“”/>

<属性名称=“文本XOffsetPressed” 值=“0”/>

<属性名称=“文本YOffsetPressed” 值=“0”/>

<属性名称=“项目边距” 值=“4”/>

<属性名称=“点击声音” 值=“”/>

<属性名称=“悬停声音” 值=“”/>

</属性>

</样式>


-<样式名称=“dirbtn_type4”>


-<属性>

<属性名称=“背景”值=“一个图像:游戏\目录\button_bm_00.png;居中;空;”/>

<属性名称=“背景悬停” 值=“一个图像:游戏\目录\button_bm_01.png;居中;空;”/>

<属性名称=“背景新闻” 值=“一图像:游戏\目录\button_bm_02.png;居中;空;”/>

<属性名称=“背景禁用” 值=“无:”/>

<属性名称=“文本字体” 值=“-13;0;0;0;700;0;0;0;134;3;2;1;2;2;宋体”/>

<属性名称=“文本字体悬停” 值=“-13;0;0;0;0;700;0;0;0;134;3;2;1;2;宋体”/>

<属性名称=“文本字体按下” 值=“-13;0;0;0;0;700;0;0;0;134;3;2;1;2;宋体”/>

<属性名称=“文本字体禁用” 值=“-13;0;0;0;700;0;0;0;134;3;2;1;2;宋体”/>

<属性名称=“文本颜色” 值=“0x1800ff”/>

<属性名称=“文本颜色悬停” 值=“0xffffff”/>

<属性名称=“文本颜色压制” 值=“0xffffff”/>

<属性名称=“文本颜色禁用” 值=“0x1800ff”/>

<属性名称=“文本效果” 值=“无:”/>

<属性名称=“文本效果悬停” 值=“无:”/>

<属性名称=“文本效果按下” 值=“无:”/>

<属性名称=“文本效果禁用” 值=“”/>

<属性名称=“文本XOffsetPressed” 值=“0”/>

<属性名称=“文本YOffsetPressed” 值=“0”/>

<属性名称=“项目边距” 值=“4”/>

<属性名称=“点击声音” 值=“”/>

<属性名称=“悬停声音” 值=“”/>

</属性>

</样式>

</控制>

</UIStyles>

点赞1


评论


小苏打_小苏打_

应该是某个页面的布局样式

点赞1


评论