Re: Re: gCvs GTK2

Richard Wirth <[email protected]> Thu, 6 Jan 2005 07:14:49 +0100
Newsgroups gmane.comp.version-control.cvs.gui.devel
Organization Ing.Büro Richard Wirth
Message-ID <[email protected]>
Hello Guy,

Wednesday, January 5, 2005, 3:01:03 PM, you wrote:


>> I finaly found why the GraphView stays grey: gtk_drawing_area_size()
>> can not be called from inside OnDrawing(). If I put this to another
>> place, we can even omit OnBlock() and OnUnblock() calls, which makes
>> the repaint of the whole thing faster and error free.

GR> I see the OnBlock and OnUnblock calls are outside of the #if qGTK block.
GR> How do you know these calls are not needed by other platforms?  I don't
GR> really understand how all the platforms are built.  I've been working on
GR> the assumption that anything gcvs-specific had to be inside of #if qGTK
GR> blocks.

It looks to my that all UCvsXyz files are only used by gCvs. My be in
early versions they were also used by Mac (Macho ?  -- Jens?).
And I suspect qUnix and qGtk are synonym (at least in UCvsXyz).
In the special case here: have a look at the OnBlock()/OnUnblock()
implementation - it is only implemented for Gtk.

Checkout the whole cvs tree and grep for the use of events/fcts of
the rf. You'll find that MacCvs and WinCvs do not make much use of it.
They often use a private implementation. Which is almost somewhat
'more featured'. And can serve as a pattern for our port. I have done
so when implementing the MergePoint-visualisation in UcvsGraph.



-- 
Best regards,
 Richard                            mailto:[email protected]



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/cvsgui-dev/

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/