aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/e-cell.h
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/e-cell.h')
-rw-r--r--widgets/e-cell.h27
1 files changed, 15 insertions, 12 deletions
diff --git a/widgets/e-cell.h b/widgets/e-cell.h
index b0f62d020c..f72f97e8dd 100644
--- a/widgets/e-cell.h
+++ b/widgets/e-cell.h
@@ -32,28 +32,31 @@ typedef struct {
ECellView *(*realize) (ECell *ecell, void *view);
void (*unrealize) (ECellView *e_cell_view);
void (*draw) (ECellView *ecell_view, GdkDrawable *drawable,
- int col, int row, gboolean selected, int x1, int y1, int x2, int y2);
- gint (*event) (ECellView *ecell_view, GdkEvent *event, int col, int row);
- void (*focus) (ECellView *ecell_view, int col, int row, int x1, int y1, int x2, int y2);
+ int model_col, int view_col, int row,
+ gboolean selected, int x1, int y1, int x2, int y2);
+ gint (*event) (ECellView *ecell_view, GdkEvent *event, int model_col, int view_col, int row);
+ void (*focus) (ECellView *ecell_view, int model_col, int view_col,
+ int row, int x1, int y1, int x2, int y2);
void (*unfocus) (ECellView *ecell_view);
- int (*height) (ECellView *ecell_view, int col, int row);
+ int (*height) (ECellView *ecell_view, int model_col, int view_col, int row);
- void *(*enter_edit)(ECellView *ecell_view, int col, int row);
- void (*leave_edit)(ECellView *ecell_view, int col, int row, void *context);
+ void *(*enter_edit)(ECellView *ecell_view, int model_col, int view_col, int row);
+ void (*leave_edit)(ECellView *ecell_view, int model_col, int view_col, int row, void *context);
} ECellClass;
GtkType e_cell_get_type (void);
-void e_cell_event (ECellView *ecell_view, GdkEvent *event, int col, int row);
+void e_cell_event (ECellView *ecell_view, GdkEvent *event, int model_col, int view_col, int row);
ECellView *e_cell_realize (ECell *ecell, void *view);
void e_cell_unrealize (ECellView *ecell_view);
void e_cell_draw (ECellView *ecell_view, GdkDrawable *dr,
- int col, int row, gboolean selected,
+ int model_col, int view_col, int row, gboolean selected,
+ int x1, int y1, int x2, int y2);
+void e_cell_focus (ECellView *ecell_view, int model_col, int view_col, int row,
int x1, int y1, int x2, int y2);
-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);
+int e_cell_height (ECellView *ecell_view, int model_col, int view_col, int row);
-void *e_cell_enter_edit(ECellView *ecell_view, int col, int row);
-void e_cell_leave_edit(ECellView *ecell_view, int col, int row, void *edit_context);
+void *e_cell_enter_edit(ECellView *ecell_view, int model_col, int view_col, int row);
+void e_cell_leave_edit(ECellView *ecell_view, int model_col, int view_col, int row, void *edit_context);
#endif /* _E_CELL_H_ */