Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030 #ifndef _GO_COLOR_GROUP_H_
00031 #define _GO_COLOR_GROUP_H_
00032
00033 #include <goffice/goffice.h>
00034
00035 G_BEGIN_DECLS
00036
00037 #define GO_COLOR_GROUP_HISTORY_SIZE 8
00038
00039 typedef struct {
00040 GObject parent;
00041
00042 char *name;
00043 gpointer context;
00044
00045 GOColor history[GO_COLOR_GROUP_HISTORY_SIZE];
00046 } GOColorGroup;
00047
00048 #define GO_TYPE_COLOR_GROUP (go_color_group_get_type ())
00049 #define GO_COLOR_GROUP(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GO_TYPE_COLOR_GROUP, GOColorGroup))
00050 #define GO_IS_COLOR_GROUP(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GO_TYPE_COLOR_GROUP))
00051
00052 GType go_color_group_get_type (void);
00053 GOColorGroup *go_color_group_find (char const *name, gpointer context);
00054 GOColorGroup *go_color_group_fetch (char const *name, gpointer context);
00055 void go_color_group_add_color (GOColorGroup *cg, GOColor c);
00056
00057 G_END_DECLS
00058
00059 #endif