aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/e-colors.h
blob: 6cfceb664c21b981053ec989f62481fdf84a31b9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef GNOME_APP_LIBS_COLOR_H
#define GNOME_APP_LIBS_COLOR_H

#include <glib.h>
#include <gdk/gdk.h>
#include <libgnome/gnome-defs.h>

BEGIN_GNOME_DECLS

void     e_color_init       (void);

/* Return the pixel value for the given red, green and blue */
int      e_color_alloc      (gushort red, gushort green, gushort blue);
void     e_color_alloc_name (const char *name, GdkColor *color);
void     e_color_alloc_gdk  (GdkColor *color);

extern GdkColor e_white, e_dark_gray, e_black;

END_GNOME_DECLS

#endif /* GNOME_APP_LIBS_COLOR_H */