2 * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
3 * Copyright (C) 2001 Hiroyuki Yamamoto & 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 #if !defined(COLORLABEL_H__)
21 #define COLORLABEL_H__
24 #include <gtk/gtkimage.h>
26 /* max value of color label index (0..max) - see also procmsg.h */
27 #define COLORLABELS 15
29 #define MAINWIN_COLORMENU 0
30 #define SUMMARY_COLORMENU 1
33 void colorlabel_update_colortable_from_prefs(void);
34 gint colorlabel_get_color_count (void);
35 GdkColor colorlabel_get_color (gint color_index);
36 GdkColor colorlabel_get_default_color (gint color_index);
37 gchar *colorlabel_get_color_default_text (gint color_index);
38 GtkImage *colorlabel_create_color_pixmap (GdkColor color);
39 GtkWidget *colorlabel_create_check_color_menu_item
43 GtkWidget *colorlabel_create_color_menu (void);
44 guint colorlabel_get_color_menu_active_item (GtkWidget *menu);
46 #endif /* COLORLABEL_H__ */