texmacs-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Texmacs-dev] native and GPL port of QT to win32


From: Joris van der Hoeven
Subject: Re: [Texmacs-dev] native and GPL port of QT to win32
Date: Wed, 5 Feb 2003 12:10:47 +0100 (MET)

> Don't worry about modifying the code on my account.  As a matter of
> fact, the less you modify it, the less I will have to modify the new
> code in the future.  

In principle, there should not be many modifications in the X interface,
apart from a few pending bugfixes. The only thing we might do in
the future is adding some new widgets (without incidence for you) and
implement the TMGUI abstraction (which will mainly reorganize
the directory structure and maybe necessitate one level of abstraction).

> Oh, I have one question regarding the code.
> 
> When exactly do you display the menu and other canvas widgets??  Is it
> before the first call to XNextEvent,

In the main event loop, repainting is done only when there are no more
pending events. You may put some "cout<<" statements in the event loop
in order to know which events are pending when starting up.
I guess that there will be some invalidate-region events pending.

> or is it after when you start to build the clipping regions??

Necessarily yes: we repaint only the regions which are in a list
of invalid rectangles. I actually planned to perform some simplifications
in this list in order to merge adjacent regions together. 

> Any information regarding the GUI process
> may save me some time.
> 
> Just so you know, I have everything *working* in the startup phase up
> until the point when you build the first region.  All X calls required
> up until this point have been written to use Win32.  

Cool.

In fact, did you try to build some of the programs in TeXmacs-misc?
See the files TeXmacs-*-misc.tar.gz on ftp://ftp.texmacs.org/pub/TeXmacs/misc
This will allow you to check whether the things you have done so far
are working on some examples of lesser complexity.

Yours, Joris





reply via email to

[Prev in Thread] Current Thread [Next in Thread]