Timm Bäder
2bab2048f9
cssimageicontheme: Cache size + texture
2017-03-31 09:50:39 +02:00
Benjamin Otte
6055028c96
snapshot: Rename append APIs
...
Instead of having gtk_snapshot_append_foo_node(), just have
gtk_snapshot_append_foo(). Nobody needs to know that this internally
uses nodes.
2017-01-13 04:46:09 +01:00
Benjamin Otte
2571036c07
gsk: Turn GskTexture into a GObject
2017-01-01 19:53:36 +01:00
Benjamin Otte
58b2c1d009
cssimage: Port a few more simple ones to snapshots
2016-12-20 18:01:10 +01:00
Matthias Clasen
1009c88186
Make -gtk-icontheme() use -gtk-icon-palette
...
This makes it possible to recolor themed icons with -gtk-icon-palette,
regardless whether they are loaded by the theme or the application.
2016-01-13 16:17:44 -05:00
Benjamin Otte
bc1b53a34c
css: Query icon theme from style, not from settings
...
No need to look at the settings when the CSS has a property for the icon
theme.
2015-12-02 03:18:26 +01:00
Benjamin Otte
da25771e58
cssvalue: Remove GtkCssDependencies
...
They are not used anymore.
2015-03-18 15:23:31 +01:00
Benjamin Otte
1116914ea0
css: Move scale to GtkStyleProviderPrivate
...
This way, we can remove it as a separate argument from
gtk_css_value_compute() and allow computation to only depend on one
thing: the style provider.
2015-02-06 11:26:31 +01:00
Benjamin Otte
572f46067f
cssstyle: Rename GtkCssComputedValues => GtkCssStyle
...
This is literally just renaming of the object (and the associated source
files). No other changes are in there.
2015-01-07 14:26:46 +01:00
Matthias Clasen
d55e3b25a7
Fix various compiler warnings
...
Mostly missing declarations and missing statics.
2014-09-05 21:21:49 -04:00
Benjamin Otte
43788ba936
cssimageicontheme: Handle scale factors correctly
...
Code didn't account for the pixbuf returned being scaled.
2014-07-02 19:48:44 +02:00
Matthias Clasen
d143919527
GtkCssImageIconName: Plug a memory leak
...
valgrind was complaining that we're not freeing the icon_name.
2014-06-28 22:39:02 -04:00
Benjamin Otte
271ef198bf
cssimage: Implement symbolic coloring for -gtk-icontheme()
2014-05-16 04:13:39 +02:00
Benjamin Otte
633ec8184d
css: Add support for -gtk-icontheme("icon-name")
...
This allows using icons from the icontheme as images in CSS. The
reasoning is that this allows to give the image control about how it's
scaled (by using the icon theme's scaling method. So we can get crisp
images at different resolutions.
2014-05-14 04:28:33 +02:00