gadgetviewer
gadgetviewer copied to clipboard
GTK3 support
This branch contains (incomplete) modifications to make gadgetviewer compile with GTK3.
This is now mostly working, but not efficient.
This branch will need at least GTK 3.20 now.
Switching off animations in gtk-3 makes this branch perform much more like the gtk-2 version, on Cosma at least.
This is still likely to be a bit slower because the images are generated by the Fortran code are in a different format from the 32 bit ARGB needed by Cairo, so there's a conversion to do on every frame. To eliminate that I'd have to get a pointer to the Cairo surface data, have the image generation code update the surface directly, then mark the surface as updated.