aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/e-table/e-table-col.h
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-02-12 08:27:22 +0800
committerChris Lahey <clahey@src.gnome.org>2000-02-12 08:27:22 +0800
commit04bb0a4fb01448394533a80850370448a2f3aadf (patch)
tree847a8b541f2597a80e2bfdc73b3401a288368128 /widgets/e-table/e-table-col.h
parent07d9ddab8e2b6759bbe1b2364371bf5c7b6fe6de (diff)
downloadgsoc2013-evolution-04bb0a4fb01448394533a80850370448a2f3aadf.tar
gsoc2013-evolution-04bb0a4fb01448394533a80850370448a2f3aadf.tar.gz
gsoc2013-evolution-04bb0a4fb01448394533a80850370448a2f3aadf.tar.bz2
gsoc2013-evolution-04bb0a4fb01448394533a80850370448a2f3aadf.tar.lz
gsoc2013-evolution-04bb0a4fb01448394533a80850370448a2f3aadf.tar.xz
gsoc2013-evolution-04bb0a4fb01448394533a80850370448a2f3aadf.tar.zst
gsoc2013-evolution-04bb0a4fb01448394533a80850370448a2f3aadf.zip
Test column header image.
2000-02-11 Christopher James Lahey <clahey@helixcode.com> * clip.png: Test column header image. * test-check.c: Test pixbuf column headers. * e-table-col.h, e-table-col.c: Added pixbufs for column headers. * e-table-header-item.c (draw_button): Draw pixbuf column headers properly. svn path=/trunk/; revision=1739
Diffstat (limited to 'widgets/e-table/e-table-col.h')
-rw-r--r--widgets/e-table/e-table-col.h20
1 files changed, 14 insertions, 6 deletions
diff --git a/widgets/e-table/e-table-col.h b/widgets/e-table/e-table-col.h
index 54f03ae237..7356820b7a 100644
--- a/widgets/e-table/e-table-col.h
+++ b/widgets/e-table/e-table-col.h
@@ -1,7 +1,9 @@
+/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
#ifndef _E_TABLE_COL_H_
#define _E_TABLE_COL_H_
#include "e-cell.h"
+#include <gdk-pixbuf/gdk-pixbuf.h>
#define E_TABLE_COL_TYPE (e_table_col_get_type ())
#define E_TABLE_COL(o) (GTK_CHECK_CAST ((o), E_TABLE_COL_TYPE, ETableCol))
@@ -17,10 +19,12 @@ typedef struct _ETableCol ETableCol;
struct _ETableCol {
GtkObject base;
char *text;
+ GdkPixbuf *pixbuf;
short width;
short min_width;
short x;
GCompareFunc compare;
+ unsigned int is_pixbuf:1;
unsigned int selected:1;
unsigned int resizeable:1;
int col_idx;
@@ -32,12 +36,16 @@ typedef struct {
GtkObjectClass parent_class;
} ETableColClass;
-GtkType e_table_col_get_type (void);
-ETableCol *e_table_col_new (int col_idx, const char *text,
- int width, int min_width,
- ECell *ecell, GCompareFunc compare,
- gboolean resizable);
-void e_table_col_destroy (ETableCol *etc);
+GtkType e_table_col_get_type (void);
+ETableCol *e_table_col_new (int col_idx, const char *text,
+ int width, int min_width,
+ ECell *ecell, GCompareFunc compare,
+ gboolean resizable);
+ETableCol *e_table_col_new_with_pixbuf (int col_idx, GdkPixbuf *pixbuf,
+ int width, int min_width,
+ ECell *ecell, GCompareFunc compare,
+ gboolean resizable);
+void e_table_col_destroy (ETableCol *etc);
#endif /* _E_TABLE_COL_H_ */