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 » How to know if I am drawing on screen?
Re: How to know if I am drawing on screen? [message #25722 is a reply to message #25717] Tue, 09 March 2010 11:49 Go to previous messageGo to previous message
mrjt is currently offline  mrjt
Messages: 705
Registered: March 2007
Location: London
Contributor
I don't think there is a specific way to do this. The idea is that you shouldn't care.

Maybe you could do:
if (dynamic_cast<SystemDraw>(&w)) {
   // Drawing to screen
}
else {
   // Drawing to some kind of buffer
}
 
Read Message
Read Message
Read Message
Previous Topic: Crash when loading images into 64bit exes
Next Topic: Draw::WrawText to paint ASCII sequence
Goto Forum:
  


Current Time: Fri May 10 01:19:08 CEST 2024

Total time taken to generate the page: 0.02375 seconds