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++ TheIDE and Library: Releases and ChangeLogs » BackPaint issues
BackPaint issues [message #12702] Tue, 13 November 2007 12:06
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Well, after the failure of the neat BackPaintHint idea, I decided to take another approach...

First of all, in Core there is now

bool IsDecentMachine();


which returns true for any machine >Win2000 >512MB memory (have not found better heurestics there...). (In linux, it always returns true).

I have recycled BackPaintHint for another meaning - it activates a BackPaint for widget, is IsDecentMachine is true.

In addition to that

	static void   Ctrl::GlobalBackPaint(bool b = true);


forces U++ to backpaint everything, always, and

	static void   Ctrl::GlobalBackPaintHint();


does the same IF the machine is "decent".

Mirek

[Updated on: Tue, 13 November 2007 12:07]

Report message to a moderator

Previous Topic: U++ translated to Finish
Next Topic: Chameleon Style::Standard
Goto Forum:
  


Current Time: Fri Apr 19 20:27:19 CEST 2024

Total time taken to generate the page: 0.02387 seconds