Code

User message context in extensions
[inkscape.git] / src / zoom-context.h
1 #ifndef __SP_ZOOM_CONTEXT_H__
2 #define __SP_ZOOM_CONTEXT_H__
4 /*
5  * Handy zooming tool
6  *
7  * Authors:
8  *   Lauris Kaplinski <lauris@kaplinski.com>
9  *   Frank Felfe <innerspace@iname.com>
10  *
11  * Copyright (C) 1999-2002 Authors
12  *
13  * Released under GNU GPL, read the file 'COPYING' for more information
14  */
16 #include "event-context.h"
18 #define SP_TYPE_ZOOM_CONTEXT (sp_zoom_context_get_type ())
19 #define SP_ZOOM_CONTEXT(obj) (GTK_CHECK_CAST ((obj), SP_TYPE_ZOOM_CONTEXT, SPZoomContext))
20 #define SP_IS_ZOOM_CONTEXT(obj) (GTK_CHECK_TYPE ((obj), SP_TYPE_ZOOM_CONTEXT))
22 class SPZoomContext;
23 class SPZoomContextClass;
25 struct SPZoomContext {
26         SPEventContext event_context;
27         SPCanvasItem *grabbed;
28 };
30 struct SPZoomContextClass {
31         SPEventContextClass parent_class;
32 };
34 GType sp_zoom_context_get_type (void);
36 #endif