summaryrefslogtreecommitdiff
path: root/gtk/gtkstyleproviderprivate.h
Commit message (Collapse)AuthorAgeFilesLines
* css: Merge GtkStyleProviderPrivate into GtkStyleProviderBenjamin Otte2017-10-311-23/+17
| | | | | | | | This is just lots of renaming. The interface remains private, so the public API does not change, apart from removing the definition of the Interface object to avoid subclassing.
* CSS provider: Add a way to emit errorsMatthias Clasen2016-01-301-1/+7
| | | | | | | | | | Currently, GtkCssProvider can emit ::parsing-error only during the actual parsing, although the documentation hints that it might happen at other times. This commit adds a emit_error method to the GtkStyleProviderPrivate interface that will let us emit errors from the compute() implementations as well, which can be useful (e.g. if an image fails to load).
* css: Move scale to GtkStyleProviderPrivatewip/mir2Benjamin Otte2015-02-061-0/+2
| | | | | | 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.
* styleprovider: Fold get_change() vfunc into lookup()Benjamin Otte2014-12-101-6/+4
|
* style: Add _gtk_style_provider_private_get_settings()Benjamin Otte2012-12-011-0/+2
| | | | | | | | This gives a GtkSettings object for resolving system-dependant things - like the default font family and font size. No code does this yet, but we have an API. Only GtkSettings implements this.
* styleprovider: Change function prototypeBenjamin Otte2012-11-251-4/+3
| | | | | | | Make _gtk_style_provider_private_get_color() return a GtkCssValue (a GtkCssColorValue to be exact) instead of GtkSymbolicColor. With this, the symbolic color usage inside GTK is minimized.
* symboliccolor: Change prototype of _gtk_symbolic_color_resolve_full()Benjamin Otte2012-09-281-1/+1
| | | | | We can juts pass a GtkStyleProviderPrivate, that one has the vfunc we want already. So no need to pass vfuncs anymore.
* styleprovider: Add query function for keyframesBenjamin Otte2012-09-171-0/+5
|
* styleprovider: Add a private signal for when things changeBenjamin Otte2012-04-171-0/+5
|
* syleprovider: Add a vfunc to get the changesBenjamin Otte2012-04-171-0/+4
| | | | This way we can check what changes are even interesting for our matcher.
* css: Make the style provider take a matcher as an input argumentBenjamin Otte2012-04-171-4/+3
|
* gtk: Get gtkwidgetpath.h includes out of the public headersBenjamin Otte2012-03-191-1/+1
| | | | and include them in the C files instead.
* Change FSF AddressJavier Jardón2012-02-271-3/+1
|
* css: Redo StyleProvider interfaceBenjamin Otte2012-01-091-0/+62
We now use the GtkStleProviderPrivate interface, which hopefully is faster and more conformant to CSS. Long term, it definitely should be both. I would have liked to split this up into multiple commits, but couldn't find a way.