Here's a small demo of what's happening.
These are two images taken from test/Xm-2.0/rendition/test1.c,
one with OpenMotif, one with LessTif (version from CVS as of an
hour ago).
The short summary :
- XmFontList and XmFontListEntry are now implemented slightly
differently (w.r.t. memory allocation).
They now resemble the Motif 2.x XmRenderTable and XmRendition.
- We can get away with such a change because basically these
are pointers to opaque structures. So there shouldn't be
a binary compatibility issue.
- XmStringDraw() is being modified to be able to cope with
XmRenderTables.
- As the images show, changing font and colors somewhat works,
but tabs or getting the line height right are not ok yet.
- The inheritance mechanism for XmRendition, as described in
the Motif docs, is not yet sufficiently implemented. Still
looking for the way to do this.
Danny
--
Danny Backx ([EMAIL PROTECTED] [EMAIL PROTECTED])
Home page : http://users.skynet.be/danny.backx
Projects: LessTif (http://www.lesstif.org)
Oleo (http://www.gnu.org/software/oleo/oleo.html)

