summaryrefslogtreecommitdiff
path: root/gtk/gtkrenderborderprivate.h
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2016-12-18 18:14:53 +0100
committerBenjamin Otte <otte@redhat.com>2016-12-20 18:01:11 +0100
commit75b76af2214277856efe9629939859deebcf914d (patch)
treefe695e958ebb0f35374758e21e0789889e8f2036 /gtk/gtkrenderborderprivate.h
parent9af468cdec1c8b4dc603ff36c286288b2c85eb9e (diff)
downloadgtk+-75b76af2214277856efe9629939859deebcf914d.tar.gz
gsk: Add GskBorderNode
The node draws a solid CSS border, which can be used to cover everything but dashed and dotted borders (double, groove, inset, ...). For different border styles, we overlay multiple nodes and set their colors to transparent for sides with non-matching styles.
Diffstat (limited to 'gtk/gtkrenderborderprivate.h')
-rw-r--r--gtk/gtkrenderborderprivate.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkrenderborderprivate.h b/gtk/gtkrenderborderprivate.h
index f89cdcb600..4de9d6da35 100644
--- a/gtk/gtkrenderborderprivate.h
+++ b/gtk/gtkrenderborderprivate.h
@@ -44,7 +44,7 @@ gboolean gtk_css_style_render_border_get_clip (GtkCssStyle
gdouble height,
GdkRectangle *out_clip) G_GNUC_WARN_UNUSED_RESULT;
void gtk_css_style_snapshot_border (GtkCssStyle *style,
- GtkSnapshot *state,
+ GtkSnapshot *snapshot,
gdouble width,
gdouble height,
GtkJunctionSides junction);
@@ -57,7 +57,7 @@ void gtk_css_style_render_outline (GtkCssStyle
gdouble width,
gdouble height);
void gtk_css_style_snapshot_outline (GtkCssStyle *style,
- GtkSnapshot *state,
+ GtkSnapshot *snapshot,
gdouble width,
gdouble height);
gboolean gtk_css_style_render_outline_get_clip (GtkCssStyle *style,