1 /* GTK - The GIMP Toolkit
2 * Copyright (C) 2011 Benjamin Otte <otte@gnome.org>
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the
16 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
17 * Boston, MA 02111-1307, USA.
20 #ifndef __GTK_CSS_TYPES_PRIVATE_H__
21 #define __GTK_CSS_TYPES_PRIVATE_H__
23 #include <glib-object.h>
28 GTK_CSS_BACKGROUND_REPEAT_STYLE_NONE,
29 GTK_CSS_BACKGROUND_REPEAT_STYLE_REPEAT,
30 GTK_CSS_BACKGROUND_REPEAT_STYLE_NO_REPEAT,
31 } GtkCssBackgroundRepeatStyle;
34 GTK_CSS_REPEAT_STYLE_NONE,
35 GTK_CSS_REPEAT_STYLE_REPEAT,
36 GTK_CSS_REPEAT_STYLE_ROUND,
37 GTK_CSS_REPEAT_STYLE_SPACE
38 } GtkCssBorderRepeatStyle;
40 typedef struct _GtkCssBackgroundRepeat GtkCssBackgroundRepeat;
42 typedef struct _GtkCssBorderCornerRadius GtkCssBorderCornerRadius;
43 typedef struct _GtkCssBorderRadius GtkCssBorderRadius;
44 typedef struct _GtkCssBorderImageRepeat GtkCssBorderImageRepeat;
46 struct _GtkCssBackgroundRepeat {
47 /* FIXME: will have vrepeat and hrepeat instead */
48 GtkCssBackgroundRepeatStyle repeat;
51 struct _GtkCssBorderCornerRadius {
56 struct _GtkCssBorderRadius {
57 GtkCssBorderCornerRadius top_left;
58 GtkCssBorderCornerRadius top_right;
59 GtkCssBorderCornerRadius bottom_right;
60 GtkCssBorderCornerRadius bottom_left;
63 struct _GtkCssBorderImageRepeat {
64 GtkCssBorderRepeatStyle vrepeat;
65 GtkCssBorderRepeatStyle hrepeat;
68 #define GTK_TYPE_CSS_BACKGROUND_REPEAT _gtk_css_background_repeat_get_type ()
70 #define GTK_TYPE_CSS_BORDER_CORNER_RADIUS _gtk_css_border_corner_radius_get_type ()
71 #define GTK_TYPE_CSS_BORDER_RADIUS _gtk_css_border_radius_get_type ()
72 #define GTK_TYPE_CSS_BORDER_IMAGE_REPEAT _gtk_css_border_image_repeat_get_type ()
74 GType _gtk_css_background_repeat_get_type (void);
76 GType _gtk_css_border_corner_radius_get_type (void);
77 GType _gtk_css_border_radius_get_type (void);
78 GType _gtk_css_border_image_repeat_get_type (void);
82 #endif /* __GTK_CSS_TYPES_PRIVATE_H__ */