Home » U++ Library support » Draw, Display, Images, Bitmaps, Icons » flicker
Re: flicker [message #4943 is a reply to message #4940] |
Sun, 27 August 2006 19:41 |
|
mirek
Messages: 13975 Registered: November 2005
|
Ultimate Member |
|
|
unodgs wrote on Sun, 27 August 2006 11:38 |
jadeite wrote on Sun, 27 August 2006 09:07 |
Interesting, you are not double buffering. Now I know why U++ apps feel so responsive and 'light' when resizing. Well, I have to admit that I am surprised that more of your controls, text, etc. do not flicker more than they do. But, basic stuff in that example flickers, so I'm guessing that in most complicated/phat apps, double buffering will be preferred. How do I easily turn on double buffering for the complete app at once? Is it a big performance killer in U++?
|
Just put BackPaint() in your app constructor. There can be some slowdown but it is only visible if your hardware is old.
|
Well, to be more correct, call it for all of your main windows...
In fact, I think that we should backpaint much more than we do now, virtually all of "small" Ctrls. Maybe the BackPaint (or better Transparent, which implies BackPaint) could be default...
Mirek
|
|
|
Goto Forum:
Current Time: Mon Apr 29 16:28:08 CEST 2024
Total time taken to generate the page: 0.02925 seconds
|