]> git.sur5r.net Git - glabels/blob - src/mygal/e-colors.h
Imported Upstream version 2.2.8
[glabels] / src / mygal / e-colors.h
1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2 /* 
3  * e-colors.h
4  * Copyright 2000, 2001, Ximian, Inc.
5  *
6  * Authors:
7  *   Miguel de Icaza (miguel@kernel.org)
8  *
9  * Modified for gLabels by:
10  *   Jim Evins <evins@snaught.com>
11  *
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.
15  *
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.
20  *
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
24  * 02111-1307, USA.
25  */
26
27 #ifndef GNOME_APP_LIBS_COLOR_H
28 #define GNOME_APP_LIBS_COLOR_H
29
30 #include <glib.h>
31 #include <gdk/gdk.h>
32 #include <gtk/gtkwidget.h>
33
34 G_BEGIN_DECLS
35
36 void     e_color_init       (void);
37
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);
42
43 extern GdkColor e_white, e_dark_gray, e_black;
44
45 G_END_DECLS
46
47 #endif /* GNOME_APP_LIBS_COLOR_H */