ssdiff: move comparison engine into its own file.
[gnumeric.git] / src / sheet-control-priv.h
blob8c7c659f01f58a4741c61dcc3041a5fb9b60e93e
1 /* vim: set sw=8: -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2 #ifndef _GNM_SHEET_CONTROL_PRIV_H_
3 # define _GNM_SHEET_CONTROL_PRIV_H_
5 #include "sheet-control.h"
7 G_BEGIN_DECLS
9 struct _SheetControl {
10 GObject object;
12 SheetView *view;
13 WorkbookControl *wbc;
16 typedef struct {
17 GObjectClass object_class;
19 void (*resize) (SheetControl *sc, gboolean force_scroll);
20 void (*redraw_all) (SheetControl *sc, gboolean headers);
21 void (*redraw_range) (SheetControl *sc, GnmRange const *r);
22 void (*redraw_headers) (SheetControl *sc,
23 gboolean const col, gboolean const row,
24 GnmRange const * r);
25 void (*ant) (SheetControl *sc);
26 void (*unant) (SheetControl *sc);
27 void (*scrollbar_config) (SheetControl *sc);
28 void (*mode_edit) (SheetControl *sc);
29 void (*set_top_left) (SheetControl *sc, int col, int row);
30 void (*recompute_visible_region)(SheetControl *sc,
31 gboolean full_recompute);
32 void (*make_cell_visible) (SheetControl *sc, int col, int row,
33 gboolean couple_panes);
34 void (*cursor_bound) (SheetControl *sc, GnmRange const *r);
35 void (*set_panes) (SheetControl *sc);
36 void (*object_create_view) (SheetControl *sc, SheetObject *so);
37 void (*scale_changed) (SheetControl *sc);
38 void (*show_im_tooltip) (SheetControl *sc,
39 GnmInputMsg *im, GnmCellPos *pos);
40 } SheetControlClass;
42 #define SHEET_CONTROL_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GNM_SC_TYPE, SheetControlClass))
44 G_END_DECLS
46 #endif /* _GNM_SHEET_CONTROL_PRIV_H_ */