summaryrefslogtreecommitdiff
path: root/gtk/gtkcssstyleprivate.h
Commit message (Collapse)AuthorAgeFilesLines
* Improve formatting of CSS style printsMatthias Clasen2016-01-031-1/+1
| | | | | Add a newline after CSS properties, so things don't run into each other.
* Redo CSS style printingMatthias Clasen2016-01-031-1/+3
| | | | | | | | | | | Drop the custom style printing implementation in gtkcssnode.c and instead reuse the existing gtk_css_style_print function, extending it a bit to suit our needs. Instead of computing values, just recognize initial values by having no CSS section. Also do away with the show-initial flag, and just always filter out initial values. The flag can come back when it is needed.
* css style: Accumulate changes in placeMatthias Clasen2015-09-281-1/+2
| | | | | This avoids allocating a temporary bitmask, and lets us avoid some value comparisons altogether.
* cssstyle: Add gtk_css_style_is_static()Benjamin Otte2015-03-181-0/+3
| | | | | | | Gets rid of the need to do if (ANIMATED_STYLE() && animated_style_is_static(ANIMATED_STYLE(style))
* cssstyle: Move function from vfunc to static funcBenjamin Otte2015-01-071-9/+0
| | | | | compute_dependencies() is only used internally by GtkCssStaticStyle, so there's no need to have it elsewhere.
* cssstyle: Split into GtkCssStyle and GtkCssAnimatedStyleBenjamin Otte2015-01-071-38/+15
| | | | | | | | GtkCssStyle is the base class to be used for all types of styles that do exist. GtkCssAnimatedStyle is the only implementation so far, that is exactly a copy/paste of the old GtkCssStyle code.
* cssstyle: Rename GtkCssComputedValues => GtkCssStyleBenjamin Otte2015-01-071-0/+106
This is literally just renaming of the object (and the associated source files). No other changes are in there.