Integrating swf in c++(在 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的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:在 C++ 中集成 swf
基础教程推荐
- 如果我为无符号变量分配负值会发生什么? 2022-01-01
- GDB 显示调用堆栈上函数地址的当前编译二进制文 2022-09-05
- 为什么派生模板类不能访问基模板类的标识符? 2021-01-01
- 非静态 const 成员,不能使用默认赋值运算符 2022-10-09
- 我应该对 C++ 中的成员变量和函数参数使用相同的名称吗? 2021-01-01
- 通过引用传递 C++ 迭代器有什么问题? 2022-01-01
- 初始化列表*参数*评估顺序 2021-01-01
- 为什么 RegOpenKeyEx() 在 Vista 64 位上返回错误代码 2021-01-01
- CString 到 char* 2021-01-01
- 为什么 typeid.name() 使用 GCC 返回奇怪的字符以及如 2022-09-16
