> > > > I am trying to push a lot of chars into Fl_Text_Display via=20 > > Fl_Text_Buffer in a short amount of time. BUT it is just to=20 > > slow, my app that is (running in windoze). My app is trying=20 > > to show (pref in realtime) a char flow from a COM PORT at=20 > > 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. >
Hi Ian It makes sense. My idea was definitely overkill, and I will try cutting down on the chars actually shown. Thanks for the advice. I just don't like the news reader "feel". A forum is more "open" and easier to surf. Thats my thought though. tob _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

