Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » Draw, Display, Images, Bitmaps, Icons » BackPaint question
Re: BackPaint question [message #626 is a reply to message #618] Sun, 22 January 2006 21:18 Go to previous message
mirek is currently offline  mirek
Messages: 13976
Registered: November 2005
Ultimate Member
FULLBACKPAINT just paints it in the "backpaint" buffer and transfers the result to the screen. Means, if some areas in the window are to be repainted (U++ always cumulates are "damaged" areas and defers it as much as possible, in Win32 that is done automatically and repainting is done when WM_PAINT for top-level Ctrl is recieved, in X11 a lot of additional code is inbolved).

In other words, without FULLBACKPAINT all Paint routines draw directly to the screen, which can result in flickering.

With FULLBACKPAINT, help buffer is used, Paint paints to it and then it is transfered to the screen.

Alternative mode backpaints areas covered by transparent Ctrls only, as those are places where flickering is most visible. This mode is default (and it is also the only reason for "Ctrl::Transparent" flag to exist).

(Remaining option, EXCLUDEPAINT, is just "misuse" that reuses the flag to support special cases, like OLE controls that have WM_PAINT based painting).

Sorry for confusion. Please feel free to improve on docs if you are going to fix grammar there.
 
Read Message
Read Message
Read Message
Read Message
Next Topic: How (... if ) .SetAlpha(byte alpha) works?
Goto Forum:
  


Current Time: Sun May 12 03:59:26 CEST 2024

Total time taken to generate the page: 0.02633 seconds