From 1ace8a21329554efffa1d1185befee021cedd1a7 Mon Sep 17 00:00:00 2001 From: Michael Terry Date: Mon, 19 Apr 2004 15:17:19 +0000 Subject: Add e-icon-factory.[ch] Use the icon theme via EIconFactory Move 2004-04-16 Michael Terry * Makefile.am: Add e-icon-factory.[ch] * e-gui-utils.c: Use the icon theme via EIconFactory * e-icon-factory.[ch]: Move EIconFactory to e-util, and add icon theme support to the object so evolution uses them svn path=/trunk/; revision=25511 --- e-util/e-icon-factory.h | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 e-util/e-icon-factory.h (limited to 'e-util/e-icon-factory.h') diff --git a/e-util/e-icon-factory.h b/e-util/e-icon-factory.h new file mode 100644 index 0000000000..8dede96ca4 --- /dev/null +++ b/e-util/e-icon-factory.h @@ -0,0 +1,38 @@ +/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */ +/* e-icon-factory.h - Icon factory for the Evolution shell. + * + * Copyright (C) 2002 Ximian, Inc. + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of version 2 of the GNU General Public + * License as published by the Free Software Foundation. + * + * 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. + * + * Author: Ettore Perazzoli + */ + +#ifndef _E_ICON_FACTORY_H_ +#define _E_ICON_FACTORY_H_ + +#include + +void e_icon_factory_init (void); + +gchar *e_icon_factory_get_icon_filename (const gchar *icon_name, + gint icon_size); + +GdkPixbuf *e_icon_factory_get_icon (const gchar *icon_name, + gint icon_size); + +GList *e_icon_factory_get_icon_list (const gchar *icon_name); + +#endif /* _E_ICON_FACTORY_H_ */ -- cgit