Benjamin Otte
0138af9f96
rendericon: Save and restore cairo matrix
...
... instead of requiring cairo_save()/cairo_restore().
2016-01-11 17:03:07 +01:00
Benjamin Otte
d3cf3fd267
rendericon: Move a function
...
The function is identical if used for builtin icons and regular icons
(as per iconhelper). So split it out in a way that doesn't assume
either.
2015-12-16 04:46:22 +01:00
Benjamin Otte
75d7f7e756
css: Move enum
...
I want to use it for a gadget, so it's better in the generic file.
2015-12-16 01:50:00 +01:00
Benjamin Otte
e723fccaa9
rendericon: Restore cairo matrix after rendering
2015-12-15 08:41:16 -05:00
Benjamin Otte
f7433557ab
render: Implement -gtk-icon-transform for icon surfaces
...
Yes, I like playing around. To enjoy, add this CSS to your application
of choice (preferrably glade or something with lots of images):
GtkImage { animation: spin 2s linear infinite; }
You can thank me later.
2015-01-20 06:30:20 +01:00
Benjamin Otte
8c745088d5
render: Split icon surface rendering out
...
Just like normal icons, icon surfaces belong into gtkrendericon.c.
2015-01-20 06:30:20 +01:00
Benjamin Otte
f6d64f6591
render: Split icon rendering into its own file
2015-01-20 06:30:19 +01:00