aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table-header-utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/table/e-table-header-utils.h')
-rw-r--r--widgets/table/e-table-header-utils.h38
1 files changed, 26 insertions, 12 deletions
diff --git a/widgets/table/e-table-header-utils.h b/widgets/table/e-table-header-utils.h
index bbfb1ee17b..105a14f86a 100644
--- a/widgets/table/e-table-header-utils.h
+++ b/widgets/table/e-table-header-utils.h
@@ -25,18 +25,32 @@
#define E_TABLE_HEADER_UTILS_H
#include <gal/e-table/e-table-col.h>
-
-int e_table_header_compute_height (ETableCol *ecol, GtkStyle *style, GdkFont *font);
-
-void e_table_header_draw_button (GdkDrawable *drawable, ETableCol *ecol,
- GtkStyle *style, GdkFont *font, GtkStateType state,
- GtkWidget *widget, GdkGC *gc,
- int x, int y, int width, int height,
- int button_width, int button_height,
- ETableColArrow arrow);
-
-void e_table_draw_elided_string (GdkDrawable *drawable, GdkFont *font, GdkGC *gc,
- int x, int y, const char *str, int max_width, gboolean center);
+double e_table_header_compute_height (ETableCol *ecol,
+ GtkStyle *style,
+ GdkFont *font);
+double e_table_header_width_extras (GtkStyle *style);
+void e_table_header_draw_button (GdkDrawable *drawable,
+ ETableCol *ecol,
+ GtkStyle *style,
+ GdkFont *font,
+ GtkStateType state,
+ GtkWidget *widget,
+ GdkGC *gc,
+ int x,
+ int y,
+ int width,
+ int height,
+ int button_width,
+ int button_height,
+ ETableColArrow arrow);
+void e_table_draw_elided_string (GdkDrawable *drawable,
+ GdkFont *font,
+ GdkGC *gc,
+ int x,
+ int y,
+ const char *str,
+ int max_width,
+ gboolean center);