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 » Graphics Context and Draw Object
Re: Graphics Context and Draw Object [message #5895 is a reply to message #5892] Mon, 23 October 2006 17:25 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Quote:


I shall look at the Scintilla Library code again. But if Scintilla has such a method, which it does seem to have, how would u synchronize it with TimerAndPaint? Or are you suggesting to use that method to send a *direct* msg to the display system? Scintilla does have a sendWndMsg function...


Paint is called when either system or U++ widget requires so (second thing does not happen unless you call Refresh somewhere in the widget code). So in fact, you can think about Paint as "system requested repaint". Such thing can happen at any moment in both X11 and Win32, so scintilla MUST be able to handle such request.

So what you are supposed to do is to call scintilla's form of view area repaint in Paint method - then nothing can go wrong (even using the ViewDraw).

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
Previous Topic: GIF reader BUG? Or BUG in inserting GIF into QTF?
Next Topic: image of cursor
Goto Forum:
  


Current Time: Wed May 08 07:52:25 CEST 2024

Total time taken to generate the page: 0.01306 seconds