Sugar Learning Environment, Activity Toolkit, GTK 3.
afcb2fcea9
Previously we were using a GdkPixmap [1] created with the get_snapshot [2] method of the Gtk.Widget. GTK 3 encourages to use cairo surfaces now instead. The ported mothod does create a cairo surface similar to that of the canvas' window and draws on that. Then we create a cairo image surface with the desired preview size and scale the canvas surface on that. Several people have been involved in this work: Gonzalo Odiard, Manuel Quiñones and Benjamin Berg. [1] http://developer.gnome.org/gdk/stable/gdk-Bitmaps-and-Pixmaps.html#GdkPixmap [2] http://developer.gnome.org/gtk/stable/GtkWidget.html#gtk-widget-get-snapshot |
||
---|---|---|
bin | ||
examples | ||
m4 | ||
po | ||
src | ||
tests | ||
.gitignore | ||
AUTHORS | ||
autogen.sh | ||
configure.ac | ||
COPYING | ||
MAINTAINERS | ||
Makefile.am | ||
README |
Sugar is the core of the OLPC Human Interface. The toolkit provides a set of widgets to build HIG compliant applications and interfaces to interact with system services like presence and the datastore.