#ifndef GNM_SIMPLE_CANVAS_H
#define GNM_SIMPLE_CANVAS_H

#include "gui-gnumeric.h"
#include <goffice/cut-n-paste/foocanvas/foo-canvas.h>

typedef struct {
	FooCanvas   canvas;
	SheetControlGUI *scg;
} GnmSimpleCanvas;

typedef struct {
	FooCanvasClass   canvas;
} GnmSimpleCanvasClass;

#define GNM_SIMPLE_CANVAS_TYPE     (gnm_simple_canvas_get_type ())
#define GNM_SIMPLE_CANVAS(obj)     (G_TYPE_CHECK_INSTANCE_CAST((obj), GNM_SIMPLE_CANVAS_TYPE, GnmSimpleCanvas))

GType		 gnm_simple_canvas_get_type (void);
FooCanvas 	*gnm_simple_canvas_new      (SheetControlGUI *scg);

void gnm_simple_canvas_ungrab (FooCanvasItem *item, guint32 etime);
int  gnm_simple_canvas_grab   (FooCanvasItem *item, unsigned int event_mask,
			       GdkCursor *cursor, guint32 etime);

#endif /* GNM_SIMPLE_CANVAS_H */
