Bitmap Style Designer非官方说明
Bitmap Style Designer
Bitmap Style Designer给我的第一印象就是简陋,估计也是为了赶工。大致体会了一下,还是能够使用。因为目前没有对此有比较详细的中文资料,就把自己的使用心得总结一下。
Bitmap Style Designer对于VCL Style的支持相对还是比较不错的, 可以新建,可以打开,可以编辑。而对于Firemonkey Style就显得有些捉襟见肘了,不过我们还是可以绕过去的。
新建,保存
新建的时候,在新建图标的下拉框中可以选择metro ui style , ios style (目前还不支持预览,毕竟设备的差距比较大,估计不久之后应该会出对应的模拟器了吧),默认的就是vcl style。新建完了就可以进行和编辑。不过默认保存的是*.vsf格式的,修改保存类型就可以得到我们需要的*.style文件了,一点都不易用⊙﹏⊙b。这种方法可以让我们把vcl style 转化为 firemonkey style的
编辑
首先我们new一个metro style,在左侧Objects中的images中我们可以看到两张图,需要什么风格直接导出修改图片即可。是不是很简单,让美工单独去干吗,我们就可以用默认的先开发了。如果美工不靠谱,把图标的位置放错了,那怎么办?
放心吧,有办法解决。
找到objects节点,展开。在右侧一般都能看到Bitmap属性,点开它,会发现这就是设置控件对应的图标的地方,通过鼠标左键和右键圈定需要的范围即可。所以我们的图片完全不用和原来的一致。
关于Colors的设置目前还没有摸出门道来,感觉没什么实际的价值,默认即可。
官方的说明是这样子的:
http://docwiki.embarcadero.com/RADStudio/XE4/en/Creating_a_Style_using_the_Bitmap_Style_Designer
§ Click Colors in the Objects tree to see a list of base colors that are used in the current style. There are two categories of colors:The first category includes colors used for control parts that are rendered directly from an image. In this case, the color item offers you a way to access the color of that image. For instance, the Window item specifies the color of the form background.
Note that changing this color does not affect the way the control part is rendered, but is only a way to programmatically access that color. To do that, call StyleServices.GetStyleColor.
For example, to obtain the color used for form background, call StyleServices.GetStyleColor(scWindow).
§ The second category includes the colors used for controls that are rendered from code at run time (Panel, ListBox, Grid, and so on). In this case, modifying the color in the Colors list changes the appearance of the control.
预览
其实预览功能还是还是挺有帮助的,不仅仅是查看效果。它还提供了一些控件属性设置的方法。
Metro style的预览有两种,一种是Metro,一种是Firemonkey的。
对于Metro的,可以通过键盘的上下键 查看缩放界面的效果。Load style还支持你载入其他风格预览
同样Firemonkey下也可以指定其他style进行预览。
其他的再慢慢摸索吧~
Bitmap Style Designer非官方说明的更多相关文章
- Delphi XE5 for android 使用 BITMAP STYLE DESIGNER 改变控件背景
一.BITMAP STYLE DESIGNER 工具集成在IDE开发工具的TOOLS菜单. 使用NEW 新建一个安卓样式.NEW—NEW ANDROID STYLE FOR FIREMONKEY. 这 ...
- FireMonkey Style Designer
http://docwiki.embarcadero.com/RADStudio/Berlin/en/FireMonkey_Style_Designer http://docwiki.embarcad ...
- [工具] Firemonkey Style 调色工具(可另存 Style 文件)
版本:2016.12.21 (新增可取代颜色) 下载:[工具]OneStylePalette_调色工具_20161221.zip 版本:2016.12.09 (新增可导出全平台的 Style) 下载: ...
- xe Style
//注意引用:vcl.themes, vcl.styles, IOutils procedure TForm1.FormCreate(Sender: TObject); var stylename: ...
- 如何改变 FMX ListView 颜色
需求:改变 ListView 颜色 适用:Firemonkey 任何平台 操作:Style 是改变控件外观最便捷的途径,ListView 也不例外,下面示范使用 StyleBook 来设定 ListV ...
- Delphi XE 新功能试用:多种皮肤样式静、动态设置方法
静态方式:1.新建VCL Forms Application:2.打开菜单Project - Application - Appearance:3.在Custom Styles中可选择所有默认带的皮肤 ...
- delphi Style TBitmapLink
New Bitmap Links Editor http://docwiki.appmethod.com/appmethod/1.17/topics/en/What's_New A new edito ...
- 设置Delphi XE4默认界面样式
VCL BitMap Style Proceject Options->Application->Appearance 选择几个样式 使用代码设置 uses Vcl.Themes; ...
- 2016年 Delphi Roadmap
2016年delphi Roadmap 发布,这也是新公司的第一次发布路线图. 虽然稍微晚点( 原来说是1月份发布路线图),至少比过去积极点.喧嚣多年的靴子终于落地. Linux 的支持终于正式公布. ...
随机推荐
- Eclipse 编码区-保护色-快捷大全
Eclipse快捷键大全 Eclipse编码区-保护色-快捷设置 1.设置路径: windows-preferences-general-editors-text Editors-ba ...
- ceph增加osd流程
假如需要新增一个主机名:osd4 ip:192.168.0.110的OSD1.在osd4创建挂载目录及放置配置文件的目录 ssh 192.168.0.110 (这里是从mon主机ssh到osd4主机) ...
- float 覆盖元素的问题
<span class="right-span"><a href="/xxx/" class="btn">增加Ser ...
- php下正则表达式整理
一.正则表达式的历史背景 1,内容深厚的正则表达式 ^.+@.+\\..+$ 形式 字符串搜索与匹配的工具 2,应用范围 手机输入法 Windows文件搜索 linux 列出文件命令 网站用户注册,如 ...
- Web Application的目录结构
Java web工程下的webapp或WebContent就是工程的发布文件夹,发布时会把该文件夹发布到tomcat的webapps里. 一个web应用必须要有的目录文件如下: webapp/WebC ...
- oracle中if/else
oracle中if/else功能的实现的3种写法 1.标准sql规范 一.单个IF 1. if a=... then ......... end if; 2. if a=... then .... ...
- 带OpenSSL和MySQL的静态编译版本~
http://www.npcglib.org/~stathis/blog/precompiled-qt4-qt5/ http://www.npcglib.org/~stathis/blog/preco ...
- 作业还是作孽?——Leo鉴书79
中国孩子,尤其是城市孩子课业过重是个不争的事实.儿子上幼儿园的作业已经能做到8点多了,上小学之后不知道是不是会整得更晚.于是入手这本<家庭作业的迷思>,认真读读.请特别注意,不要买书叫&q ...
- 【翻译自mos文章】当指定asm disk 为FRA时,11.2.0.3的dbua hang住
当指定asm disk 为FRA时.11.2.0.3的dbua hang住 来源于: 11.2.0.3 DBUA Hangs While Specifying ASM Disk To FRA (文档 ...
- PopupWindow的使用以及ArrayAdatper.notifyDataSetChanged()无效详解
Android的对话框有两种:PopupWindow和AlertDialog.它们的不同点在于: AlertDialog的位置固定,而PopupWindow的位置可以随意 AlertDialog是非阻 ...