系统美化学写XP登陆界面教程.docx
- 文档编号:2827500
- 上传时间:2022-11-15
- 格式:DOCX
- 页数:18
- 大小:87.63KB
系统美化学写XP登陆界面教程.docx
《系统美化学写XP登陆界面教程.docx》由会员分享,可在线阅读,更多相关《系统美化学写XP登陆界面教程.docx(18页珍藏版)》请在冰豆网上搜索。
系统美化学写XP登陆界面教程
学写XP登陆界面教程
转自:
先介绍常修改部分:
1.修改背景颜色如见argb(0,0,0,0)可改为argb(99,118,149)等等;
2.修改图片参数如见rcbmp(128,7,#FF00FF,643rp,588rp,0,0)等等
1.125->图片编号
2.6->图片显示方式->0(砖块排列),1(按你指定的长宽),6(扩展),7(32bitbmp图片)
3.#ff00ff->指定要透明的颜色
4.0->指定图片长度
5.0->指定图片宽度
6.1->0=使用指定长宽,1=使用图片长宽
7.0->0=不作变化,1=映射
脚本码中对于组件位置的指定和对齐,常用的就是中(client)上(top)下(bottom)左(left)右(right)上右(topright)下左(bottomleft)...,
还有下面的九宫格参数.大方向位置搞定后再辅以padding:
rect(0rp,0rp,22rp,0)左,上,右,下,这类填空指令作偏移设定,取得想要的精确布局.位置九宫格代号参数脚本码中对于组件位置的指定和对齐,常用的就是中(client)上(top)下(bottom)左(left)右(right)上右(topright)下左(bottomleft)...,
还有下面的九宫格参数.大方向位置搞定后再辅以padding:
rect(0rp,0rp,22rp,0)左,上,右,下,这类填空指令作偏移设定,取得想要的精确布局.位置九宫格代号参数
647
102
538
/*此为个人注释
AnotherqualitylogonscreenbyHanSon
Thislogonscreenis?
2005toHanSonandisstrictlyforpersonaluseonly
email:
hanson_chiu@
Oicq:
130051045
*/
element
{
background:
argb(0,0,0,0);/*登陆界面的背景颜色,定义全画面背景为带透明通道的黑色rgb色块(此argb定义让覆盖在上面的图片可指定透明色)*/
}
element[id=atom(contentcontainer)]
{
background:
rcbmp(100,6,0,sysmetric(0),sysmetric
(1),0,0);/*登陆界面背景图,更换背景图请在位图处导入自己所欢喜的*/
}
button
{
background:
rcbmp(112,6,#FF00FF,0,0,1,0);/*112为SCROLL背景图#FF00FF为指定透明的颜色,0,0为图片象素如:
1024*768,0直接使用图片大小*/
borderthickness:
rect(8,8,0,8);/*设定该按键底图加外框,左8上8右0下8(pix)*/
}
element
{
background:
argb(0,0,128,0);/*定义上画面背景为带透明通道的黑色rgb色块*/
}
element[id=atom(toppanel)]
{
background:
rcbmp(125,6,#FF00FF,0,0,1,0);/*指定上画面为深蓝色rgb色块
*/
alpha:
255;
}
element[id=atom(divider)]
{
background:
rcbmp(125,6,#FF00FF,0,0,1,0);/*指定上分隔线为编号125的bmp图片(少改)*/
}
element
{
background:
argb(0,0,0,0);
}
element[id=atom(splash)]
{
background:
rcbmp(128,7,#FF00FF,620rp,502rp,0,0);/*中央部分图片,务必使用32色图片(我觉得是)*/
}
element
{
background:
argb(0,0,0,0);/*定义下画面背景为带透明通道的黑色rgb色块*/
}
element[id=atom(bottompanel)]
{
background:
argb(128,128,128,128);
fontface:
rcstr
(2);/*读字符串2(设置为Arial字体)*/
}
element[id=atom(divider)]/*此开始*/{
background:
rcbmp(126,6,#FF00FF,0,0,1,0);
}/*至此修改无效果*/
element[id=atom(options)]
{
padding:
rect(25rp,20rp,25rp,20rp);/*指定对下画面中的组件填入距离空间左25上20右25下20*/
}/*此功能作用的组件包恬power按键.unduck按键.instruct讯息*/
button
{
fontsize:
11pt;/*字体大小*/foreground:
white;/*背景色*/cursor:
hand;/*鼠标手势*/}
button[mousefocused]
{
fontstyle:
underline;/*鼠标移到关机.退出按键时按键消息正文加下横线显示
*/
}
button[keyfocused]
{
fontstyle:
underline;/*以键盘快捷移到关机.退出按键时按键消息正文加下横线显示*/
}
element[id=atom(instruct)]/*讯息文字,如SHUTDOWN和PASSWORD这此的设置*/
{
contentalign:
wrapleft;/*右下角的消息正文智能向左对齐*/
padding:
rect(18rp,0,0,0);/*该消息正文左方增加18pix的空间
*/
fontsize:
rcint(43)pt;/*指定上列按键上文字大小依StringTable(字符串值)资源编号43设定显示*/
foreground:
white;/*指定消息正文为白色*/
element[id=atom(powerbutton)]
{
content:
rcbmp(107,3,#FF00FF,31rp,31rp,0,0);/*默认的关机按钮关机图片*/
contentalign:
middlecenter;/*位置*/
}
element[id=atom(powerbutton)][keyfocused]
{
content:
rcbmp(121,3,#FF00FF,33rp,32rp,0,0);/*键盘选中的关机按钮显示图片*/
contentalign:
middlecenter;/*关机图片位置*/
}
element[id=atom(undockbutton)]/*此开始*/{
content:
rcbmp(108,3,#FF00FF,35rp,35rp,0,0);
contentalign:
middlecenter;
}
element[id=atom(undockbutton)][keyfocused]
{
content:
rcbmp(122,3,#FF00FF,35rp,35rp,0,0);
contentalign:
middlecenter;
}/*至此.修改无效*/
element
{
background:
argb(0,0,0,0);
fontface:
rcstr
(1);/*指定左画面使用的字体依字符串值资源编号1设定显示,此例为arial字体*/
}
element[id=atom(product)]
{
animation:
alpha|s|mediumslow;/*指定Logo图片以透明动画显示,速度为中慢
*/
}
element[id=atom(leftpanel)]
{
foreground:
rgb(239,247,255);
}
element[id=atom(welcome)]
{
fontstyle:
italic;/*指定欢迎文字样式为斜体
*/
fontsize:
rcint(44)pt;/*增加指定文字样式为粗体
*/
fontweight:
bold;
padding:
rect(0rp,0rp,22rp,0);/*向右增加22pix空间
*/
contentalign:
topright;/*指定文字置于右上(此例左画面指定位置为中间,因此实际为中间右上*/
}
element[id=atom(welcomeshadow)]
{
foreground:
rgb(49,81,181);
fontstyle:
italic;
fontsize:
rcint(44)pt;
fontweight:
bold;
padding:
rect(2rp,3rp,20rp,0);/*指定欢迎文字阴影增加空间为左2上3右20下0
*/
contentalign:
topright;/*显示出来的效果为向右2向下3偏移的阴影*/
}/*至此无需修改*/
element[id=atom(help)]/*左边问号提示参数*/
{
fontsize:
rcint(45)pt;
padding:
rect(81rp,81rp,0,0);
contentalign:
wrapright;/*设置登入注销讯息显示位置为智能向右靠齐*/
}
element
{
background:
argb(0,0,0,0);
}
element[id=atom(centerpanel)]
{
background:
rcbmp(124,6,#FF00FF,0,0,1,0);
}
element[id=atom(divider)]
{
background:
rcbmp(124,6,#FF00FF,0,0,1,0);
}
scrollbar[vertical]
{
layoutpos:
nineright;
background:
rgb(115,146,231);/*至此,有待高手提点*/}
viewer
{
layoutpos:
nineclient;
}
thumb
{
background:
rcbmp(111,6,#FF00FF,0,0,1,0);/*Scroll图片及参数*/
borderthickness:
rect(3,3,3,3);/*至此*/
}
repeatbutton[id=atom(lineup)]/*定义向上箭头*/
{
content:
rcbmp(110,3,-1,sysmetric(2
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 系统 美化 XP 登陆 界面 教程