2 * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
3 * Copyright (C) 1999-2007 Hiroyuki Yamamoto and the Claws Mail team
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 3 of the License, or
8 * (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
20 #ifndef __LOGWINDOW_H__
21 #define __LOGWINDOW_H__
28 typedef struct _LogWindow LogWindow;
33 GtkWidget *scrolledwin;
41 GdkColor status_ok_color;
42 GdkColor status_nok_color;
43 GdkColor status_skip_color;
48 GtkTextBuffer *buffer;
49 GtkTextTag *error_tag;
50 GtkTextMark *end_mark;
56 LogWindow *log_window_create(LogInstance instance);
57 void log_window_init(LogWindow *logwin);
58 void log_window_show(LogWindow *logwin);
59 void log_window_show_error(LogWindow *logwin);
60 void log_window_set_clipping(LogWindow *logwin, gboolean clip, guint clip_length);
62 #endif /* __LOGWINDOW_H__ */