]> git.sur5r.net Git - glabels/blob - glabels1/src/item_image.h
674a9c0f0dd18e3692f7fe248186ae98f7a5f880
[glabels] / glabels1 / src / item_image.h
1 /*
2  *  (GLABELS) Label and Business Card Creation program for GNOME
3  *
4  *  item_image.h:  GLabels Image Object (canvas item) module header file
5  *
6  *  Copyright (C) 2001-2002  Jim Evins <evins@snaught.com>.
7  *
8  *  This program is free software; you can redistribute it and/or modify
9  *  it under the terms of the GNU General Public License as published by
10  *  the Free Software Foundation; either version 2 of the License, or
11  *  (at your option) any later version.
12  *
13  *  This program is distributed in the hope that it will be useful,
14  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
15  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16  *  GNU General Public License for more details.
17  *
18  *  You should have received a copy of the GNU General Public License
19  *  along with this program; if not, write to the Free Software
20  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
21  */
22 #ifndef __ITEM_IMAGE_H__
23 #define __ITEM_IMAGE_H__
24
25 #include <gnome.h>
26
27 #include "label.h"
28
29 extern GnomeCanvasItem *gl_item_image_new (glLabelObject * object,
30                                            glDisplay * display);
31
32 extern void gl_item_image_highlight (GnomeCanvasItem * item);
33
34 extern void gl_item_image_get_position_size (GnomeCanvasItem * item,
35                                              gdouble * x,
36                                              gdouble * y,
37                                              gdouble * w,
38                                              gdouble * h);
39
40 extern void gl_item_image_set_position_size (GnomeCanvasItem * item,
41                                              gdouble x,
42                                              gdouble y,
43                                              gdouble w,
44                                              gdouble h);
45
46 extern void gl_item_image_get_bounds (GnomeCanvasItem * item,
47                                       gdouble * x1,
48                                       gdouble * y1,
49                                       gdouble * x2,
50                                       gdouble * y2);
51
52 extern void gl_item_image_edit_dialog (GnomeCanvasItem * item);
53
54 extern GdkCursor *gl_item_image_get_create_cursor (void);
55
56 extern gint gl_item_image_create_event_handler (GnomeCanvas * canvas,
57                                                 GdkEvent * event,
58                                                 gpointer data);
59
60 #endif