Home » Developing U++ » U++ TheIDE and Library: Releases and ChangeLogs » Painting refactored...
Painting refactored... [message #4111] |
Fri, 21 July 2006 12:17 |
|
mirek
Messages: 13975 Registered: November 2005
|
Ultimate Member |
|
|
The most important difference is that frames are now transparent.
Painting engine was optimized, should be now faster.
Following complicated Ctrl virtuals are now gone:
virtual Vector<Rect> GetTransparentFrameRects();
virtual Vector<Rect> GetOpaqueFrameRects();
virtual Vector<Rect> GetTransparentViewRects();
virtual Vector<Rect> GetOpaqueViewRects();
replaced by simple
virtual Rect GetOpaqueRect();
which can simply return the opaque view rect (and painting engine uses that value to optimize drawing). Default implementation is
Rect Ctrl::GetOpaqueRect()
{
return IsTransparent() ? Rect(0, 0, 0, 0) : GetSize();
}
Mirek
[Updated on: Fri, 21 July 2006 12:17] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Sat May 04 01:25:28 CEST 2024
Total time taken to generate the page: 0.02789 seconds
|