display signatures in grey
[claws.git] / src / textview.h
index bcf4f2c38afa773937048c9caa034f4daff528f3..4011d932cfd7afdbe8c33c646e9070f251639af0 100644 (file)
@@ -1,6 +1,6 @@
 /*
  * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
- * Copyright (C) 1999-2001 Hiroyuki Yamamoto
+ * Copyright (C) 1999-2002 Hiroyuki Yamamoto
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -42,17 +42,26 @@ struct _TextView
        GtkWidget *text_sb;
        GtkWidget *text_mb;
 
-       gboolean text_is_mb;
+       GtkWidget *popup_menu;
+       GtkItemFactory *popup_factory;
 
+       gboolean text_is_mb;
+       gboolean default_text;
+       gboolean is_in_signature;
+       
        GSList *uri_list;
        gint body_pos;
+       gint cur_pos;
 
        GdkFont *msgfont;
        GdkFont *boldfont;
-       gint prev_ascent;
-       gint prev_descent;
+
+       gboolean show_all_headers;
 
        MessageView *messageview;
+       gint last_buttonpress;
+       gint show_url_msgid;
+       gint show_url_timeout_tag;
 };
 
 TextView *textview_create      (void);
@@ -71,8 +80,12 @@ void textview_show_signature_part(TextView   *textview,
 #endif
 void textview_clear            (TextView       *textview);
 void textview_destroy          (TextView       *textview);
+void textview_set_all_headers  (TextView       *textview,
+                                gboolean        all_headers);
 void textview_set_font         (TextView       *textview,
                                 const gchar    *codeset);
+void textview_set_position     (TextView       *textview,
+                                gint            pos);
 void textview_scroll_one_line  (TextView       *textview,
                                 gboolean        up);
 gboolean textview_scroll_page  (TextView       *textview,
@@ -80,8 +93,11 @@ gboolean textview_scroll_page        (TextView       *textview,
 
 void textview_update_message_colors    (void);
 
-gboolean textview_search_string        (TextView       *textview,
-                                const gchar    *str,
-                                gboolean        case_sens);
+gboolean textview_search_string                        (TextView       *textview,
+                                                const gchar    *str,
+                                                gboolean        case_sens);
+gboolean textview_search_string_backward       (TextView       *textview,
+                                                const gchar    *str,
+                                                gboolean        case_sens);
 
 #endif /* __TEXTVIEW_H__ */