Hello Thomas

> With FLTK it's possible to have a raw widget and use the X drawing functions to draw 
>into it.
> Should you pick FLTK I can provide you with sample code (that is how I did it).

Thats very good of you.

> GTK does have drawing widgets, but you shouldn't use the X drawing functions, but the
> gdk abstractions of them. But that isn't really a disadvantage, gdk provides 
>abstractions
> for all X drawing commands (at least I haven't found one that isn't supported by 
>gdk),
> and that makes it possible to port gdk/gtk to widely different graphics subsystems,
> such as Win32 (which already exists), or possibly a PDA, where one probably does not
> want to run X because of the memory footprint. I have example code for that too,
> and so does www.gtk.org.

>From what I remember, the way I implemented the map was to do the drawing onto an
X pixmap in memory and hand that to the Motif drawing widget. That way, all the
expose events were handled by the toolkit rather than by myself ... or am I getting
mixed up with the original version on the Archimedes ?

The range of toolkits available these days is truly bewildering.

> I don't know about QT or other toolkits.

Unfortunately all my computer related activities will be suspended for two weeks from
Thursday so I can't even look at the toolkits.

> Tom

Jonathan

Reply via email to