From de3111f1ffa6e40fa3a61808288ce92a3794cda0 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Sat, 7 Jan 2012 16:48:42 +0100 Subject: [PATCH] API: Add all border styles from CSS 3 --- gtk/gtkenums.h | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/gtk/gtkenums.h b/gtk/gtkenums.h index 7045f922c2..5e4c570e8d 100644 --- a/gtk/gtkenums.h +++ b/gtk/gtkenums.h @@ -907,9 +907,15 @@ typedef enum { /** * GtkBorderStyle: * @GTK_BORDER_STYLE_NONE: No visible border - * @GTK_BORDER_STYLE_SOLID: A solid border - * @GTK_BORDER_STYLE_INSET: An inset border - * @GTK_BORDER_STYLE_OUTSET: An outset border + * @GTK_BORDER_STYLE_SOLID: A single line segment + * @GTK_BORDER_STYLE_INSET: Looks as if the content is sunken into the canvas + * @GTK_BORDER_STYLE_OUTSET: Looks as if the content is coming out of the canvas + * @GTK_BORDER_STYLE_HIDDEN: Same as @GTK_BORDER_STYLE_NONE + * @GTK_BORDER_STYLE_DOTTED: A series of round dots + * @GTK_BORDER_STYLE_DASHED: A series of square-ended dashes + * @GTK_BORDER_STYLE_DOUBLE: Two parrallel lines with some space between them + * @GTK_BORDER_STYLE_GROOVE: Looks as if it were carved in the canvas + * @GTK_BORDER_STYLE_RIDGE: Looks as if it were coming out of the canvas * * Describes how the border of a UI element should be rendered. */ @@ -917,7 +923,13 @@ typedef enum { GTK_BORDER_STYLE_NONE, GTK_BORDER_STYLE_SOLID, GTK_BORDER_STYLE_INSET, - GTK_BORDER_STYLE_OUTSET + GTK_BORDER_STYLE_OUTSET, + GTK_BORDER_STYLE_HIDDEN, + GTK_BORDER_STYLE_DOTTED, + GTK_BORDER_STYLE_DASHED, + GTK_BORDER_STYLE_DOUBLE, + GTK_BORDER_STYLE_GROOVE, + GTK_BORDER_STYLE_RIDGE } GtkBorderStyle; G_END_DECLS