1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
4 * Copyright 2000, 2001, Ximian, Inc.
7 * Miguel de Icaza (miguel@kernel.org)
9 * Modified for gLabels by:
10 * Jim Evins <evins@snaught.com>
12 * This library is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU General Public
14 * License, version 2, as published by the Free Software Foundation.
16 * This library is distributed in the hope that it will be useful, but
17 * WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19 * General Public License for more details.
21 * You should have received a copy of the GNU General Public
22 * License along with this library; if not, write to the Free Software
23 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
27 #ifndef GNOME_APP_LIBS_COLOR_H
28 #define GNOME_APP_LIBS_COLOR_H
32 #include <gtk/gtkwidget.h>
36 void e_color_init (void);
38 /* Return the pixel value for the given red, green and blue */
39 gulong e_color_alloc (gushort red, gushort green, gushort blue);
40 void e_color_alloc_name (GtkWidget *widget, const char *name, GdkColor *color);
41 void e_color_alloc_gdk (GtkWidget *widget, GdkColor *color);
43 extern GdkColor e_white, e_dark_gray, e_black;
47 #endif /* GNOME_APP_LIBS_COLOR_H */