* src/summaryview.c
[claws.git] / src / stock_pixmap.h
1 /*
2  * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
3  * Copyright (C) 1999-2001 Hiroyuki Yamamoto
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 #ifndef __STOCK_PIXMAP_H__
21 #define __STOCK_PIXMAP_H__
22
23 #include <glib.h>
24 #include <gtk/gtkwidget.h>
25
26 typedef enum
27 {
28         STOCK_PIXMAP_ADDRESS,
29         STOCK_PIXMAP_ADDRESS_BOOK,
30         STOCK_PIXMAP_ADDRESS_SEARCH,
31         STOCK_PIXMAP_BOOK,
32         STOCK_PIXMAP_CATEGORY,
33         STOCK_PIXMAP_CHECKBOX_OFF,
34         STOCK_PIXMAP_CHECKBOX_ON,
35         STOCK_PIXMAP_CLIP,
36         STOCK_PIXMAP_CLIP_KEY,
37         STOCK_PIXMAP_CLOSE,
38         STOCK_PIXMAP_COMPLETE,
39         STOCK_PIXMAP_CONTINUE,
40         STOCK_PIXMAP_DELETED,
41         STOCK_PIXMAP_DIR_CLOSE,
42         STOCK_PIXMAP_DIR_CLOSE_HRM,
43         STOCK_PIXMAP_DIR_OPEN,
44         STOCK_PIXMAP_DIR_OPEN_HRM,
45         STOCK_PIXMAP_DOWN_ARROW,
46         STOCK_PIXMAP_UP_ARROW,
47         STOCK_PIXMAP_EDIT_EXTERN,
48         STOCK_PIXMAP_ERROR,
49         STOCK_PIXMAP_EXEC,
50         STOCK_PIXMAP_FORWARDED,
51         STOCK_PIXMAP_GROUP,
52         STOCK_PIXMAP_IGNORETHREAD,
53         STOCK_PIXMAP_INBOX_CLOSE,
54         STOCK_PIXMAP_INBOX_CLOSE_HRM,
55         STOCK_PIXMAP_INBOX_OPEN,
56         STOCK_PIXMAP_INBOX_OPEN_HRM,
57         STOCK_PIXMAP_INSERT_FILE,
58         STOCK_PIXMAP_INTERFACE,
59         STOCK_PIXMAP_JPILOT,
60         STOCK_PIXMAP_KEY,
61         STOCK_PIXMAP_LDAP,
62         STOCK_PIXMAP_LINEWRAP,
63         STOCK_PIXMAP_LOCKED,
64         STOCK_PIXMAP_MAIL,
65         STOCK_PIXMAP_MAIL_ATTACH,
66         STOCK_PIXMAP_MAIL_COMPOSE,
67         STOCK_PIXMAP_MAIL_FORWARD,
68         STOCK_PIXMAP_MAIL_RECEIVE,
69         STOCK_PIXMAP_MAIL_RECEIVE_ALL,
70         STOCK_PIXMAP_MAIL_REPLY,
71         STOCK_PIXMAP_MAIL_REPLY_TO_ALL,
72         STOCK_PIXMAP_MAIL_REPLY_TO_AUTHOR,
73         STOCK_PIXMAP_MAIL_SEND,
74         STOCK_PIXMAP_MAIL_SEND_QUEUE,
75         STOCK_PIXMAP_MAIL_SIGN,
76         STOCK_PIXMAP_MARK,
77         STOCK_PIXMAP_NEW,
78         STOCK_PIXMAP_NEWS_COMPOSE,
79         STOCK_PIXMAP_OUTBOX_CLOSE,
80         STOCK_PIXMAP_OUTBOX_CLOSE_HRM,
81         STOCK_PIXMAP_OUTBOX_OPEN,
82         STOCK_PIXMAP_OUTBOX_OPEN_HRM,
83         STOCK_PIXMAP_REPLIED,
84         STOCK_PIXMAP_PASTE,
85         STOCK_PIXMAP_PREFERENCES,
86         STOCK_PIXMAP_PROPERTIES,
87         STOCK_PIXMAP_QUEUE_CLOSE,
88         STOCK_PIXMAP_QUEUE_CLOSE_HRM,
89         STOCK_PIXMAP_QUEUE_OPEN,
90         STOCK_PIXMAP_QUEUE_OPEN_HRM,
91         STOCK_PIXMAP_TRASH_OPEN,
92         STOCK_PIXMAP_TRASH_OPEN_HRM,
93         STOCK_PIXMAP_TRASH_CLOSE,
94         STOCK_PIXMAP_TRASH_CLOSE_HRM,
95         STOCK_PIXMAP_UNREAD,
96         STOCK_PIXMAP_VCARD,
97         STOCK_PIXMAP_WORK_ONLINE,
98         STOCK_PIXMAP_WORK_OFFLINE,
99         STOCK_PIXMAP_NOTICE_WARN,               /* small warning */
100         STOCK_PIXMAP_NOTICE_ERROR,              /* small error   */
101         STOCK_PIXMAP_NOTICE_NOTE,               /* small message */
102         STOCK_PIXMAP_QUICKSEARCH,               /* quicksearch pixmap */
103         STOCK_PIXMAP_GPG_SIGNED,
104         STOCK_PIXMAP_DRAFTS_CLOSE,
105         STOCK_PIXMAP_DRAFTS_OPEN,
106         STOCK_PIXMAP_MESSAGEVIEW_TEXT,
107         STOCK_PIXMAP_MIME_TEXT_PLAIN,
108         STOCK_PIXMAP_MIME_TEXT_HTML,
109         STOCK_PIXMAP_MIME_APPLICATION,
110         STOCK_PIXMAP_MIME_APPLICATION_OCTET_STREAM,
111         STOCK_PIXMAP_MIME_IMAGE,
112         STOCK_PIXMAP_MIME_AUDIO,
113         STOCK_PIXMAP_MIME_TEXT_ENRICHED,
114         STOCK_PIXMAP_MIME_UNKNOWN,
115         STOCK_PIXMAP_MIME_GPG_SIGNED,
116         STOCK_PIXMAP_MIME_GPG_PASSED,
117         STOCK_PIXMAP_MIME_GPG_FAILED,
118         STOCK_PIXMAP_MIME_GPG_UNKNOWN,
119         STOCK_PIXMAP_MIME_GPG_EXPIRED,
120         STOCK_PIXMAP_MIME_MESSAGE,
121         
122         STOCK_PIXMAP_SYLPHEED_LOGO,             /* last entry */
123         
124         N_STOCK_PIXMAPS
125 } StockPixmap;
126
127 GtkWidget *stock_pixmap_widget  (GtkWidget       *window,
128                                  StockPixmap      icon);
129 gint stock_pixmap_gdk           (GtkWidget       *window,
130                                  StockPixmap      icon,
131                                  GdkPixmap      **pixmap,
132                                  GdkBitmap      **mask);
133
134 GList *stock_pixmap_themes_list_new     (void);
135 void stock_pixmap_themes_list_free      (GList *list);
136 gchar *stock_pixmap_get_name         (StockPixmap icon);
137 StockPixmap stock_pixmap_get_icon    (gchar *file);
138
139 #endif /* __STOCK_PIXMAP_H__ */