Tartarus CVS: putty: simon

tartarus-commits@lists.tartarus.org tartarus-commits@lists.tartarus.org
Thu, 13 Mar 2003 19:52:30 +0000


CVS Root:       /home/cvs
Module:         putty
Changes by:     simon
Date:           Thu Mar 13 2003  19:52:30 GMT

Log message:
First stab at a GTK layout engine. It's missing all sorts of stuff
(list boxes are particularly conspicuously absent), it has no event
handling at all, and it isn't in any way integrated into pterm - you
have to build it specially using the test stubs in gtkdlg.c. But
what there is so far seems to work plausibly well, so it's a start.
Rather than browbeat the existing GTK container/layout widgets into
doing what I wanted, I decided to implement two subclasses of
GtkContainer myself, which implement precisely the layout model
assumed by the config box specification; this has the rather cool
consequence that the box can be resized and will maintain the same
layout at all times that it would have had if initially created at
that size.

Modified files:
    .               : config.c
    unix            : unix.h
Added files:
    unix            : gtkcols.c gtkcols.h gtkdlg.c gtkpanel.c
                      gtkpanel.h

Links:
http://cvs.tartarus.org//putty/config.c.diff?r1=1.6&r2=1.7
http://cvs.tartarus.org//putty/unix/gtkcols.c?rev=1.1&content-type=text/vnd.viewcvs-markup
http://cvs.tartarus.org//putty/unix/gtkcols.h?rev=1.1&content-type=text/vnd.viewcvs-markup
http://cvs.tartarus.org//putty/unix/gtkdlg.c?rev=1.1&content-type=text/vnd.viewcvs-markup
http://cvs.tartarus.org//putty/unix/gtkpanel.c?rev=1.1&content-type=text/vnd.viewcvs-markup
http://cvs.tartarus.org//putty/unix/gtkpanel.h?rev=1.1&content-type=text/vnd.viewcvs-markup
http://cvs.tartarus.org//putty/unix/unix.h.diff?r1=1.24&r2=1.25