]> git.sur5r.net Git - glabels/blob - src/view-box.h
Imported Upstream version 3.4.0
[glabels] / src / view-box.h
1 /*
2  *  view-box.h
3  *  Copyright (C) 2001-2009  Jim Evins <evins@snaught.com>.
4  *
5  *  This file is part of gLabels.
6  *
7  *  gLabels is free software: you can redistribute it and/or modify
8  *  it under the terms of the GNU General Public License as published by
9  *  the Free Software Foundation, either version 3 of the License, or
10  *  (at your option) any later version.
11  *
12  *  gLabels is distributed in the hope that it will be useful,
13  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
14  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15  *  GNU General Public License for more details.
16  *
17  *  You should have received a copy of the GNU General Public License
18  *  along with gLabels.  If not, see <http://www.gnu.org/licenses/>.
19  */
20
21 #ifndef __VIEW_BOX_H__
22 #define __VIEW_BOX_H__
23
24
25 #include "view.h"
26
27
28 G_BEGIN_DECLS
29
30
31 /* cursor for creating box objects */
32 GdkCursor *gl_view_box_get_create_cursor           (void);
33
34 /* Object creation handlers. */
35 void       gl_view_box_create_button_press_event   (glView  *view,
36                                                     gdouble  x,
37                                                     gdouble  y);
38
39 void       gl_view_box_create_motion_event         (glView  *view,
40                                                     gdouble  x,
41                                                     gdouble  y,
42                                                     gboolean square);
43
44 void       gl_view_box_create_button_release_event (glView  *view,
45                                                     gdouble  x,
46                                                     gdouble  y,
47                                                     gboolean square);
48
49
50 G_END_DECLS
51
52 #endif /* __VIEW_BOX_H__ */
53
54
55
56 /*
57  * Local Variables:       -- emacs
58  * mode: C                -- emacs
59  * c-basic-offset: 8      -- emacs
60  * tab-width: 8           -- emacs
61  * indent-tabs-mode: nil  -- emacs
62  * End:                   -- emacs
63  */