00001 /* 00002 * This file is part of contentLister. 00003 * 00004 * contentLister is free software: you can redistribute it and/or modify 00005 * it under the terms of the GNU General Public License as published by 00006 * the Free Software Foundation, either version 2 of the License, or 00007 * (at your option) any later version. 00008 * 00009 * contentLister is distributed in the hope that it will be useful, 00010 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00012 * GNU General Public License for more details. 00013 * 00014 * You should have received a copy of the GNU General Public License 00015 * along with this program. If not, see <http://www.gnu.org/licenses/>. 00016 */ 00017 00026 /* contentLister - A GTK based content lister (read only) application on the eReader platform 00027 * Copyright (C) 2005-2008 iRex Technologies B.V. 00028 * 00029 */ 00030 00031 #ifndef __EREADER_ICONS_H__ 00032 #define __EREADER_ICONS_H__ 00033 00034 #include <gtk/gtk.h> 00035 #include <gdk/gdk.h> 00036 00037 #define LOADED_ICON_MAX_WIDTH 64 00038 #define LOADED_ICON_MAX_HEIGHT 90 00039 00040 #ifdef __cplusplus 00041 extern "C" 00042 { 00043 #endif /* __cplusplus */ 00044 00050 void icons_init(); 00051 00057 void icons_destroy(); 00058 00066 GdkPixbuf* icons_get(unsigned int Icon_ID); 00067 00075 GdkPixbuf* icons_load(const char* location); 00076 00084 void icons_unload(GdkPixbuf* image); 00085 00086 #ifdef __cplusplus 00087 } 00088 #endif //* __cplusplus */ 00089 00090 #endif //__EREADER_ICONS_H__ 00091 00092 00093 00094