/* AntiRight (c) 2002-2005 Jeffrey Bedard jefbed@e-list.net This file is part of AntiRight. AntiRight 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. AntiRight 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 AntiRight; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ #ifndef AR_PIXMAP_H #define AR_PIXMAP_H #ifdef HAVE_XMXPM #include #else #include #endif /* HAVE_XMXPM */ Pixmap antiright_file_to_bitmap(char *filename); XpmColorSymbol* antiright_setup_color_symbol(Widget widget); XpmAttributes antiright_setup_pixmap_attributes_for_widget(Widget widget); void antiright_free_pixmap_attributes(XpmAttributes *attributes); void antiright_set_widget_pixmaps(Widget label, Pixmap bitmap); void antiright_set_pixmap_from_data(Widget widget, char **data); void antiright_set_bitmap_from_file(Widget label, char* filename); void antiright_set_bitmap_from_data(Widget label, char icon_bits[], int width, int height); #endif /* AR_PIXMAP_H */