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 (C) 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 HTMLENGINE_EDIT_FONTSTYLE_H |
---|
23 | #define HTMLENGINE_EDIT_FONTSTYLE_H |
---|
24 | |
---|
25 | #include "htmlengine.h" |
---|
26 | #include "gtkhtmlfontstyle.h" |
---|
27 | |
---|
28 | /* font style */ |
---|
29 | gboolean html_engine_update_insertion_font_style (HTMLEngine *engine); |
---|
30 | GtkHTMLFontStyle html_engine_get_font_style (HTMLEngine *engine); |
---|
31 | GtkHTMLFontStyle html_engine_get_document_font_style (HTMLEngine *engine); |
---|
32 | gboolean html_engine_set_font_style (HTMLEngine *engine, |
---|
33 | GtkHTMLFontStyle and_mask, |
---|
34 | GtkHTMLFontStyle or_mask); |
---|
35 | gboolean html_engine_toggle_font_style (HTMLEngine *engine, |
---|
36 | GtkHTMLFontStyle style); |
---|
37 | void html_engine_font_size_inc_dec (HTMLEngine *e, |
---|
38 | gboolean inc); |
---|
39 | |
---|
40 | /* colors */ |
---|
41 | gboolean html_engine_update_insertion_color (HTMLEngine *engine); |
---|
42 | gboolean html_engine_set_color (HTMLEngine *engine, |
---|
43 | HTMLColor *color); |
---|
44 | HTMLColor * html_engine_get_color (HTMLEngine *engine); |
---|
45 | HTMLColor * html_engine_get_document_color (HTMLEngine *engine); |
---|
46 | |
---|
47 | gboolean html_engine_update_insertion_url_and_target (HTMLEngine *engine); |
---|
48 | const gchar * html_engine_get_url (HTMLEngine *e); |
---|
49 | void html_engine_set_url (HTMLEngine *e, |
---|
50 | const gchar *url); |
---|
51 | const gchar * html_engine_get_target (HTMLEngine *e); |
---|
52 | void html_engine_set_target (HTMLEngine *e, |
---|
53 | const gchar *url); |
---|
54 | const gchar * html_engine_get_document_url (HTMLEngine *e); |
---|
55 | const gchar * html_engine_get_document_target (HTMLEngine *e); |
---|
56 | |
---|
57 | #endif |
---|