1 /*
2  *
3  * This program is free software; you can redistribute it and/or modify it
4  * under the terms of the GNU Lesser General Public License as published by
5  * the Free Software Foundation.
6  *
7  * This program is distributed in the hope that it will be useful, but
8  * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
9  * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
10  * for more details.
11  *
12  * You should have received a copy of the GNU Lesser General Public License
13  * along with this program; if not, see <http://www.gnu.org/licenses/>.
14  *
15  *
16  * Authors:
17  *		Chris Lahey <clahey@ximian.com>
18  *		Miguel de Icaza <miguel@ximian.com>
19  *		Federico Mena-Quintero <federico@ximian.com>
20  *
21  * Copyright (C) 1999-2008 Novell, Inc. (www.novell.com)
22  *
23  */
24 
25 #if !defined (__E_UTIL_H_INSIDE__) && !defined (LIBEUTIL_COMPILATION)
26 #error "Only <e-util/e-util.h> should be included directly."
27 #endif
28 
29 #ifndef E_TABLE_HEADER_UTILS_H
30 #define E_TABLE_HEADER_UTILS_H
31 
32 #include <e-util/e-table-col.h>
33 
34 G_BEGIN_DECLS
35 
36 gdouble		e_table_header_compute_height	(ETableCol *ecol,
37 						 GtkWidget *widget);
38 gdouble		e_table_header_width_extras	(GtkWidget *widget);
39 void		e_table_header_draw_button	(cairo_t *cr,
40 						 ETableCol *ecol,
41 						 GtkWidget *widget,
42 						 gint x,
43 						 gint y,
44 						 gint width,
45 						 gint height,
46 						 gint button_width,
47 						 gint button_height,
48 						 ETableColArrow arrow);
49 
50 G_END_DECLS
51 
52 #endif /* E_TABLE_HEADER_UTILS_H */
53