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 » Developing U++ » U++ Developers corner » Should we double-buffer by default?
Re: Should we double-buffer by default? [message #4071 is a reply to message #4070] Wed, 19 July 2006 11:47 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14261
Registered: November 2005
Ultimate Member
Attempt to describe sibling Ctrl intersection problem:

You have opaque Ctrl (can be painted unbuffered) which is intersected by next sibling transparent Ctrl (other part of this sibling Ctrl is above either parent Ctrl or worse, can be above ANOTHER opaque sibling).

Now the correct appearance should be the same as if you paint everything from the first child to the last, doing the same for childs of childs etc... Means next sibling Ctrl should be painted over our opaque Ctrl. Note that you want to backpaint this transparent Ctrl.

This was in U++ (in old and monday/thuesday versions) solved by scanning for all transparent (or non-opaque) areas and back-painting them whith all "bellow" Ctrls (including opaque). The trouble of this approach is that some areas get painted more times.

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: let's discuss new Draw principles and problems...
Next Topic: A list of SQL dialects to support (eventually)..
Goto Forum:
  


Current Time: Sun Jun 08 22:17:53 CEST 2025

Total time taken to generate the page: 0.04436 seconds