绘制波形,用哪个控件比较好一些?还是用DC Topic is solved

这是wxWidgets论坛的中文版本。在这里,您可以用您的母语汉语讨论上面任一子论坛所涉及的所有关于wxWidgets的话题。欢迎大家参与到对有价值的帖子的中英互译工作中来!
Post Reply
liuqi5521
Earned some good credits
Earned some good credits
Posts: 103
Joined: Thu Apr 03, 2008 5:35 am
Location: China
Contact:

绘制波形,用哪个控件比较好一些?还是用DC

Post by liuqi5521 »

信号处理程序,绘制实时波形、静态波形,用哪个控件比较好一些?还是用DC绘制比较好?请高手不吝赐教,谢谢了!
Utensil
Moderator
Moderator
Posts: 423
Joined: Sun Feb 03, 2008 11:38 am
Location: China

Post by Utensil »

用wxPlotCtrl?
In fascination of creating worlds by words, and in pursuit of words behind the world.

On Github: http://utensil.github.com
Technical Blog in Chinese: http://utensil.iteye.com/
Loaden
I live to help wx-kind
I live to help wx-kind
Posts: 177
Joined: Tue Feb 19, 2008 10:21 am
Location: China

Post by Loaden »

建议使用wxGLCanvas,OpenGL,功能强大。
Life is not fair, get used to it.
Utensil
Moderator
Moderator
Posts: 423
Joined: Sun Feb 03, 2008 11:38 am
Location: China

Post by Utensil »

这个小东西还是不必动用OpenGL,而且wxPlotCtrl就是专门用来显示这个的,是在wxCode里的,挺好用。

http://wxcode.sourceforge.net/showcomp. ... wxPlotCtrl

-Utensil
In fascination of creating worlds by words, and in pursuit of words behind the world.

On Github: http://utensil.github.com
Technical Blog in Chinese: http://utensil.iteye.com/
00061205
Knows some wx things
Knows some wx things
Posts: 41
Joined: Mon Jun 16, 2008 3:43 am
Location: Beijing, China

Post by 00061205 »

Utensil wrote:这个小东西还是不必动用OpenGL,而且wxPlotCtrl就是专门用来显示这个的,是在wxCode里的,挺好用。

http://wxcode.sourceforge.net/showcomp. ... wxPlotCtrl

-Utensil
这东西在Code::Blocks里怎么用?如何添加进去使之成为可用的控件?
Utensil
Moderator
Moderator
Posts: 423
Joined: Sun Feb 03, 2008 11:38 am
Location: China

Post by Utensil »

你是说用wxSmith?不知道它有没有RAD,不过wxFormBuilder的wxAddition就对其提供了RAD支持。

-Utensil
In fascination of creating worlds by words, and in pursuit of words behind the world.

On Github: http://utensil.github.com
Technical Blog in Chinese: http://utensil.iteye.com/
00061205
Knows some wx things
Knows some wx things
Posts: 41
Joined: Mon Jun 16, 2008 3:43 am
Location: Beijing, China

Post by 00061205 »

Utensil wrote:你是说用wxSmith?不知道它有没有RAD,不过wxFormBuilder的wxAddition就对其提供了RAD支持。

-Utensil
对啊,wxSmith毕竟是集成到C::B里的很方便。其他的有点麻烦。
Utensil
Moderator
Moderator
Posts: 423
Joined: Sun Feb 03, 2008 11:38 am
Location: China

Post by Utensil »

根据http://wiki.codeblocks.org/index.php?ti ... sions_list,wxSmith对wxPlotCtrl不支持。

其实C::B也对wxFormBuilder提供了支持,比如你可以创建wxFormBuilder-based的工程。

-Utensil
In fascination of creating worlds by words, and in pursuit of words behind the world.

On Github: http://utensil.github.com
Technical Blog in Chinese: http://utensil.iteye.com/
kingkamg
I live to help wx-kind
I live to help wx-kind
Posts: 187
Joined: Tue Apr 08, 2008 1:45 pm

Post by kingkamg »

8) 要什么工程,人家代码都给你了,你还要什么,自己整理啦
Post Reply