远景论坛's Archiver

newdragon 发表于 2008-8-6 11:06

【Vista主题修改教程】改变资源管理器窗口背景颜色、右键菜单背景

[quote]
[color=red]感谢Vsita之家的[color=blue]Borton[/color]无私分享,七步把教程转到远景,希望更多的对主题制作感兴趣的朋友加入主题制作的行列,[/color]
[color=red][/color]
[color=red]对于原教程作部分修改,望原作者见谅[/color][/quote]
[size=4][color=red][b][quote]【远景新开QQ群,Vista主题制作讨论】
号码:====67434887=====[/b][/color][/size]

[size=4][color=red][/color][/size][attach]279671[/attach]
[size=4][color=red][b](昨天【8月5日】刚开通的,暂时就我一个人的说,欢迎感兴趣的朋友加入)[/quote][/b][/color][/size]
[quote]
[color=blue][b]       首先你需要了解:[/b][/color]


[indent][indent][color=blue]资源位置:主题文件夹/Shell/NormalColor/shellstyle.dll/UIFILE/1
使用 Restorator 2007 导出文本文件 1.txt
使用记事本编辑文本文件,保存文件并且使用 Restorator 2007 替换回 shellstyle.dll[/color]
[/indent][/quote]
[quote]
[b][color=blue]下面注意修改的位置:[/color][/b]
[indent][color=#0000ff][size=3][font=微软雅黑]修改资源管理器窗口背景颜色和文件名字体颜色

[/font]搜索<if id="atom(clientviewhost)">           将??替换为喜欢的颜色

<ViewHost
[color=darkorchid]foreground="themeable(ARGB(255, [color=red]??, ??, ??[/color]), windowtext)"——文件名文字颜色[/color]
background="themeable(ARGB(255, [color=red]??, ??, ??[/color]), window)"
sortcolumn="themeable(ARGB(255, [color=red]??, ??, ??[/color]), window)"
subtext="ARGB(255, 139, 139, 139)"
animation="rectangle|s|fast"
/>

按F3继续搜索并修改直至完毕[/size][/color]
[color=#0000ff][size=3]
[/size][/color][/quote]
[quote]
搜索<style resid="propertreestyle">                                将??改为喜欢的颜色

<style resid="propertreestyle">
< ProperTreeModule
background="themeable(argb(255, [color=red]??, ??, ??[/color][color=#000000]), window)"
foreground="themeable(argb(255, 86, 86, 86), windowtext)"
/>
<CommonPlacesHost
background="themeable(argb(255, [/color][color=red]??, ??, ??[/color][color=#000000]), window)"
foreground="themeable(argb(255, 86, 86, 86), windowtext)"
padding="rect(0rp,0rp,5rp,0rp)"
/>
< ProperTreeHost
f ont size="sysmetric(DSM_ICONFONTSIZE)"
f ont weight="sysmetric(DSM_ICONFONTWEIGHT)"
f ont style="sysmetric(DSM_ICONFONTSTYLE)"
f ont face="sysmetricstr(DSMS_ICONFONTFACE)"
animation="rectangle|s|fast"
background="themeable(argb(255, [/color][color=red]??, ??, ??[/color][color=#000000]), window)"
[color=darkorchid]foreground="themeable(argb(255, [color=red]??, ??, ??[/color]), windowtext)"——“导航栏文件夹”文件名文字颜色[/color]
padding="rect(0rp,0rp,5rp,0rp)"
/>
[/color][color=black]<if id="atom(ProperTreeLinksHeader)">[/color]
[color=#000000]<Element
foreground="themeable(argb(255, 139, 139, 139), windowtext)"
[/color][color=blue]background="themeable(argb(255, [color=red]??, ??, ??[/color]), window)"——导航栏收藏夹链接背景
[/color][color=#000000]padding="rect(9rp,9rp,0rp,7rp)"
font="gtf(textstyle, TEXT_BODYTEXT, 0)"
/>
[font=微软雅黑][color=#ff0000]注意:以上代码[/color][color=blue]蓝色部份为文件夹背景色[/color][color=#ff0000];[/color][color=darkorchid]紫色部份为文件名字体颜色[/color][/font][/color]

[/quote]
[quote]
[color=#9932cc]附:导航面板文字颜色[/color]
[color=#9932cc][attach]285378[/attach]

[b]所在地:[/b] .msstyle\Variant\Normal
[b]地址:[/b] 0x26420 [b]原码:[/b] 00 66 CC [b]替换为: [/b]写入你的颜色代码[/color]


[/quote]
[quote]

[/indent][indent][color=blue]搜索第一个TemplateBackground          将??改为喜欢的颜色

<TemplateBackground background="themeable(Gradient(argb(255, 244, 252, 255), argb(255, [color=red]??, ??, ??[/color]), argb(255, 187, 217, 240), 3), window)" /> <if id="atom(ReadingPane)"><TemplateBackground background="themeable(argb(255, [color=red]??, ??, ??[/color]), window)" /></if> <if id="atom(RPaneCoverSheet_NoSel)"><Element background="themeable(argb(255, [color=red]??, ??, ??[/color]), window)" /> </if> <if id="atom(RPaneCoverSheet_NoHandler)"><Element background="themeable(argb(255, [color=red]??, ??, ??[/color]), window)" />
修改完后停止搜索[/color][/indent][/quote]
[quote]
[indent][color=blue]搜索<if id="atom(RPaneCoverSheet_NoSel)">              将??改为喜欢的颜色

<if id="atom(RPaneCoverSheet_NoSel)"><Element background="themeable(argb(255, ??, ??, ??), window)" /> </if>

按F3继续搜索并修改直至完毕


搜索<if id="atom(RPaneCoverSheet_NoHandler)">                  将??改为喜欢的颜色

<if id="atom(RPaneCoverSheet_NoHandler)"><Element background="themeable(argb(255, ??, ??, ??), window)" /> </if>

按F3继续搜索并修改直至完毕[/color][/indent][/quote]
[quote]
[indent][color=blue]搜索<style resid="propertreestyle">                                将??改为喜欢的颜色

<style resid="propertreestyle">
< ProperTreeModule
background="themeable(argb(255, ??, ??, ??), window)"
foreground="themeable(argb(255, 86, 86, 86), windowtext)"
/>
<CommonPlacesHost
background="themeable(argb(255, ??, ??, ??), window)"
foreground="themeable(argb(255, 86, 86, 86), windowtext)"
padding="rect(0rp,0rp,5rp,0rp)"
/>
< ProperTreeHost
f ont size="sysmetric(DSM_ICONFONTSIZE)"
f ont weight="sysmetric(DSM_ICONFONTWEIGHT)"
f ont style="sysmetric(DSM_ICONFONTSTYLE)"
f ont face="sysmetricstr(DSMS_ICONFONTFACE)"
animation="rectangle|s|fast"
background="themeable(argb(255, ??, ??, ??), window)"
foreground="themeable(argb(255, 0, 0, 0), windowtext)"
padding="rect(0rp,0rp,5rp,0rp)"
/>
<if id="atom(ProperTreeLinksHeader)">
<Element
foreground="themeable(argb(255, 139, 139, 139), windowtext)"
background="themeable(argb(255, ??, ??, ??), window)"
padding="rect(9rp,9rp,0rp,7rp)"
font="gtf(textstyle, TEXT_BODYTEXT, 0)"
/>[/color][/indent][/quote]
[quote]
[color=red]下面:如需全面修改资源管理器窗口主要视觉颜色,除了修改代码以外,还要修改如下图中几处PNG图片,资源位置:主题文

件夹/*.msstyles/IMAGE   如下图:[/color]

[color=red][attach]279563[/attach]
[/color][/quote]
[quote]
[indent][color=#0000ff][font=微软雅黑][size=4]修改鼠标右键菜单背景[/size][/font]:(注意:PNG图片格式需带Alpha通道)[/color]
[color=#0000ff]
[attach]279564[/attach]
右键菜单背景853—861
853右键菜单背景(参考107*150)
854右键菜单延伸背景(参考107*150)
858右键菜单左侧背景(三色图片)
859右键菜单鼠标选择框
860右键菜单分隔线[/color]
[color=#0000ff]还有个值得说明的问题:[/color]
[color=#0000ff][attach]285240[/attach][/color]
[color=#0000ff][/color][/indent][indent][color=#0000ff]图中有个地方有错误,原作者好像把572写成527了,大家注意看一下,防止被误导了
[/color][/quote]
[quote]
[color=#0000ff]以上为自己摸索出来的,如有遗漏之处还望指点,不胜感激![/color][b][color=red](备注:上面蓝色高亮处代码为重要修改)[/b][/color]
[/quote]

[/indent][/indent][font=微软雅黑][quote] [/font]
[color=red][b][font=微软雅黑]以下是[size=2][color=blue]七步[/color][/size]自己需要说明的地方,仅供参考~[color=blue]可能会有重复  [/color][/font][/b][/color]
[font=微软雅黑][color=blue]位置:850[/color][/font]
[font=微软雅黑][color=red][b]626~633:626--------磁盘容量大小显示条(大)蓝色 627--------磁盘容量大小显示条(小)红色
708------开始菜单背景1(不透明)
710
717,718-------开始菜单背景2(透明)
743-------任务栏
868~879-----开始按钮
933~936-----前进后退按钮
straeam-850-----图标文件
697   ------开始菜单的所有程序/返回的背景
629-------进度条的背景(不是硬盘容量的背景)
565------鼠标选中然后移开的背景
567------鼠标选中后移上的效果
566------鼠标没选中移上的效果
859-----右键菜单背景
[/b][/color][/font]
[font=微软雅黑][/font]
[font=微软雅黑][/quote][/font]

[[i] 本帖最后由 newdragon 于 2008-8-17 14:07 编辑 [/i]]

borton 发表于 2008-8-6 14:02

呵呵,支持七步兄,补充的也不错,只是我觉得那是主题常用修改之处,不用说也知道

newdragon 发表于 2008-8-6 14:50

回复 2# borton 的帖子

恩,呵呵,谢谢你,我知道啊,不过好多新入门的可能不知道啊,我希望更多的人加入这个行列哦 ~~

小吉吉 发表于 2008-8-6 23:29

恩~~学到东西了。。。THX

app_asp_is 发表于 2008-8-22 13:23

看不太懂,纯支持```

夜梦飞飞 发表于 2008-8-22 16:08

很好很深奥,我只会第1部

lwiibj 发表于 2008-8-23 01:06

把网页另存为,下来学学习一下,呵呵~

[[i] 本帖最后由 lwiibj 于 2008-8-23 01:24 编辑 [/i]]

lovedog 发表于 2008-8-25 17:10

最近学习右键菜单的设置,呵!学习中...

porea 发表于 2008-8-26 10:53

看不太懂,纯支持```

liguoxiao 发表于 2008-9-17 10:28

谢谢,虽然有些地方比较复杂难懂

digriz 发表于 2008-9-26 17:03

呃   好复杂   懒得折腾了    不过确实是很好的技术贴

i-van 发表于 2008-9-26 22:13

在修改“收藏夹链接”替换了背景885的png之后为何右边还有一条白边?请问是何故?请楼主帮忙解答解答。

[attach]298962[/attach]

[[i] 本帖最后由 i-van 于 2008-9-26 22:36 编辑 [/i]]

newdragon 发表于 2008-9-26 22:23

回复 12楼 i-van 的帖子

可能是图片大小不对吧

i-van 发表于 2008-9-26 22:42

应该不是这个问题,885的png是1*1像素的图片,整个背景应该是靠这个图片平铺而成。

我想会不会另外一个资源没有修改才出现这条白边,我看了看,会不会是下图红色框内的资源,就是滚动条右侧的白色区域。我尝试过其它主题,该主题把这个区域改成黑色,形成一条竖立的黑色条形。可是我不知道这个资源得在哪修改。

[attach]298969[/attach]

[[i] 本帖最后由 i-van 于 2008-9-26 22:45 编辑 [/i]]

飘落的枫叶 发表于 2008-9-28 17:59

七步很有发展前提啊

porea 发表于 2008-9-28 19:24

不错,学习了

zhaojunll 发表于 2008-9-29 09:38

学习学习~~!!
改主题好麻烦啊

ds6300 发表于 2008-10-4 09:09

汗,完全看不懂pb69

楚白衣 发表于 2008-10-4 10:47

不错,楼主真的很辛苦.个人还是喜欢原版的白色.不换是因为不知道颜色代码.

jacksonfag 发表于 2008-10-5 16:30

请问楼主,如果我没有使用相关主题,只是用原装的vista主题,去哪里找要修改的文件?windows文件夹下搜索不到shellstyle.dll!

wghzs 发表于 2008-10-6 17:25

人懒...完全不会!

wjd3308619 发表于 2008-10-11 21:42

感谢分享

咗赱祐赱 发表于 2008-10-14 13:50

保存下来 慢慢学习

xiuhuwang 发表于 2008-10-31 22:45

回复 1楼 newdragon 的帖子

basic主题下使用不?

肖维 发表于 2008-11-3 23:00

不错,谢谢啦,楼主!pb63

页: [1]

Powered by 远景论坛 Archiver 6.1.0  © 2001-2007 discuz PCBETA