|
|
On Wed, 6 Jul 2022 at 11:54, Jck_01 wrote:
Hello, I create the application with the FLTK library. Almost everything works as it should, except one important thing, and
I couldn't find the right solution so far.
Random artifacts appear in the window. They also appear randomly - sometimes everything is displayed correctly, but sometimes there are strange lines, some parts of the controls are not refreshed etc. I tried to use Fl::check() but it didn't help in every case. Please see the included examples (a strange black line over the window, a strange blue line over the button, and a broken frame around the button). How can I avoid these problems?
We'd probably have to see some code to tell, but to me it looks like you are drawing outside the valid context.
Hmm; Is this on Windows? The order and setting of the "pens" in Windows is a bit sensitive, so you need to ensure you do that in the correct order too. I think that is discussed in the docs, FWIW. Maybe you can post a small, compile-able example that shows what you are doing that gets this effect?
--
You received this message because you are subscribed to the Google Groups "fltk.general" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkgeneral+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkgeneral/CAGFM6dZwd_BUh_6vM6F-Bq4oiWfabiiHUWKbCXSAK2A38JmXcA%40mail.gmail.com.
[ Direct Link to Message ] | |
|
| |