> I am trying to push a lot of chars into Fl_Text_Display via 
> Fl_Text_Buffer in a short amount of time. BUT it is just to 
> slow, my app that is (running in windoze). My app is trying 
> to show (pref in realtime) a char flow from a COM PORT at 
> high speeds.

Is the text_buffer/text_display combination required for your needs? If
you simply want to display the text as it whizzes past then it may be
overkill.

For example, if you just want to observe the text, you could easily
buffer the last few hundred chars of the stream, and redisplay them
every 0.1 seconds or so in a simple box widget (driven by
Fl::add_timeout() ).
That should be fast enough to give the eye the impression of a
continuous update, but with minimal actual redrawing effort...
The rest of the char stream can be written through to file or whatever
as normal of course...

Does that make sense?


> But please let fltk.org get a better forum.

You might like the gmane interface better, perhaps?
But probably you should point your news reader at news.eaysw.com and use
that interface, then you can tailor it to suit your own needs entirely.





SELEX Sensors and Airborne Systems Limited
Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 
3EL
A company registered in England & Wales.  Company no. 02426132
********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************

_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to