Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example paint flickering while drawing #221

Closed
brmmm3 opened this issue Jul 9, 2020 · 1 comment
Closed

Example paint flickering while drawing #221

brmmm3 opened this issue Jul 9, 2020 · 1 comment

Comments

@brmmm3
Copy link
Contributor

brmmm3 commented Jul 9, 2020

I've tried the example 'paint' on Windows 10.
While drawing the view flickers a lot, although offscreen drawing is used.
I'm not sure if it is an issue with FLTK on Windows or not.

@MoAlyousef
Copy link
Collaborator

MoAlyousef commented Jul 9, 2020

Can you change the Window to DoubleWindow. Sometimes windows requires double buffering for some operations.

P.S. I had the chance of trying it on windows 10 and it flickers. Changing to DoubleWindow fixes it. So I’ve modified the example.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants