CELayoutEditor 0.6.1 最简捷配置使用方法

给刚刚接触CELayoutEditor的朋友。

大家都知道要想高效率的制作CEGUI界面就不免会用到CEGUI界面编辑工具CELayoutEditor,
而网上流传着一种说法,说CELayoutEditor多么多么不稳定,好多好多的bug,要修改源代
码才可以使用,这种说法令许多刚刚接触CEGUI的而又想利用CELayoutEditor的新手望而生
畏。其实使用CELayoutEditor并没有那么困难,下面笔者就来介绍一下配置并使用
CELayoutEditor最简洁的方法:

1.从http://www.cegui.org.uk/wiki/index.php/CELayoutEditor_Downloads_0.6.1下载

CELayoutEditor 0.6.1 Compiled Binary Packages

  • This package contains a precompiled version of the editor for 32 bit Windows. It is supplied as a executable installer. Download Now!

CELayoutEditor 0.6.1版本.只有了CELayoutEditor还不能正确运行,程序启动时会向你
询问资源文件的路径,现成的资源文件在CEGUI的源代码中有。

2.从http://www.cegui.org.uk/wiki/index.php/CELayoutEditor_Downloads_0.6.1下载

CELayoutEditor 0.6.1 Source Packages

  • This package contains the editor source code supplied as a zip file. Download Now!
  • This package contains the editor source code supplied as a compressed tarball. Download Now!

将这两个文件下载下来之后,放到与CELayoutEditor 0.6.1安装目录相同的文件夹中。
3.经过使用发现控件StaticImage的Image属性怎么设置都不会写到layout脚本里,只好手动
添加代码,形式如下
<Property Name="Image" value="set:TaharezLook image:NewCloseButtonNormal"/>
value中set后跟的是imageset文件名,不带imageset扩展名,image后面跟的是什么???
哈~~打开imageset文件你一看就知道是什么了。

如果哪位朋友知道Image属性正确添加的方法请在回帖中写出来。

posted @ 2009-08-09 16:26  回忆1919  阅读(1578)  评论(0编辑  收藏  举报