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>
27 #include "gtkstylecontext.h"
28 #include "gtksymboliccolor.h"
29 #include "gtkicontheme.h"
30 #include "gtkcsstypesprivate.h"
31 #include "gtkroundedboxprivate.h"
35 typedef struct _GtkShadow GtkShadow;
37 #define GTK_TYPE_SHADOW (_gtk_shadow_get_type ())
39 GType _gtk_shadow_get_type (void) G_GNUC_CONST;
41 GtkShadow *_gtk_shadow_new (void);
42 GtkShadow *_gtk_shadow_ref (GtkShadow *shadow);
43 void _gtk_shadow_unref (GtkShadow *shadow);
45 void _gtk_shadow_append (GtkShadow *shadow,
51 GtkSymbolicColor *color);
53 void _gtk_shadow_print (GtkShadow *shadow,
56 GtkShadow *_gtk_shadow_resolve (GtkShadow *shadow,
57 GtkStyleContext *context);
58 gboolean _gtk_shadow_get_resolved (GtkShadow *shadow);
60 void _gtk_text_shadow_paint_layout (GtkShadow *shadow,
64 void _gtk_icon_shadow_paint (GtkShadow *shadow,
67 void _gtk_icon_shadow_paint_spinner (GtkShadow *shadow,
71 void _gtk_box_shadow_render (GtkShadow *shadow,
73 const GtkRoundedBox *padding_box);
77 #endif /* __GTK_SHADOW_H__ */