root / src / stock_pixmap.h @ 206
History | View | Annotate | Download (2.4 kB)
| 1 | 1 | hiro | /*
|
|---|---|---|---|
| 2 | 1 | hiro | * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client |
| 3 | 189 | hiro | * Copyright (C) 1999-2005 Hiroyuki Yamamoto |
| 4 | 1 | hiro | * |
| 5 | 1 | hiro | * This program is free software; you can redistribute it and/or modify |
| 6 | 1 | hiro | * it under the terms of the GNU General Public License as published by |
| 7 | 1 | hiro | * the Free Software Foundation; either version 2 of the License, or |
| 8 | 1 | hiro | * (at your option) any later version. |
| 9 | 1 | hiro | * |
| 10 | 1 | hiro | * This program is distributed in the hope that it will be useful, |
| 11 | 1 | hiro | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | 1 | hiro | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 | 1 | hiro | * GNU General Public License for more details. |
| 14 | 1 | hiro | * |
| 15 | 1 | hiro | * You should have received a copy of the GNU General Public License |
| 16 | 1 | hiro | * along with this program; if not, write to the Free Software |
| 17 | 1 | hiro | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
| 18 | 1 | hiro | */ |
| 19 | 1 | hiro | |
| 20 | 1 | hiro | #ifndef __STOCK_PIXMAP_H__
|
| 21 | 1 | hiro | #define __STOCK_PIXMAP_H__
|
| 22 | 1 | hiro | |
| 23 | 1 | hiro | #include <glib.h> |
| 24 | 1 | hiro | #include <gtk/gtkwidget.h> |
| 25 | 1 | hiro | |
| 26 | 1 | hiro | typedef enum |
| 27 | 1 | hiro | {
|
| 28 | 1 | hiro | STOCK_PIXMAP_ADDRESS, |
| 29 | 1 | hiro | STOCK_PIXMAP_BOOK, |
| 30 | 1 | hiro | STOCK_PIXMAP_CATEGORY, |
| 31 | 1 | hiro | STOCK_PIXMAP_CHECKBOX_OFF, |
| 32 | 1 | hiro | STOCK_PIXMAP_CHECKBOX_ON, |
| 33 | 1 | hiro | STOCK_PIXMAP_CLIP, |
| 34 | 1 | hiro | STOCK_PIXMAP_COMPLETE, |
| 35 | 1 | hiro | STOCK_PIXMAP_CONTINUE, |
| 36 | 1 | hiro | STOCK_PIXMAP_DELETED, |
| 37 | 1 | hiro | STOCK_PIXMAP_DIR_CLOSE, |
| 38 | 1 | hiro | STOCK_PIXMAP_DIR_OPEN, |
| 39 | 1 | hiro | STOCK_PIXMAP_DIR_NOSELECT, |
| 40 | 1 | hiro | STOCK_PIXMAP_ERROR, |
| 41 | 1 | hiro | STOCK_PIXMAP_FORWARDED, |
| 42 | 1 | hiro | STOCK_PIXMAP_GROUP, |
| 43 | 1 | hiro | STOCK_PIXMAP_INBOX, |
| 44 | 1 | hiro | STOCK_PIXMAP_INTERFACE, |
| 45 | 1 | hiro | STOCK_PIXMAP_JPILOT, |
| 46 | 1 | hiro | STOCK_PIXMAP_LDAP, |
| 47 | 1 | hiro | STOCK_PIXMAP_LINEWRAP, |
| 48 | 1 | hiro | STOCK_PIXMAP_MARK, |
| 49 | 1 | hiro | STOCK_PIXMAP_NEW, |
| 50 | 1 | hiro | STOCK_PIXMAP_OUTBOX, |
| 51 | 1 | hiro | STOCK_PIXMAP_REPLIED, |
| 52 | 1 | hiro | STOCK_PIXMAP_CLOSE, |
| 53 | 1 | hiro | STOCK_PIXMAP_DOWN_ARROW, |
| 54 | 1 | hiro | STOCK_PIXMAP_EXEC, |
| 55 | 1 | hiro | STOCK_PIXMAP_MAIL, |
| 56 | 1 | hiro | STOCK_PIXMAP_MAIL_ATTACH, |
| 57 | 1 | hiro | STOCK_PIXMAP_MAIL_COMPOSE, |
| 58 | 1 | hiro | STOCK_PIXMAP_MAIL_FORWARD, |
| 59 | 1 | hiro | STOCK_PIXMAP_MAIL_RECEIVE, |
| 60 | 1 | hiro | STOCK_PIXMAP_MAIL_RECEIVE_ALL, |
| 61 | 1 | hiro | STOCK_PIXMAP_MAIL_REPLY, |
| 62 | 1 | hiro | STOCK_PIXMAP_MAIL_REPLY_TO_ALL, |
| 63 | 1 | hiro | STOCK_PIXMAP_MAIL_SEND, |
| 64 | 1 | hiro | STOCK_PIXMAP_MAIL_SEND_QUEUE, |
| 65 | 1 | hiro | STOCK_PIXMAP_PASTE, |
| 66 | 1 | hiro | STOCK_PIXMAP_PREFERENCES, |
| 67 | 1 | hiro | STOCK_PIXMAP_PROPERTIES, |
| 68 | 1 | hiro | STOCK_PIXMAP_SYLPHEED_LOGO, |
| 69 | 1 | hiro | STOCK_PIXMAP_ADDRESS_BOOK, |
| 70 | 1 | hiro | STOCK_PIXMAP_TRASH, |
| 71 | 1 | hiro | STOCK_PIXMAP_UNREAD, |
| 72 | 1 | hiro | STOCK_PIXMAP_VCARD, |
| 73 | 1 | hiro | STOCK_PIXMAP_ONLINE, |
| 74 | 1 | hiro | STOCK_PIXMAP_OFFLINE, |
| 75 | 1 | hiro | STOCK_PIXMAP_MAIL_SMALL, |
| 76 | 1 | hiro | |
| 77 | 1 | hiro | N_STOCK_PIXMAPS |
| 78 | 1 | hiro | } StockPixmap; |
| 79 | 1 | hiro | |
| 80 | 1 | hiro | GtkWidget *stock_pixmap_widget (GtkWidget *window, |
| 81 | 1 | hiro | StockPixmap icon); |
| 82 | 1 | hiro | gint stock_pixmap_gdk (GtkWidget *window, |
| 83 | 1 | hiro | StockPixmap icon, |
| 84 | 1 | hiro | GdkPixmap **pixmap, |
| 85 | 1 | hiro | GdkBitmap **mask); |
| 86 | 189 | hiro | gint stock_pixbuf_gdk (GtkWidget *window, |
| 87 | 189 | hiro | StockPixmap icon, |
| 88 | 189 | hiro | GdkPixbuf **pixbuf); |
| 89 | 1 | hiro | |
| 90 | 1 | hiro | #endif /* __STOCK_PIXMAP_H__ */ |