1 /* GTK - The GIMP Toolkit
2 * Copyright (C) 2010 Carlos Garnacho <carlosg@gnome.org>
3 * Copyright (C) 2011 Red Hat, Inc.
5 * Authors: Carlos Garnacho <carlosg@gnome.org>
6 * Cosimo Cecchi <cosimoc@gnome.org>
8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Lesser General Public
10 * License as published by the Free Software Foundation; either
11 * version 2 of the License, or (at your option) any later version.
13 * This library is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * Lesser General Public License for more details.
18 * You should have received a copy of the GNU Lesser General Public
19 * License along with this library; if not, write to the
20 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
21 * Boston, MA 02111-1307, USA.
24 #ifndef __GTK_BORDER_IMAGE_H__
25 #define __GTK_BORDER_IMAGE_H__
27 #include "gtkborder.h"
28 #include "gtkcssimageprivate.h"
29 #include "gtkthemingengine.h"
30 #include "gtkcsstypesprivate.h"
34 typedef struct _GtkBorderImage GtkBorderImage;
36 struct _GtkBorderImage {
42 GtkCssBorderImageRepeat repeat;
45 gboolean _gtk_border_image_init (GtkBorderImage *image,
46 GtkThemingEngine *engine);
48 void _gtk_border_image_render (GtkBorderImage *image,
49 GtkBorder *border_width,
58 #endif /* __GTK_BORDER_IMAGE_H__ */