aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table-header-item.h
diff options
context:
space:
mode:
authorMiguel de Icaza <miguel@gnu.org>1999-11-21 07:37:37 +0800
committerArturo Espinosa <unammx@src.gnome.org>1999-11-21 07:37:37 +0800
commit77df46c366a3b761288db21b2593e963c4590207 (patch)
treedc70c4ff1d434b76654e68e0fe7f8b1e28fba81c /widgets/table/e-table-header-item.h
parent76fba2380e809d44b716343a4c7a18e907948618 (diff)
downloadgsoc2013-evolution-77df46c366a3b761288db21b2593e963c4590207.tar.gz
gsoc2013-evolution-77df46c366a3b761288db21b2593e963c4590207.tar.zst
gsoc2013-evolution-77df46c366a3b761288db21b2593e963c4590207.zip
Compute width, keep track of it. (ethi_add_table_header): Monitor changes
1999-11-20 Miguel de Icaza <miguel@gnu.org> * e-table-header-item.c (ethi_set_arg): Compute width, keep track of it. (ethi_add_table_header): Monitor changes to the Header model; Queue updates. (ethi_draw): Fix the redraw logic here. * table-test.c (main): Change the sample code, so we can better debug this. * e-table-item.c (eti_header_structure_changed): Keep track of width; (eti_header_dim_changed): ditto. (eti_draw): Many redraw fixes. svn path=/trunk/; revision=1425
Diffstat (limited to 'widgets/table/e-table-header-item.h')
-rw-r--r--widgets/table/e-table-header-item.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/widgets/table/e-table-header-item.h b/widgets/table/e-table-header-item.h
index 45e8f8851d..d6b7d64a9f 100644
--- a/widgets/table/e-table-header-item.h
+++ b/widgets/table/e-table-header-item.h
@@ -17,7 +17,7 @@ typedef struct {
GdkGC *gc;
GdkCursor *change_cursor, *normal_cursor;
- short x1, y1, height;
+ short x1, y1, height, width;
GdkFont *font;
/*
@@ -27,6 +27,11 @@ typedef struct {
int resize_width;
int resize_start_pos;
GtkObject *resize_guide;
+
+ /*
+ * Ids
+ */
+ int structure_change_id, dimension_change_id;
} ETableHeaderItem;
typedef struct {