1 /* GTK - The GIMP Toolkit
2 * Copyright (C) 2011 Red Hat, Inc.
4 * Author: Cosimo Cecchi <cosimoc@gnome.org>
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the
18 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19 * Boston, MA 02111-1307, USA.
22 #ifndef __GTK_SHADOW_H__
23 #define __GTK_SHADOW_H__
25 #include <glib-object.h>
26 #include <gtk/gtkstyleproperties.h>
27 #include <gtk/gtksymboliccolor.h>
28 #include <gtk/gtkicontheme.h>
32 typedef struct _GtkShadow GtkShadow;
34 #define GTK_TYPE_SHADOW (_gtk_shadow_get_type ())
36 GType _gtk_shadow_get_type (void) G_GNUC_CONST;
38 GtkShadow *_gtk_shadow_new (void);
39 GtkShadow *_gtk_shadow_ref (GtkShadow *shadow);
40 void _gtk_shadow_unref (GtkShadow *shadow);
42 void _gtk_shadow_append (GtkShadow *shadow,
48 GtkSymbolicColor *color);
50 void _gtk_shadow_print (GtkShadow *shadow,
53 GtkShadow *_gtk_shadow_resolve (GtkShadow *shadow,
54 GtkStyleProperties *props);
55 gboolean _gtk_shadow_get_resolved (GtkShadow *shadow);
57 void _gtk_text_shadow_paint_layout (GtkShadow *shadow,
63 #endif /* __GTK_SHADOW_H__ */