diff options
author | Alexander Larsson <alexl@redhat.com> | 2013-06-27 18:26:05 +0200 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2013-07-03 14:39:25 +0200 |
commit | af2c40bd54149237cd4ab998b5515167018fdc47 (patch) | |
tree | 09b605f0a8192ea4215863cdca2082eaf263d3a8 /gtk/gtkcsskeyframesprivate.h | |
parent | 38e1748df89ef0a92b050f77529cd42cea9b3caa (diff) | |
download | gtk+-af2c40bd54149237cd4ab998b5515167018fdc47.tar.gz |
css: Add a scale argument to css-value compute vfunc
We need to be able to compute different GtkCssImage values
depending on the scale, and we need this at compute time so that
we don't need to read any images other than the scale in used (to
e.g. calculate the image size). GtkStyleProviderPrivate is shared
for all style contexts, so its not right.
Diffstat (limited to 'gtk/gtkcsskeyframesprivate.h')
-rw-r--r-- | gtk/gtkcsskeyframesprivate.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtkcsskeyframesprivate.h b/gtk/gtkcsskeyframesprivate.h index 9ec76fe6aa..160d4c5f3f 100644 --- a/gtk/gtkcsskeyframesprivate.h +++ b/gtk/gtkcsskeyframesprivate.h @@ -38,6 +38,7 @@ void _gtk_css_keyframes_print (GtkCssKeyframes GtkCssKeyframes * _gtk_css_keyframes_compute (GtkCssKeyframes *keyframes, GtkStyleProviderPrivate *provider, + int scale, GtkCssComputedValues *values, GtkCssComputedValues *parent_values); |