On Wed, 24 Jun 2009 10:46:54 +0200, Pawe³ Blokus wrote:

> What goes for the migration, I tried not to change the API drastically
> so there will be, hopefully, not many changes to be done.

My current treeview code is somewhat custom and ignores most of the
(old) proper functions, so I'm doubting that.

> Both
> treeview and textarea need redraw_start and redraw_end callbacks
> provided by the front end. Additionally for treeview there is a set of
> functions declared as platform specific code, which I have altered a
> little. The implementation or comments are done for the GTK front end
> so you can find some useful clues there.

I've taken a look at the gtk treeview code and I don't see any
problems modifying that, even though I don't understand why there are
three functions for picking icons :)

However I also don't see any functions for opening a treeview window -
do I just open a window, create a tree if necessary and call
tree_draw()?

> I will be working on hotlist/cookie/global history once treeview and
> textinput get merged to trunk.

It looks like you've moved global history across already?  gtk's
global history file is pretty much empty, and I don't think there is
anything in mine which isn't in desktop/history_global_core.c.

> Once they are ready, the only thing the
> front end has to provide (in addition to mouse/keyboard event passing
> and redraw callbacks) will be a toolbar connected
> to the API which will be created.

I can see my current toolbar needing a bit of rework in the interim. 
I might just leave it in a broken state for now...

Regards
Chris

Reply via email to