From 465c8ae9a0cac78793cac6097b6bfbabc3a342de Mon Sep 17 00:00:00 2001 From: Miguel de Icaza Date: Fri, 26 Nov 1999 19:25:02 +0000 Subject: Compute height using the ecell methods here. (eti_get_height): new method 1999-11-26 Miguel de Icaza * 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 * ROADMAP.e-table: small spelling/typo fixes. 1999-11-25 Miguel de Icaza * e-table-item.c (eti_event): Work on mouse-button event svn path=/trunk/; revision=1439 --- widgets/e-table/e-cell.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'widgets/e-table/e-cell.h') 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_ */ -- cgit