2001-12-22 01:30:32 +01:00
|
|
|
/*
|
|
|
|
* Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
|
2012-05-27 19:31:10 +02:00
|
|
|
* Copyright (C) 1999-2012 Hiroyuki Yamamoto and the Claws Mail team
|
2001-12-22 01:30:32 +01:00
|
|
|
*
|
|
|
|
* 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
|
2007-07-11 18:38:12 +02:00
|
|
|
* the Free Software Foundation; either version 3 of the License, or
|
2001-12-22 01:30:32 +01:00
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
2007-07-11 18:38:12 +02:00
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*
|
2001-12-22 01:30:32 +01:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __STOCK_PIXMAP_H__
|
|
|
|
#define __STOCK_PIXMAP_H__
|
|
|
|
|
|
|
|
#include <glib.h>
|
2008-09-09 18:40:59 +02:00
|
|
|
#include <gtk/gtk.h>
|
2001-12-22 01:30:32 +01:00
|
|
|
|
|
|
|
typedef enum
|
|
|
|
{
|
2006-09-26 22:03:22 +02:00
|
|
|
STOCK_PIXMAP_ADDR_ONE,
|
|
|
|
STOCK_PIXMAP_ADDR_TWO,
|
2001-12-22 01:30:32 +01:00
|
|
|
STOCK_PIXMAP_ADDRESS,
|
2002-02-11 20:46:04 +01:00
|
|
|
STOCK_PIXMAP_ADDRESS_BOOK,
|
2003-09-07 21:25:35 +02:00
|
|
|
STOCK_PIXMAP_ADDRESS_SEARCH,
|
2007-10-11 13:25:31 +02:00
|
|
|
STOCK_PIXMAP_ANONYMOUS,
|
2001-12-22 01:30:32 +01:00
|
|
|
STOCK_PIXMAP_BOOK,
|
|
|
|
STOCK_PIXMAP_CATEGORY,
|
|
|
|
STOCK_PIXMAP_CHECKBOX_OFF,
|
|
|
|
STOCK_PIXMAP_CHECKBOX_ON,
|
2004-01-12 22:28:31 +01:00
|
|
|
STOCK_PIXMAP_CHECK_SPELLING,
|
2001-12-22 01:30:32 +01:00
|
|
|
STOCK_PIXMAP_CLIP,
|
2001-12-27 08:17:19 +01:00
|
|
|
STOCK_PIXMAP_CLIP_KEY,
|
2005-05-24 18:26:43 +02:00
|
|
|
STOCK_PIXMAP_CLIP_GPG_SIGNED,
|
2002-02-11 20:46:04 +01:00
|
|
|
STOCK_PIXMAP_CLOSE,
|
2001-12-22 01:30:32 +01:00
|
|
|
STOCK_PIXMAP_COMPLETE,
|
|
|
|
STOCK_PIXMAP_CONTINUE,
|
|
|
|
STOCK_PIXMAP_DELETED,
|
|
|
|
STOCK_PIXMAP_DIR_CLOSE,
|
2002-02-11 20:46:04 +01:00
|
|
|
STOCK_PIXMAP_DIR_CLOSE_HRM,
|
2001-12-22 01:30:32 +01:00
|
|
|
STOCK_PIXMAP_DIR_OPEN,
|
2002-01-06 12:47:40 +01:00
|
|
|
STOCK_PIXMAP_DIR_OPEN_HRM,
|
2005-07-01 19:33:02 +02:00
|
|
|
STOCK_PIXMAP_DIR_CLOSE_MARK,
|
|
|
|
STOCK_PIXMAP_DIR_CLOSE_HRM_MARK,
|
|
|
|
STOCK_PIXMAP_DIR_OPEN_MARK,
|
|
|
|
STOCK_PIXMAP_DIR_OPEN_HRM_MARK,
|
2002-02-11 20:46:04 +01:00
|
|
|
STOCK_PIXMAP_DOWN_ARROW,
|
2002-08-05 19:56:35 +02:00
|
|
|
STOCK_PIXMAP_UP_ARROW,
|
2002-02-11 20:46:04 +01:00
|
|
|
STOCK_PIXMAP_EDIT_EXTERN,
|
2001-12-22 01:30:32 +01:00
|
|
|
STOCK_PIXMAP_ERROR,
|
2002-02-11 20:46:04 +01:00
|
|
|
STOCK_PIXMAP_EXEC,
|
2001-12-22 01:30:32 +01:00
|
|
|
STOCK_PIXMAP_FORWARDED,
|
|
|
|
STOCK_PIXMAP_GROUP,
|
2002-02-11 20:46:04 +01:00
|
|
|
STOCK_PIXMAP_IGNORETHREAD,
|
|
|
|
STOCK_PIXMAP_INBOX_CLOSE,
|
|
|
|
STOCK_PIXMAP_INBOX_CLOSE_HRM,
|
|
|
|
STOCK_PIXMAP_INBOX_OPEN,
|
|
|
|
STOCK_PIXMAP_INBOX_OPEN_HRM,
|
2005-07-01 19:33:02 +02:00
|
|
|
STOCK_PIXMAP_INBOX_CLOSE_MARK,
|
|
|
|
STOCK_PIXMAP_INBOX_CLOSE_HRM_MARK,
|
|
|
|
STOCK_PIXMAP_INBOX_OPEN_MARK,
|
|
|
|
STOCK_PIXMAP_INBOX_OPEN_HRM_MARK,
|
2002-02-11 20:46:04 +01:00
|
|
|
STOCK_PIXMAP_INSERT_FILE,
|
2001-12-22 01:30:32 +01:00
|
|
|
STOCK_PIXMAP_INTERFACE,
|
|
|
|
STOCK_PIXMAP_JPILOT,
|
2001-12-27 08:17:19 +01:00
|
|
|
STOCK_PIXMAP_KEY,
|
2008-08-28 15:09:09 +02:00
|
|
|
STOCK_PIXMAP_KEY_SIGN,
|
2001-12-22 01:30:32 +01:00
|
|
|
STOCK_PIXMAP_LDAP,
|
2004-05-10 12:22:28 +02:00
|
|
|
STOCK_PIXMAP_LINEWRAP_CURRENT,
|
|
|
|
STOCK_PIXMAP_LINEWRAP_ALL,
|
2001-12-24 00:22:56 +01:00
|
|
|
STOCK_PIXMAP_LOCKED,
|
2001-12-22 01:30:32 +01:00
|
|
|
STOCK_PIXMAP_MAIL,
|
|
|
|
STOCK_PIXMAP_MAIL_ATTACH,
|
|
|
|
STOCK_PIXMAP_MAIL_COMPOSE,
|
|
|
|
STOCK_PIXMAP_MAIL_FORWARD,
|
|
|
|
STOCK_PIXMAP_MAIL_RECEIVE,
|
|
|
|
STOCK_PIXMAP_MAIL_RECEIVE_ALL,
|
|
|
|
STOCK_PIXMAP_MAIL_REPLY,
|
|
|
|
STOCK_PIXMAP_MAIL_REPLY_TO_ALL,
|
|
|
|
STOCK_PIXMAP_MAIL_REPLY_TO_AUTHOR,
|
2008-05-22 08:58:47 +02:00
|
|
|
STOCK_PIXMAP_MAIL_REPLY_TO_LIST,
|
2001-12-22 01:30:32 +01:00
|
|
|
STOCK_PIXMAP_MAIL_SEND,
|
|
|
|
STOCK_PIXMAP_MAIL_SEND_QUEUE,
|
2002-02-11 20:46:04 +01:00
|
|
|
STOCK_PIXMAP_MAIL_SIGN,
|
2007-03-23 09:59:32 +01:00
|
|
|
STOCK_PIXMAP_OPEN_MAIL,
|
2002-02-11 20:46:04 +01:00
|
|
|
STOCK_PIXMAP_MARK,
|
|
|
|
STOCK_PIXMAP_NEW,
|
2001-12-22 01:30:32 +01:00
|
|
|
STOCK_PIXMAP_NEWS_COMPOSE,
|
2002-02-11 20:46:04 +01:00
|
|
|
STOCK_PIXMAP_OUTBOX_CLOSE,
|
|
|
|
STOCK_PIXMAP_OUTBOX_CLOSE_HRM,
|
|
|
|
STOCK_PIXMAP_OUTBOX_OPEN,
|
|
|
|
STOCK_PIXMAP_OUTBOX_OPEN_HRM,
|
2005-07-01 19:33:02 +02:00
|
|
|
STOCK_PIXMAP_OUTBOX_CLOSE_MARK,
|
|
|
|
STOCK_PIXMAP_OUTBOX_CLOSE_HRM_MARK,
|
|
|
|
STOCK_PIXMAP_OUTBOX_OPEN_MARK,
|
|
|
|
STOCK_PIXMAP_OUTBOX_OPEN_HRM_MARK,
|
2002-02-11 20:46:04 +01:00
|
|
|
STOCK_PIXMAP_REPLIED,
|
2011-12-16 14:30:33 +01:00
|
|
|
STOCK_PIXMAP_REPLIED_AND_FORWARDED,
|
2001-12-22 01:30:32 +01:00
|
|
|
STOCK_PIXMAP_PASTE,
|
|
|
|
STOCK_PIXMAP_PREFERENCES,
|
|
|
|
STOCK_PIXMAP_PROPERTIES,
|
2002-02-11 20:46:04 +01:00
|
|
|
STOCK_PIXMAP_QUEUE_CLOSE,
|
|
|
|
STOCK_PIXMAP_QUEUE_CLOSE_HRM,
|
|
|
|
STOCK_PIXMAP_QUEUE_OPEN,
|
|
|
|
STOCK_PIXMAP_QUEUE_OPEN_HRM,
|
|
|
|
STOCK_PIXMAP_TRASH_OPEN,
|
|
|
|
STOCK_PIXMAP_TRASH_OPEN_HRM,
|
|
|
|
STOCK_PIXMAP_TRASH_CLOSE,
|
|
|
|
STOCK_PIXMAP_TRASH_CLOSE_HRM,
|
2005-07-01 19:33:02 +02:00
|
|
|
STOCK_PIXMAP_QUEUE_CLOSE_MARK,
|
|
|
|
STOCK_PIXMAP_QUEUE_CLOSE_HRM_MARK,
|
|
|
|
STOCK_PIXMAP_QUEUE_OPEN_MARK,
|
|
|
|
STOCK_PIXMAP_QUEUE_OPEN_HRM_MARK,
|
|
|
|
STOCK_PIXMAP_TRASH_OPEN_MARK,
|
|
|
|
STOCK_PIXMAP_TRASH_OPEN_HRM_MARK,
|
|
|
|
STOCK_PIXMAP_TRASH_CLOSE_MARK,
|
|
|
|
STOCK_PIXMAP_TRASH_CLOSE_HRM_MARK,
|
2001-12-22 01:30:32 +01:00
|
|
|
STOCK_PIXMAP_UNREAD,
|
|
|
|
STOCK_PIXMAP_VCARD,
|
2004-01-12 22:28:31 +01:00
|
|
|
STOCK_PIXMAP_ONLINE,
|
|
|
|
STOCK_PIXMAP_OFFLINE,
|
2002-07-07 22:46:30 +02:00
|
|
|
STOCK_PIXMAP_NOTICE_WARN, /* small warning */
|
|
|
|
STOCK_PIXMAP_NOTICE_ERROR, /* small error */
|
|
|
|
STOCK_PIXMAP_NOTICE_NOTE, /* small message */
|
2002-08-22 16:35:57 +02:00
|
|
|
STOCK_PIXMAP_QUICKSEARCH, /* quicksearch pixmap */
|
2003-01-31 16:55:56 +01:00
|
|
|
STOCK_PIXMAP_GPG_SIGNED,
|
2007-07-14 13:02:52 +02:00
|
|
|
STOCK_PIXMAP_GO_FOLDERS,
|
2003-02-18 10:51:35 +01:00
|
|
|
STOCK_PIXMAP_DRAFTS_CLOSE,
|
|
|
|
STOCK_PIXMAP_DRAFTS_OPEN,
|
2005-07-01 19:33:02 +02:00
|
|
|
STOCK_PIXMAP_DRAFTS_CLOSE_MARK,
|
|
|
|
STOCK_PIXMAP_DRAFTS_OPEN_MARK,
|
2003-07-19 15:50:29 +02:00
|
|
|
STOCK_PIXMAP_MIME_TEXT_PLAIN,
|
|
|
|
STOCK_PIXMAP_MIME_TEXT_HTML,
|
2008-02-10 12:54:44 +01:00
|
|
|
STOCK_PIXMAP_MIME_TEXT_PATCH,
|
2003-07-19 15:50:29 +02:00
|
|
|
STOCK_PIXMAP_MIME_APPLICATION,
|
|
|
|
STOCK_PIXMAP_MIME_IMAGE,
|
|
|
|
STOCK_PIXMAP_MIME_AUDIO,
|
|
|
|
STOCK_PIXMAP_MIME_TEXT_ENRICHED,
|
|
|
|
STOCK_PIXMAP_MIME_UNKNOWN,
|
2007-02-20 18:49:16 +01:00
|
|
|
STOCK_PIXMAP_MIME_PDF,
|
|
|
|
STOCK_PIXMAP_MIME_PS,
|
|
|
|
STOCK_PIXMAP_MIME_TEXT_CALENDAR,
|
2007-02-20 19:45:33 +01:00
|
|
|
STOCK_PIXMAP_MIME_PGP_SIG,
|
2007-05-06 22:05:41 +02:00
|
|
|
STOCK_PIXMAP_PRINTER,
|
2004-01-12 22:28:31 +01:00
|
|
|
STOCK_PIXMAP_PRIVACY_SIGNED,
|
|
|
|
STOCK_PIXMAP_PRIVACY_PASSED,
|
|
|
|
STOCK_PIXMAP_PRIVACY_FAILED,
|
|
|
|
STOCK_PIXMAP_PRIVACY_UNKNOWN,
|
|
|
|
STOCK_PIXMAP_PRIVACY_EXPIRED,
|
|
|
|
STOCK_PIXMAP_PRIVACY_WARN,
|
2004-06-25 10:05:09 +02:00
|
|
|
STOCK_PIXMAP_PRIVACY_EMBLEM_ENCRYPTED,
|
|
|
|
STOCK_PIXMAP_PRIVACY_EMBLEM_SIGNED,
|
|
|
|
STOCK_PIXMAP_PRIVACY_EMBLEM_PASSED,
|
|
|
|
STOCK_PIXMAP_PRIVACY_EMBLEM_FAILED,
|
|
|
|
STOCK_PIXMAP_PRIVACY_EMBLEM_WARN,
|
2004-01-12 22:28:31 +01:00
|
|
|
STOCK_PIXMAP_MIME_MESSAGE,
|
2006-11-07 11:47:23 +01:00
|
|
|
STOCK_PIXMAP_CLAWS_MAIL_ICON,
|
2004-09-30 12:27:26 +02:00
|
|
|
STOCK_PIXMAP_READ,
|
2008-05-22 08:58:47 +02:00
|
|
|
STOCK_PIXMAP_DELETE,
|
2008-05-24 08:53:37 +02:00
|
|
|
STOCK_PIXMAP_CANCEL,
|
2005-08-28 18:55:42 +02:00
|
|
|
STOCK_PIXMAP_TRASH,
|
2006-11-07 11:47:23 +01:00
|
|
|
STOCK_PIXMAP_CLAWS_MAIL_LOGO,
|
2005-10-18 19:15:44 +02:00
|
|
|
STOCK_PIXMAP_DIR_NOSELECT,
|
2006-02-24 18:48:13 +01:00
|
|
|
STOCK_PIXMAP_SPAM,
|
2006-02-27 18:47:53 +01:00
|
|
|
STOCK_PIXMAP_SPAM_BTN,
|
|
|
|
STOCK_PIXMAP_HAM_BTN,
|
2006-08-25 15:09:21 +02:00
|
|
|
STOCK_PIXMAP_MOVED,
|
|
|
|
STOCK_PIXMAP_COPIED,
|
2007-04-23 19:01:16 +02:00
|
|
|
STOCK_PIXMAP_SELECTION,
|
2007-07-27 16:19:05 +02:00
|
|
|
STOCK_PIXMAP_WATCHTHREAD,
|
2008-01-12 22:23:42 +01:00
|
|
|
STOCK_PIXMAP_TRAY_NEWMAIL_OFFLINE,
|
|
|
|
STOCK_PIXMAP_TRAY_NEWMAIL,
|
|
|
|
STOCK_PIXMAP_TRAY_NEWMARKEDMAIL_OFFLINE,
|
|
|
|
STOCK_PIXMAP_TRAY_NEWMARKEDMAIL,
|
|
|
|
STOCK_PIXMAP_TRAY_NOMAIL_OFFLINE,
|
|
|
|
STOCK_PIXMAP_TRAY_NOMAIL,
|
|
|
|
STOCK_PIXMAP_TRAY_UNREADMAIL_OFFLINE,
|
|
|
|
STOCK_PIXMAP_TRAY_UNREADMAIL,
|
|
|
|
STOCK_PIXMAP_TRAY_UNREADMARKEDMAIL_OFFLINE,
|
|
|
|
STOCK_PIXMAP_TRAY_UNREADMARKEDMAIL,
|
2005-10-18 19:15:44 +02:00
|
|
|
STOCK_PIXMAP_EMPTY, /* last entry */
|
2001-12-22 01:30:32 +01:00
|
|
|
N_STOCK_PIXMAPS
|
|
|
|
} StockPixmap;
|
|
|
|
|
2004-06-25 10:05:09 +02:00
|
|
|
typedef enum {
|
|
|
|
OVERLAY_NONE,
|
|
|
|
OVERLAY_TOP_LEFT,
|
|
|
|
OVERLAY_TOP_CENTER,
|
|
|
|
OVERLAY_TOP_RIGHT,
|
|
|
|
OVERLAY_MID_LEFT,
|
|
|
|
OVERLAY_MID_CENTER,
|
|
|
|
OVERLAY_MID_RIGHT,
|
|
|
|
OVERLAY_BOTTOM_LEFT,
|
|
|
|
OVERLAY_BOTTOM_CENTER,
|
|
|
|
OVERLAY_BOTTOM_RIGHT
|
|
|
|
} OverlayPosition;
|
|
|
|
|
2001-12-22 01:30:32 +01:00
|
|
|
GtkWidget *stock_pixmap_widget (GtkWidget *window,
|
|
|
|
StockPixmap icon);
|
2005-01-05 22:41:32 +01:00
|
|
|
gint stock_pixbuf_gdk (GtkWidget *window, StockPixmap icon,
|
|
|
|
GdkPixbuf **pixbuf);
|
2001-12-22 01:30:32 +01:00
|
|
|
|
2002-02-12 21:58:47 +01:00
|
|
|
GList *stock_pixmap_themes_list_new (void);
|
|
|
|
void stock_pixmap_themes_list_free (GList *list);
|
2002-08-05 19:56:35 +02:00
|
|
|
gchar *stock_pixmap_get_name (StockPixmap icon);
|
|
|
|
StockPixmap stock_pixmap_get_icon (gchar *file);
|
2004-06-25 10:05:09 +02:00
|
|
|
GtkWidget *stock_pixmap_widget_with_overlay (GtkWidget *window,
|
|
|
|
StockPixmap icon,
|
|
|
|
StockPixmap overlay,
|
|
|
|
OverlayPosition pos,
|
|
|
|
gint border_x,
|
|
|
|
gint border_y);
|
2009-01-09 09:02:05 +01:00
|
|
|
gchar *stock_pixmap_get_system_theme_dir_for_theme(const gchar *theme);
|
2002-02-12 21:58:47 +01:00
|
|
|
|
2001-12-22 01:30:32 +01:00
|
|
|
#endif /* __STOCK_PIXMAP_H__ */
|