00001 /* D M _ C O L O R . H 00002 * BRL-CAD 00003 * 00004 * Copyright (c) 1993-2006 United States Government as represented by 00005 * the U.S. Army Research Laboratory. 00006 * 00007 * This library is free software; you can redistribute it and/or 00008 * modify it under the terms of the GNU Lesser General Public License 00009 * as published by the Free Software Foundation; either version 2.1 of 00010 * the License, or (at your option) any later version. 00011 * 00012 * This library is distributed in the hope that it will be useful, but 00013 * WITHOUT ANY WARRANTY; without even the implied warranty of 00014 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00015 * Library General Public License for more details. 00016 * 00017 * You should have received a copy of the GNU Lesser General Public 00018 * License along with this file; see the file named COPYING for more 00019 * information. 00020 */ 00021 /** @addtogroup libdm */ 00022 /*@{*/ 00023 /** @file dm_color.h 00024 * 00025 */ 00026 #ifndef SEEN_DM_COLOR 00027 #define SEEN_DM_COLOR 00028 00029 extern unsigned long dm_get_pixel(unsigned char r, unsigned char g, unsigned char b, long unsigned int *pixels, int cd); 00030 extern void dm_copy_default_colors(); 00031 extern void dm_allocate_color_cube(); 00032 #endif /* SEEN_DM_COLOR */ 00033 /*@}*/ 00034 /* 00035 * Local Variables: 00036 * mode: C 00037 * tab-width: 8 00038 * c-basic-offset: 4 00039 * indent-tabs-mode: t 00040 * End: 00041 * ex: shiftwidth=4 tabstop=8 00042 */ 00043