经验与Adobe的"亚当和夏娃" C ++ GUI库? [英] Experiences with Adobe's "Adam and Eve" C++ GUI library?

查看:227
本文介绍了经验与Adobe的"亚当和夏娃" C ++ GUI库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试了这是pretty的IM pressive演示应用。然而构建它,并用自己的code积分是很难的,因为它是这样一个大的项目。

有没有人成功地用它为自己的项目?当时是很难建立和使用自己的C ++ code集成?

链接: STLab

对于感兴趣的。也有一个谷歌技术讲座的澄清项目背后的哲学思想。

解决方案

ASL的使用非常严重在Adobe

。因为Photoshop中5.布局库(除夕)被用在许多Adobe产品和它的变种已经使用属性模型库(亚当)得到了在CS4中一个很少使用,并在未来的产品将有可能被使用了。我再也不能肯定地说,因为我离开的Adobe几个月前,我现在的工作在谷歌。我还是把一些时间对ASL并继续贾维教授合作和他的一些同学在属性模型库(见翔升维基纸)。

它可以是一个有点困难与您的产品进行整合。该平台图书馆ASL(后端亚当和夏娃的Windows和Mac碳)开始为一些小例子code,那么社会就开始完善它(在Windows端口最初是一个社区的努力),那么我们有一些野心使之成为真正的,支持的库。但随后苹果下跌碳64位和Adobe的框架计划的改变,所以我们没有苹果利用这里箱内的Adobe我们的努力。因为这个平台库是有点不稳 - 如果你code基已经在使用,你可以考虑直接集成亚当和夏娃的框架(对于这两个库的API是的非常的小)。有两个挑战具有与框架结合。除夕需要良好的指标做了良好的布局,包括像基线,让从你的UI工具包可能是艰难的。属性模型库假定大多数UI工具包不服从,所以你必须做一些调整了严格的模型/视图/控制器模式。随意问翔升邮件列表上的问题。我们也可以帮助建筑 - 它确实是不一样复杂,因为它似乎

I tried out the demo application which was pretty impressive. However building it and integrating it with my own code is hard because it's such a large project.

Has anyone successfully used it for their own projects? Was is difficult to build and integrate with your own C++ code?

Link: STLab.

For the interested: there's also a Google Tech Talk clarifying the philosophical ideas behind the project.

解决方案

ASL is used fairly heavily within Adobe. The layout library (Eve) is used in many Adobe products and variants of it have been in use since Photoshop 5. The property model library (Adam) got a little use in CS4 and will likely be used more in future products. I can no longer speak with certainty because I left Adobe a few months ago and am now working at Google. I still put in some time on ASL and continue to collaborate with Prof. Jarvi and some of his students on the property model library (see the paper on the ASL wiki).

It can be a bit difficult to integrate with your product. The platform libraries in ASL (backends to Adam and Eve for Windows and Mac Carbon) started as some small example code, then the community started to refine it (the Windows port was initially a community effort), then we had some ambition to make it a real, supported library. But then Apple dropped Carbon for 64 bits and Adobe's framework plans changed so we weren't apple to leverage our efforts here inside Adobe. Because of this the platform libraries are a little shaky - if you code base is already using a framework you might consider integrating Adam and Eve directly (the API for both libraries is very small). There are two challenge with integrating with a framework. Eve needs good metrics to do a good layout, including things like baselines, getting that from your UI toolkit may be tough. The property model library assumes a strict model/view/controller pattern that most UI toolkits don't obey so you have to do a bit of adapting. Feel free to ask questions on the ASL mailing list. We can also help with building - it really isn't as complex as it seems.

这篇关于经验与Adobe的"亚当和夏娃" C ++ GUI库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆