meter-button
<font color="#ff0000"><b>【版权声明】</b></font><br><font face="楷体"><font color="#0000ff"> 本文档翻译者:</font></font><a href="http://bbs.rainmeter.cn/home.php?mod=space&uid=229788&do=profile" target="_blank">雨滴社区-相望无言</a><font face="楷体"><br><font color="#0000ff"> 本文档仅用于雨滴社区站内交流,</font><font color="#ff0000">禁止转载</font><font color="#0000ff">,由此引发的一切责任及版权纠纷由转载、传播本文档者负责。</font></font><font face="楷体"><font color="#0000ff"><br></font></font><br><p align="left"><b>Button</b></p><br><p align="left">Button meter 不能绑定任何measure,它的目的就是为了创建按钮更加容易。一个按钮不可显示正常状态,点击状态,悬停状态。自动执行每个动作。</p><p align="left">改变按钮图片应用下列命令:GreyScale-〉ImageTint-〉ImageFlip。</p><b>Options</b><div><b><br></b><p align="left"><b> ButtonImage</b><br>按钮图片的名字,图片必须包含3帧,可以为水平或者竖直(决定于图片的宽度和高度)。第一帧为正常状态;第二帧为按下状态;第三帧为鼠标悬停状态。更多的关于创建一个按钮图像点这里:</p><p align="left"><br></p><p align="left"><b> ButtonCommand</b><br>当按钮被按下时执行的命令</p><p align="left"><br></p><p align="left"><b> Greyscale</b><br>如果设置为1图片会变为灰度</p><p align="left"><br></p><p align="left"><b> ImageTint</b><br>给图片着色,颜色写法跟Slidcolor:RGB(A)一样,如果这个透明度之是指定的,图片会变为半透明(0意味着不可见,255意味着完全不透明)。默认值为白色(255,255,255,255)意味着没有变化。</p><p align="left"><br></p><p align="left">注意:如果你把Greyscale和Imagetint混合使用来给图片重新显示指定颜色。如果你单独使用Imagetint,你增加自定义颜色,创造了一个“色调”</p><p align="left"><br></p><p align="left"><b> ImageFlip</b><br>有效值包括:NONE,HORIZONTAL,VERTICAL,BOTH</p><p align="left"><br></p><p align="left"><b> ColorMatrixN</b><br><p class="MsoListParagraph" align="left" style="margin-left: 36pt; text-indent: -21pt; line-height: 14.25pt; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; background-position: initial initial; background-repeat: initial initial; "><!----><span lang="EN-US" style="font-size:10.0pt;font-family:Wingdings;mso-fareast-font-family:Wingdings;mso-bidi-font-family:Wingdings;color:#222222;mso-font-kerning:0pt">l<span style="font-family: 'Times New Roman'; font-size: 7pt; line-height: normal; "> </span></span><!----><span lang="EN-US" style="font-family:宋体;mso-bidi-font-family:宋体">Colormatrix</span><span style="font-family:宋体;mso-bidi-font-family:宋体">参数表示一个<span lang="EN-US">5x5</span>矩阵被用于控制图片的颜色值。它分为<span lang="EN-US">5</span>个独立的参数,每一行的都有编号:</span><span lang="EN-US" style="font-size:
10.0pt;font-family:"Trebuchet MS","sans-serif";mso-bidi-font-family:宋体;
color:#222222;mso-font-kerning:0pt"><o:p></o:p></span></p>
<div style="mso-element:para-border-div;border:solid #CED1DA 1.0pt;mso-border-alt:
solid #CED1DA .75pt;padding:4.0pt 4.0pt 4.0pt 4.0pt;background:#EEF0F5;
margin-left:35.45pt;margin-right:0cm">
<p class="MsoNormal" align="left" style="margin-top: 7.5pt; margin-right: 0cm; margin-bottom: 7.5pt; margin-left: 0cm; line-height: 14.25pt; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; border-image: initial; padding-top: 0cm; padding-right: 0cm; padding-bottom: 0cm; padding-left: 0cm; background-position: initial initial; background-repeat: initial initial; "><span lang="EN-US" style="font-size:
9.0pt;font-family:"Lucida Console";mso-bidi-font-family:宋体;color:#222222;
mso-font-kerning:0pt">ColorMatrix1=1; 0; 0; 0; 0<o:p></o:p></span></p>
<p class="MsoNormal" align="left" style="margin-top: 7.5pt; margin-right: 0cm; margin-bottom: 7.5pt; margin-left: 0cm; line-height: 14.25pt; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; border-image: initial; padding-top: 0cm; padding-right: 0cm; padding-bottom: 0cm; padding-left: 0cm; background-position: initial initial; background-repeat: initial initial; "><span lang="EN-US" style="font-size:
9.0pt;font-family:"Lucida Console";mso-bidi-font-family:宋体;color:#222222;
mso-font-kerning:0pt">ColorMatrix2=0; 1; 0; 0; 0<o:p></o:p></span></p>
<p class="MsoNormal" align="left" style="margin-top: 7.5pt; margin-right: 0cm; margin-bottom: 7.5pt; margin-left: 0cm; line-height: 14.25pt; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; border-image: initial; padding-top: 0cm; padding-right: 0cm; padding-bottom: 0cm; padding-left: 0cm; background-position: initial initial; background-repeat: initial initial; "><span lang="EN-US" style="font-size:
9.0pt;font-family:"Lucida Console";mso-bidi-font-family:宋体;color:#222222;
mso-font-kerning:0pt">ColorMatrix3=0; 0; 1; 0; 0<o:p></o:p></span></p>
<p class="MsoNormal" align="left" style="margin-top: 7.5pt; margin-right: 0cm; margin-bottom: 7.5pt; margin-left: 0cm; line-height: 14.25pt; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; border-image: initial; padding-top: 0cm; padding-right: 0cm; padding-bottom: 0cm; padding-left: 0cm; background-position: initial initial; background-repeat: initial initial; "><span lang="EN-US" style="font-size:
9.0pt;font-family:"Lucida Console";mso-bidi-font-family:宋体;color:#222222;
mso-font-kerning:0pt">ColorMatrix4=0; 0; 0; 1; 0<o:p></o:p></span></p>
<p class="MsoNormal" align="left" style="margin-top: 7.5pt; margin-right: 0cm; margin-bottom: 7.5pt; margin-left: 0cm; line-height: 14.25pt; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; border-image: initial; padding-top: 0cm; padding-right: 0cm; padding-bottom: 0cm; padding-left: 0cm; background-position: initial initial; background-repeat: initial initial; "><span lang="EN-US" style="font-size:
9.0pt;font-family:"Lucida Console";mso-bidi-font-family:宋体;color:#222222;
mso-font-kerning:0pt">ColorMatrix5=0; 0; 0; 0; 1<o:p></o:p></span></p>
</div>
<span style="font-size:10.5pt;mso-bidi-font-size:11.0pt;font-family:宋体;
mso-bidi-font-family:宋体;mso-font-kerning:1.0pt;mso-ansi-language:EN-US;
mso-fareast-language:ZH-CN;mso-bidi-language:AR-SA">从左上角到右下角对角线上的值分别是:红色,绿色,蓝色,透明度和一个占位符,这些值代表着图像中对应值的百分比。<span lang="EN-US">0.0 </span>表示没有,<span lang="EN-US">1.0</span>表示正常。矩阵中其他项目允许颜色拥有自己的修饰,在其他的颜色组中。(例如:红色的值可能会增加一半蓝色),在最后一行中(<span lang="EN-US">Colormatrix5</span>)确定抵消直接添加到颜色的值。(例如:<span lang="EN-US">Colormatrix5=0.5;0;0;0;1
</span>会增加<span lang="EN-US">50%</span>红色),获取更多关于<span lang="EN-US">Colormatrix</span>的信息点击:</span><span lang="EN-US" style="font-size:10.5pt;mso-bidi-font-size:11.0pt;font-family:"Calibri","sans-serif";
mso-fareast-font-family:宋体;mso-bidi-font-family:"Times New Roman";mso-font-kerning:
1.0pt;mso-ansi-language:EN-US;mso-fareast-language:ZH-CN;mso-bidi-language:
AR-SA"><a href="http://rainmeter.net/cms/Tips-ColorMatrixUnleased">http://rainmeter.net/cms/Tips-ColorMatrixUnleased</a></span></p><p align="left"><br></p><p align="left"><b> ImageAlpha</b></p><p align="left">改变图片的不透明度。范围是0~255,0表示完全不可见,255表示完全不透明,如果设置它,ImageTint 中的关于alpha部分的设置会被这个代替。</p><p align="left"><br></p><p align="left"><br></p><br><br></div>
页:
[1]