source: trunk/third/gtkhtml/src/gtkhtml-private.h @ 18136

Revision 18136, 2.4 KB checked in by ghudson, 22 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r18135, which included commits to RCS files with non-trunk default branches.
Line 
1/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2/*  This file is part of the GtkHTML library.
3
4    Copyright 1999, 2000 Helix Code, Inc.
5   
6    This library is free software; you can redistribute it and/or
7    modify it under the terms of the GNU Library General Public
8    License as published by the Free Software Foundation; either
9    version 2 of the License, or (at your option) any later version.
10
11    This library is distributed in the hope that it will be useful
12    but WITHOUT ANY WARRANTY; without even the implied warranty of
13    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14    Library General Public License for more details.
15
16    You should have received a copy of the GNU Library General Public License
17    along with this library; see the file COPYING.LIB.  If not, write to
18    the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19    Boston, MA 02111-1307, USA.
20*/
21
22#ifndef _GTKHTML_PRIVATE_H
23#define _GTKHTML_PRIVATE_H
24
25#include <libgnome/gnome-paper.h>
26#include <libgnomeprint/gnome-print.h>
27#include <libgnomeprint/gnome-print-master.h>
28#include <gtk/gtkwidget.h>
29#include "gtkhtml-types.h"
30#include "htmltypes.h"
31
32
33struct _GtkHTMLPrivate {
34        guint idle_handler_id;
35        guint scroll_timeout_id;
36
37        GtkHTMLParagraphStyle paragraph_style;
38        guint paragraph_indentation;
39        GtkHTMLParagraphAlignment paragraph_alignment;
40        GtkHTMLFontStyle insertion_font_style;
41
42        gboolean update_styles;
43
44        gint selection_type;
45
46        gchar *content_type;
47        char  *base_url;
48
49        GtkWidget *search_input_line;
50
51        GnomePrintMaster *print_master;
52
53#ifdef GTKHTML_HAVE_GCONF
54        guint set_font_id;
55        guint notify_id;
56        guint notify_spell_id;
57#endif
58#ifdef GTK_HTML_USE_XIM
59        GdkICAttr *ic_attr;
60        GdkIC *ic;
61#endif
62
63        HTMLObject *dnd_object;
64        HTMLObject *dnd_real_object;
65        gboolean    dnd_in_progress;
66        gchar      *dnd_url;
67
68        guint32     event_time;
69        gboolean    selection_as_cite;
70};
71
72void  gtk_html_private_calc_scrollbars  (GtkHTML                 *html,
73                                         gboolean                *changed_x,
74                                         gboolean                *changed_y);
75void  gtk_html_editor_event_command     (GtkHTML                 *html,
76                                         GtkHTMLCommandType       com_type,
77                                         gboolean                 before);
78void  gtk_html_editor_event             (GtkHTML                 *html,
79                                         GtkHTMLEditorEventType   event,
80                                         GtkArg                 **args);
81void  gtk_html_api_set_language         (GtkHTML                 *html);
82
83#endif /* _GTKHTML_PRIVATE_H */
Note: See TracBrowser for help on using the repository browser.