在 C++ 中集成 swf

2021-12-20 00:00:00 c++ flash

有没有办法制作包含 .swf 的 c++ gui 应用程序?

Is there any way of making c++ gui applications that include .swf?

与 gif 或其他类型的动画相比,swf 文件非常小且更容易制作,因此能够包含它们会很好.

The swf file are pretty small and easier to make than gif or other kind of animations so it would be nice to be able to include them.

一些图书馆的推荐,免费的甚至是开源的...

Some recommendations of a library, free or even open source...

推荐答案

Awesomium 和这个人的其他网站正是您所需要的.

Awesomium and the other websites from this guy are just what you need.

  • 解释 html/javascript/css - 通过 Chromium - Google 的 Chrome 网络浏览器的基础.
  • 播放 Flash 内容
  • C++
  • 免费
  • 开源
  • 棒极了

它从网络内容(html/javascript/css + flash!)生成纹理(2D 图像).然后您可以在这个演示中随意使用.在此视频中,您可以看到 Youtube 显示在用于 3D 四边形网格的纹理上.您也可以下载演示版.

It generates a texture (a 2D image) from web content ( html/javascript/css + flash! ). Then you can use as you want like in this demo. In this video you can see that Youtube is displayed on a texture that is used on a 3D quad mesh. You can download the demo too.

有些人用它来代替他们的 GUI 系统.也可以看看 AkaRUI.

Some people are using it to replace their GUI system. See AkaRUI too.

相关文章