render: Move code for rendering builtin images

Desktop / GNOME / GTK - Benjamin Otte [redhat.com] - 19 January 2015 23:30 UTC

Also, make it have a generic entry point with gtk_css_image_builtin_draw().

The only feature lost so is the drawing of shadows for spinners, but that will come back later.

1c3dd5d render: Move code for rendering builtin images
gtk/gtkcssimagebuiltin.c | 794 ++++++++++++++++++++++++++++++++++++-
gtk/gtkcssimagebuiltinprivate.h | 25 ++
gtk/gtkrender.c | 818 ++++++++-------------------------------
3 files changed, 976 insertions(+), 661 deletions(-)

Upstream: git.gnome.org


  • Share