Contents of /trunk/src/html.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 140 - (hide annotations)
Thu Oct 22 14:02:43 2009 UTC (14 years, 7 months ago) by harbaum
File MIME type: text/plain
File size: 1163 byte(s)
Custom markup renderer prepared
1 harbaum 1 /*
2     * Copyright (C) 2008 Till Harbaum <till@harbaum.org>.
3     *
4     * This file is part of GPXView.
5     *
6     * GPXView is free software: you can redistribute it and/or modify
7     * it under the terms of the GNU General Public License as published by
8     * the Free Software Foundation, either version 3 of the License, or
9     * (at your option) any later version.
10     *
11     * GPXView 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
14     * GNU General Public License for more details.
15     *
16     * You should have received a copy of the GNU General Public License
17     * along with GPXView. If not, see <http://www.gnu.org/licenses/>.
18     */
19    
20     #ifndef HTML_H
21     #define HTML_H
22    
23 harbaum 140 typedef enum { HTML_PLAIN_TEXT, HTML_HTML, HTML_CUSTOM_MARKUP } html_mode_t;
24    
25 harbaum 1 GtkWidget *html_view(appdata_t *appdata, char *text,
26 harbaum 140 html_mode_t mode, gboolean scrollwin,
27 harbaum 1 cache_t *cache, char *anchor);
28     void html_zoom(appdata_t *appdata, gboolean in);
29     void html_copy_to_clipboard(appdata_t *appdata);
30    
31     struct html_view {
32     GtkWidget *view;
33     struct html_view *next;
34     };
35    
36     #endif // HTML_H