Evince
Evince is a document viewer capable of displaying multiple and single page document formats like PDF and Postscript.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
ev-annotation-window.h
Go to the documentation of this file.
1 /* ev-annotation-window.h
2  * this file is part of evince, a gnome document viewer
3  *
4  * Copyright (C) 2009 Carlos Garcia Campos <carlosgc@gnome.org>
5  * Copyright (C) 2007 IƱigo Martinez <inigomartinez@gmail.com>
6  *
7  * Evince is free software; you can redistribute it and/or modify it
8  * under the terms of the GNU General Public License as published by
9  * the Free Software Foundation; either version 2 of the License, or
10  * (at your option) any later version.
11  *
12  * Evince is distributed in the hope that it will be useful, but
13  * WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15  * General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this program; if not, write to the Free Software
19  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20  */
21 
22 #ifndef EV_ANNOTATION_WINDOW_H
23 #define EV_ANNOTATION_WINDOW_H
24 
25 #include <gtk/gtk.h>
26 
27 #include "ev-annotation.h"
28 
29 G_BEGIN_DECLS
30 
33 
34 #define EV_TYPE_ANNOTATION_WINDOW (ev_annotation_window_get_type())
35 #define EV_ANNOTATION_WINDOW(object) (G_TYPE_CHECK_INSTANCE_CAST((object), EV_TYPE_ANNOTATION_WINDOW, EvAnnotationWindow))
36 #define EV_ANNOTATION_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), EV_TYPE_ANNOTATION_WINDOW, EvAnnotationWindowClass))
37 #define EV_IS_ANNOTATION_WINDOW(object) (G_TYPE_CHECK_INSTANCE_TYPE((object), EV_TYPE_ANNOTATION_WINDOW))
38 #define EV_IS_ANNOTATION_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), EV_TYPE_ANNOTATION_WINDOW))
39 #define EV_ANNOTATION_WINDOW_GET_CLASS(object) (G_TYPE_INSTANCE_GET_CLASS((object), EV_TYPE_ANNOTATION_WINDOW, EvAnnotationWindowClass))
40 
41 GType ev_annotation_window_get_type (void) G_GNUC_CONST;
42 GtkWidget *ev_annotation_window_new (EvAnnotation *annot,
43  GtkWindow *parent);
46  EvAnnotation *annot);
49  EvRectangle *rect);
51  const EvRectangle *rect);
54 
55 G_END_DECLS
56 
57 #endif /* EV_ANNOTATION_WINDOW_H */