diff options
Diffstat (limited to 'src/colorlabel.h')
| -rw-r--r-- | src/colorlabel.h | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/src/colorlabel.h b/src/colorlabel.h new file mode 100644 index 0000000..c521a66 --- /dev/null +++ b/src/colorlabel.h | |||
| @@ -0,0 +1,42 @@ | |||
| 1 | /* | ||
| 2 | * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client | ||
| 3 | * Copyright (C) 2001-2010 Hiroyuki Yamamoto & The Sylpheed Claws Team | ||
| 4 | * | ||
| 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 2 of the License, or | ||
| 8 | * (at your option) any later version. | ||
| 9 | * | ||
| 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. | ||
| 14 | * | ||
| 15 | * You should have received a copy of the GNU General Public License | ||
| 16 | * along with this program; if not, write to the Free Software | ||
| 17 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
| 18 | */ | ||
| 19 | |||
| 20 | #if !defined(COLORLABEL_H__) | ||
| 21 | #define COLORLABEL_H__ | ||
| 22 | |||
| 23 | #include <glib.h> | ||
| 24 | |||
| 25 | gint colorlabel_get_color_count (void); | ||
| 26 | GdkColor colorlabel_get_color (gint color_index); | ||
| 27 | const gchar *colorlabel_get_color_text (gint color_index); | ||
| 28 | const gchar *colorlabel_get_custom_color_text (gint color_index); | ||
| 29 | void colorlabel_set_color_text (gint color_index, | ||
| 30 | const gchar *label); | ||
| 31 | gboolean colorlabel_changed (void); | ||
| 32 | GtkWidget *colorlabel_create_color_widget (GdkColor color); | ||
| 33 | GtkWidget *colorlabel_create_check_color_menu_item | ||
| 34 | (gint color_index); | ||
| 35 | GtkWidget *colorlabel_create_color_menu (void); | ||
| 36 | guint colorlabel_get_color_menu_active_item (GtkWidget *menu); | ||
| 37 | void colorlabel_update_menu (void); | ||
| 38 | |||
| 39 | gint colorlabel_read_config (void); | ||
| 40 | gint colorlabel_write_config (void); | ||
| 41 | |||
| 42 | #endif /* COLORLABEL_H__ */ | ||
