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 » Optimal ctrl refresh
Optimal ctrl refresh [message #21338] Wed, 13 May 2009 23:21 Go to next message
stalker is currently offline  stalker
Messages: 2
Registered: May 2009
Location: Russia
Junior Member
I need to redraw only part of drawing area, which had changed. How it can be done? I found "Ctrl::Refresh(const Rect& r)", but how in this case get this "r" in Ctrl::Paint? Or I need some other method to use?
Re: Optimal ctrl refresh [message #21339 is a reply to message #21338] Wed, 13 May 2009 23:24 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 14072
Registered: November 2005
Ultimate Member
Using IsPainting.

Mirek
Re: Optimal ctrl refresh [message #21340 is a reply to message #21339] Wed, 13 May 2009 23:28 Go to previous messageGo to next message
stalker is currently offline  stalker
Messages: 2
Registered: May 2009
Location: Russia
Junior Member
Which namespace? Ctrl, Draw?
Thanks for answers...
Re: Optimal ctrl refresh [message #21341 is a reply to message #21340] Wed, 13 May 2009 23:40 Go to previous message
mirek is currently offline  mirek
Messages: 14072
Registered: November 2005
Ultimate Member
It is method of Draw.

Mirek
Previous Topic: Drawing rectangles question
Next Topic: [SOLVED] accessing pixels in JPEG created from memory buffer
Goto Forum:
  


Current Time: Wed Oct 16 02:51:43 CEST 2024

Total time taken to generate the page: 0.03285 seconds