Generally only one. The code in dialog windows uses one,
main program thread. A new thread is created only when I call
methods of network library. Could it be the reason of
artefacts?
Generally not if you don't call FLTK methods from within your thread
code.
Here's another question: Did you recently update your FLTK repo /
working copy? Maybe even switching from 1.3 to 1.4 ?
The reason I'm asking this is because mixing library headers (old
vs. new) and maybe compiling only parts of the library could have
similar effects (although maybe not with random appearance). Anyway,
I suggest to remove old FLTK installations from your system (if
there are any) and make sure that you compile your entire FLTK lib *and*
your entire application (make clean; make; or whatever is
applicable) to be sure everything is built from one FLTK source.
Comments are owned by the poster. All other content is copyright 1998-2025 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.