在 C++ 中集成 swf [英] Integrating swf in c++

查看:28
本文介绍了在 C++ 中集成 swf的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法制作包含 .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.

这篇关于在 C++ 中集成 swf的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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