On Sun, 05 Jul 2009 03:18:41 +0100, John-Mark Bell wrote:
> > Index: amiga/tree.c
> > ===================================================================
> > --- amiga/tree.c (revision 8239)
> > +++ amiga/tree.c (working copy)
> > @@ -451,7 +451,7 @@
> > if(!node->parent) flags |= LBFLG_HIDDEN;
> >
> > switch (element->type) {
> > - case NODE_ELEMENT_TEXT_PLUS_SPRITE:
> > +/* case NODE_ELEMENT_TEXT_PLUS_SPRITE:*/
>
> Should this be replaced with NODE_ELEMENT_TEXT_PLUS_ICON?
Probably - that was my doing. I've obliterated amiga/tree.c now
anyway to see if I can get something that works with the new API.
My only concern at this point in time is that there seems to be no way
of drawing a scrolled section of tree. tree_draw only supports
clipping co-ordinates, so changing the parameters only adjusts the
viewing area not where the tree is placed.
I can see that struct tree has x and y co-ordinates, which
according to the description will probably do what I need, but there
is no way of modifying them after tree creation.
Chris