e538d7aecf
* src/stock_pixmap.c * src/stock_pixmap.h * src/pixmaps/quicksearch.xpm *ADDED* Add the quicksearch pixmap * src/mainwindow.c * src/summaryview.c * src/summaryview.h Make quicksearch bar visible/hidden via a button
119 lines
3.4 KiB
C
119 lines
3.4 KiB
C
/*
|
|
* Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
|
|
* Copyright (C) 1999-2001 Hiroyuki Yamamoto
|
|
*
|
|
* 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
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
* (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
|
|
* along with this program; if not, write to the Free Software
|
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
*/
|
|
|
|
#ifndef __STOCK_PIXMAP_H__
|
|
#define __STOCK_PIXMAP_H__
|
|
|
|
#include <glib.h>
|
|
#include <gtk/gtkwidget.h>
|
|
|
|
typedef enum
|
|
{
|
|
STOCK_PIXMAP_ADDRESS,
|
|
STOCK_PIXMAP_ADDRESS_BOOK,
|
|
STOCK_PIXMAP_BOOK,
|
|
STOCK_PIXMAP_CATEGORY,
|
|
STOCK_PIXMAP_CHECKBOX_OFF,
|
|
STOCK_PIXMAP_CHECKBOX_ON,
|
|
STOCK_PIXMAP_CLIP,
|
|
STOCK_PIXMAP_CLIP_KEY,
|
|
STOCK_PIXMAP_CLOSE,
|
|
STOCK_PIXMAP_COMPLETE,
|
|
STOCK_PIXMAP_CONTINUE,
|
|
STOCK_PIXMAP_DELETED,
|
|
STOCK_PIXMAP_DIR_CLOSE,
|
|
STOCK_PIXMAP_DIR_CLOSE_HRM,
|
|
STOCK_PIXMAP_DIR_OPEN,
|
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
|
STOCK_PIXMAP_OUTBOX_OPEN_HRM,
|
|
STOCK_PIXMAP_REPLIED,
|
|
STOCK_PIXMAP_PASTE,
|
|
STOCK_PIXMAP_PREFERENCES,
|
|
STOCK_PIXMAP_PROPERTIES,
|
|
STOCK_PIXMAP_QUEUE_CLOSE,
|
|
STOCK_PIXMAP_QUEUE_CLOSE_HRM,
|
|
STOCK_PIXMAP_QUEUE_OPEN,
|
|
STOCK_PIXMAP_QUEUE_OPEN_HRM,
|
|
STOCK_PIXMAP_SYLPHEED_LOGO,
|
|
STOCK_PIXMAP_TRASH_OPEN,
|
|
STOCK_PIXMAP_TRASH_OPEN_HRM,
|
|
STOCK_PIXMAP_TRASH_CLOSE,
|
|
STOCK_PIXMAP_TRASH_CLOSE_HRM,
|
|
STOCK_PIXMAP_UNREAD,
|
|
STOCK_PIXMAP_VCARD,
|
|
STOCK_PIXMAP_WORK_ONLINE,
|
|
STOCK_PIXMAP_WORK_OFFLINE,
|
|
STOCK_PIXMAP_NOTICE_WARN, /* small warning */
|
|
STOCK_PIXMAP_NOTICE_ERROR, /* small error */
|
|
STOCK_PIXMAP_NOTICE_NOTE, /* small message */
|
|
STOCK_PIXMAP_QUICKSEARCH, /* quicksearch pixmap */
|
|
|
|
N_STOCK_PIXMAPS
|
|
} StockPixmap;
|
|
|
|
GtkWidget *stock_pixmap_widget (GtkWidget *window,
|
|
StockPixmap icon);
|
|
gint stock_pixmap_gdk (GtkWidget *window,
|
|
StockPixmap icon,
|
|
GdkPixmap **pixmap,
|
|
GdkBitmap **mask);
|
|
|
|
GList *stock_pixmap_themes_list_new (void);
|
|
void stock_pixmap_themes_list_free (GList *list);
|
|
gchar *stock_pixmap_get_name (StockPixmap icon);
|
|
StockPixmap stock_pixmap_get_icon (gchar *file);
|
|
|
|
#endif /* __STOCK_PIXMAP_H__ */
|