summaryrefslogtreecommitdiff
path: root/gtk/gtkcssimagelinear.c
Commit message (Collapse)AuthorAgeFilesLines
* css: Fold color value computation into gtksymboliccolor.cBenjamin Otte2012-08-281-9/+1
| | | | | | | This gets rid of the public function _gtk_css_rgba_value_compute_from_symbolic(). The fallback is now handled using a switch statement instead of letting the caller pass the function.
* css: Pass property_id to compute functionBenjamin Otte2012-08-281-2/+3
| | | | | | | | | | | | | | | | This is a reorganization of how value computing should be done. Previously the GtkCssStyleProperty.compute vfunc was supposed to take care of special cases when it needed those for computation. However, this proved to be very complicated in cases where values were nested and only the last value (of a common type) needed to be special cased. A common example for this was the fallback handling for unresolvable colors. Now, we pass the property's ID along with all compute functions so we can do the special casing where it's necessary. Note that no actual changes happen in this commit. This will happen in follow-ups.
* css: Introduce _gtk_css_value_compute()Benjamin Otte2012-08-281-2/+2
| | | | | | | This commit is essentially a large reorganization. Instead of all value subtypes having their own compute function, there is the general _gtk_css_value_compute() function that then calls a vfunc on the subtype.
* cssimage: No need to pass base file anymoreBenjamin Otte2012-05-111-2/+1
| | | | The file is now part of the GtkCssParser
* symboliccolor: Treat it as a CssValueBenjamin Otte2012-04-171-6/+4
| | | | .. now that it is one.
* cssparser: Move symbolic color parser to gtksymboliccolor.cBenjamin Otte2012-04-171-1/+1
|
* linear-gradient: Convert from GtkCssNumber to GtkCssValueBenjamin Otte2012-04-171-77/+73
|
* Change FSF AddressJavier Jardón2012-02-271-2/+1
|
* css: Implement repeating linear gradientsBenjamin Otte2012-02-021-3/+15
|
* css: Implement CSS 3 linear-gradient() syntaxBenjamin Otte2012-02-021-0/+497