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非官方说明的更多相关文章

  1. Delphi XE5 for android 使用 BITMAP STYLE DESIGNER 改变控件背景

    一.BITMAP STYLE DESIGNER 工具集成在IDE开发工具的TOOLS菜单. 使用NEW 新建一个安卓样式.NEW—NEW ANDROID STYLE FOR FIREMONKEY. 这 ...

  2. FireMonkey Style Designer

    http://docwiki.embarcadero.com/RADStudio/Berlin/en/FireMonkey_Style_Designer http://docwiki.embarcad ...

  3. [工具] Firemonkey Style 调色工具(可另存 Style 文件)

    版本:2016.12.21 (新增可取代颜色) 下载:[工具]OneStylePalette_调色工具_20161221.zip 版本:2016.12.09 (新增可导出全平台的 Style) 下载: ...

  4. xe Style

    //注意引用:vcl.themes, vcl.styles, IOutils procedure TForm1.FormCreate(Sender: TObject); var stylename: ...

  5. 如何改变 FMX ListView 颜色

    需求:改变 ListView 颜色 适用:Firemonkey 任何平台 操作:Style 是改变控件外观最便捷的途径,ListView 也不例外,下面示范使用 StyleBook 来设定 ListV ...

  6. Delphi XE 新功能试用:多种皮肤样式静、动态设置方法

    静态方式:1.新建VCL Forms Application:2.打开菜单Project - Application - Appearance:3.在Custom Styles中可选择所有默认带的皮肤 ...

  7. delphi Style TBitmapLink

    New Bitmap Links Editor http://docwiki.appmethod.com/appmethod/1.17/topics/en/What's_New A new edito ...

  8. 设置Delphi XE4默认界面样式

    VCL BitMap Style   Proceject Options->Application->Appearance 选择几个样式 使用代码设置   uses Vcl.Themes; ...

  9. 2016年 Delphi Roadmap

    2016年delphi Roadmap 发布,这也是新公司的第一次发布路线图. 虽然稍微晚点( 原来说是1月份发布路线图),至少比过去积极点.喧嚣多年的靴子终于落地. Linux 的支持终于正式公布. ...

随机推荐

  1. python:利用asyncio进行快速抓取

    web数据抓取是一个经常在python的讨论中出现的主题.有很多方法可以用来进行web数据抓取,然而其中好像并没有一个最好的办法.有一些如scrapy这样十分成熟的框架,更多的则是像mechanize ...

  2. __FILE__,__LINE__,FUNCTION__实现代码跟踪调试(linux下c语言编程 )

    root@xuanfei-desktop:~/cpropram/2# cat global.h //头文件#ifndef CLOBAL_H        #define GLOBAL_H        ...

  3. 高屋建瓴 cocos2d-x-3.0架构设计 Cocos2d (v.3.0) rendering pipeline roadmap(原文)

    Cocos2d (v.3.0) rendering pipeline roadmap Why (the vision) The way currently Cocos2d does rendering ...

  4. OpenStack导入镜像后Launch不起来的几个问题

    Dashboard上显示state为error 没有其他报错 用nova list找到虚拟机的id 然后nova show,可以得到fault详细信息 也可以查看下面两个log /var/log/no ...

  5. uVa 714 (二分法)

    Time Limit:3000MS     Memory Limit:0KB     64bit IO Format:%lld & %llu   Description   Before th ...

  6. [Swust OJ 137]--波浪数(hash+波浪数构造)

    题目链接:http://acm.swust.edu.cn/problem/137/ Time limit(ms): 1000 Memory limit(kb): 65535   Description ...

  7. Jekyll学习:基本使用方法

    Jekyll是一个简单的博客.静态网站生成工具.利用它可以快速的搭建一个网站.并且完全免费的在 GitHub 上发布网站 — 自定义域名. 一.环境搭建 apt-get install jekyll ...

  8. Scriptcase在线试用开发环境

    现在,你可以通过浏览器在线试用的方式,体验Scriptcase的高效快速开发方式. 只需要有上网环境就可以使用: 兼容几乎所有的浏览器(IE.Firefox.Chrome.Opera……): 客户端无 ...

  9. zabbix 添加主机接口

    http://192.168.32.101:3000/api/zabbix/add_Host?env=test&host=zjtest9-app&ip=192.168.32.250&a ...

  10. OGR SQL (GEOM)

    The OGRDataSource supports executing commands against a datasource via the OGRDataSource::ExecuteSQL ...