ddd
[Top][All Lists]
Advanced

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

Re: Porting DDD to other widget-sets (gtkmm?)


From: mark cox
Subject: Re: Porting DDD to other widget-sets (gtkmm?)
Date: Sat, 15 Mar 2008 11:50:10 +1100

Looking through the document, i get the impression that you are not trying to restructure the code to separate the gui from application logic, but just to replace all the motif calls by calls to the shim, is that correct?

Regards,
mark


On Sat, Mar 15, 2008 at 7:01 AM, Peter Wainwright <address@hidden> wrote:
I have been looking at the possibility of a gtkmm port for 18 months,
and am putting together some code in "branches/gddd".  The solution I
eventually came up with was an object-oriented GUI interface, modelled
on a small subset of gtkmm, which would act as a shim between DDD itself
and the underlying widget sets.  Hopefully such a thing would allow
Motif, GTK and perhaps even Qt ports to exist.

However, as Andrew has pointed out, the GUI calls are scattered
throughout DDD so that tracking them down and redirecting them through
the new abstract interface has been time-consuming and is far from
finished.  Particularly because my first attempt was a bunch of dirty
macro hacks which I have now abandoned.

A short introduction to this work can be found on this site:

 http://www.ceiriog.eclipse.co.uk/ddd-gtk.pdf

(also available as a Docbook XML file in the "docs" subdirectory of the
source).  I intend to add to this, in particular there should be some
information on the modifications I made to the MMDesc type in order to
generate the new-style widgets.

Peter Wainwright


_______________________________________________
Ddd mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/ddd


reply via email to

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