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

Revision 21116, 2.9 KB checked in by ghudson, 20 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r21115, 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 <libgnomeprint/gnome-print.h>
26#include <libgnomeprint/gnome-print-job.h>
27#include <gtk/gtkimcontext.h>
28#include <gtk/gtkwidget.h>
29#include "gtkhtml-types.h"
30#include "htmltypes.h"
31
32struct _GtkHTMLPrivate {
33        guint idle_handler_id;
34        guint scroll_timeout_id;
35
36        GtkHTMLParagraphStyle paragraph_style;
37        guint paragraph_indentation;
38        GtkHTMLParagraphAlignment paragraph_alignment;
39        GtkHTMLFontStyle insertion_font_style;
40
41        gboolean update_styles;
42
43        gint selection_type;
44
45        gchar *content_type;
46        char  *base_url;
47
48        GtkWidget *search_input_line;
49
50        GnomePrintJob *print_master;
51
52        guint notify_spell_id;
53        guint notify_monospace_font_id;
54
55        GtkIMContext *im_context;
56        gboolean need_im_reset;
57        gint im_pre_len;
58        gint im_pre_pos;
59        GtkHTMLFontStyle im_orig_style;
60        gboolean im_block_reset;
61
62        HTMLObject *dnd_object;
63        gint        dnd_object_offset;
64        HTMLObject *dnd_real_object;
65        gint        dnd_real_object_offset;
66        gboolean    dnd_in_progress;
67        gchar      *dnd_url;
68
69        guint32     event_time;
70        gboolean    selection_as_cite;
71
72        gboolean    magic_links;
73        gboolean    magic_smileys;
74        gboolean    inline_spelling;
75
76        gulong      toplevel_unmap_handler;
77
78        gboolean in_object_resize;
79        GdkCursor *resize_cursor;
80        HTMLObject *resize_object;
81};
82
83void  gtk_html_private_calc_scrollbars  (GtkHTML                *html,
84                                         gboolean               *changed_x,
85                                         gboolean               *changed_y);
86void  gtk_html_editor_event_command     (GtkHTML                *html,
87                                         GtkHTMLCommandType      com_type,
88                                         gboolean                before);
89void  gtk_html_editor_event             (GtkHTML                *html,
90                                         GtkHTMLEditorEventType  event,
91                                         GValue                 *args);
92void  gtk_html_api_set_language         (GtkHTML                *html);
93void  gtk_html_im_reset                 (GtkHTML                *html);
94void  gtk_html_set_fonts                (GtkHTML                *html,
95                                         HTMLPainter            *painter);
96
97#endif /* _GTKHTML_PRIVATE_H */
Note: See TracBrowser for help on using the repository browser.