summaryrefslogtreecommitdiffstats
path: root/src/zoom-context.h
blob: e36dc3fbee1b94fddbcc7168c2679029a1772275 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#ifndef __SP_ZOOM_CONTEXT_H__
#define __SP_ZOOM_CONTEXT_H__

/*
 * Handy zooming tool
 *
 * Authors:
 *   Lauris Kaplinski <lauris@kaplinski.com>
 *   Frank Felfe <innerspace@iname.com>
 *
 * Copyright (C) 1999-2002 Authors
 *
 * Released under GNU GPL, read the file 'COPYING' for more information
 */

#include "event-context.h"

#define SP_TYPE_ZOOM_CONTEXT (sp_zoom_context_get_type ())
#define SP_ZOOM_CONTEXT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SP_TYPE_ZOOM_CONTEXT, SPZoomContext))
#define SP_IS_ZOOM_CONTEXT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SP_TYPE_ZOOM_CONTEXT))

class SPZoomContext;
class SPZoomContextClass;

struct SPZoomContext {
	SPEventContext event_context;
	SPCanvasItem *grabbed;
};

struct SPZoomContextClass {
	SPEventContextClass parent_class;
};

GType sp_zoom_context_get_type (void);

#endif