aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/e-table/e-cell.h
diff options
context:
space:
mode:
authorMiguel de Icaza <miguel@gnu.org>1999-11-27 03:25:02 +0800
committerArturo Espinosa <unammx@src.gnome.org>1999-11-27 03:25:02 +0800
commit465c8ae9a0cac78793cac6097b6bfbabc3a342de (patch)
tree6722a7709aaeccb913d73828d075301d68885cc4 /widgets/e-table/e-cell.h
parentb92f33ed1198949e1275f8b7580fa3e367a47450 (diff)
downloadgsoc2013-evolution-465c8ae9a0cac78793cac6097b6bfbabc3a342de.tar
gsoc2013-evolution-465c8ae9a0cac78793cac6097b6bfbabc3a342de.tar.gz
gsoc2013-evolution-465c8ae9a0cac78793cac6097b6bfbabc3a342de.tar.bz2
gsoc2013-evolution-465c8ae9a0cac78793cac6097b6bfbabc3a342de.tar.lz
gsoc2013-evolution-465c8ae9a0cac78793cac6097b6bfbabc3a342de.tar.xz
gsoc2013-evolution-465c8ae9a0cac78793cac6097b6bfbabc3a342de.tar.zst
gsoc2013-evolution-465c8ae9a0cac78793cac6097b6bfbabc3a342de.zip
Compute height using the ecell methods here. (eti_get_height): new method
1999-11-26 Miguel de Icaza <miguel@gnu.org> * e-table-item.c (eti_realize): Compute height using the ecell methods here. (eti_get_height): new method to compute dimensions. * e-cursors.c: use a different cursor. * e-table-model.h: kill height and row_height methods. * e-cell.c (ec_height): New method. * e-cell-text.c (ect_realize): Load the font from the canvas. (ect_draw): New color setup. Center in the row. (ect_height): Implement new method. 1999-11-26 Michael Meeks <mmeeks@gnu.org> * ROADMAP.e-table: small spelling/typo fixes. 1999-11-25 Miguel de Icaza <miguel@gnu.org> * e-table-item.c (eti_event): Work on mouse-button event svn path=/trunk/; revision=1439
Diffstat (limited to 'widgets/e-table/e-cell.h')
-rw-r--r--widgets/e-table/e-cell.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/widgets/e-table/e-cell.h b/widgets/e-table/e-cell.h
index 08efaa6649..e57f341098 100644
--- a/widgets/e-table/e-cell.h
+++ b/widgets/e-table/e-cell.h
@@ -36,15 +36,17 @@ typedef struct {
gint (*event) (ECellView *ecell_view, GdkEvent *event, int col, int row);
void (*focus) (ECellView *ecell, int col, int row, int x1, int y1, int x2, int y2);
void (*unfocus) (ECellView *ecell);
+ int (*height) (ECellView *ecell, int col, int row);
} ECellClass;
GtkType e_cell_get_type (void);
void e_cell_event (ECellView *ecell_view, GdkEvent *event, int col, int row);
ECellView *e_cell_realize (ECell *ecell, GnomeCanvas *canvas);
-void e_cell_unrealize (ECellView *ecell);
-void e_cell_draw (ECellView *ecell, GdkDrawable *dr,
+void e_cell_unrealize (ECellView *ecell_view);
+void e_cell_draw (ECellView *ecell_view, GdkDrawable *dr,
int col, int row, int x1, int y1, int x2, int y2);
-void e_cell_focus (ECellView *ecell, int col, int row, int x1, int y1, int x2, int y2);
-void e_cell_unfocus (ECellView *ecell);
+void e_cell_focus (ECellView *ecell_view, int col, int row, int x1, int y1, int x2, int y2);
+void e_cell_unfocus (ECellView *ecell_view);
+int e_cell_height (ECellView *ecell_view, int col, int row);
#endif /* _E_CELL_H_ */