#include <glib-object.h>#include <goffice/utils/go-color.h>Go to the source code of this file.
Classes | |
| struct | GOColorGroup |
Defines | |
| #define | GO_COLOR_GROUP_HISTORY_SIZE 8 |
| #define | GO_COLOR_GROUP_TYPE (go_color_group_get_type ()) |
| #define | GO_COLOR_GROUP(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GO_COLOR_GROUP_TYPE, GOColorGroup)) |
| #define | IS_GO_COLOR_GROUP(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GO_COLOR_GROUP_TYPE)) |
Functions | |
| GType | go_color_group_get_type (void) |
| GOColorGroup * | go_color_group_find (char const *name, gpointer context) |
| GOColorGroup * | go_color_group_fetch (char const *name, gpointer context) |
| void | go_color_group_add_color (GOColorGroup *cg, GOColor c) |
go_color_group_add_color : : GOColorGroup : the color | |
| #define GO_COLOR_GROUP | ( | obj | ) | (G_TYPE_CHECK_INSTANCE_CAST ((obj), GO_COLOR_GROUP_TYPE, GOColorGroup)) |
| #define GO_COLOR_GROUP_HISTORY_SIZE 8 |
| #define GO_COLOR_GROUP_TYPE (go_color_group_get_type ()) |
Referenced by go_color_group_class_init().
| #define IS_GO_COLOR_GROUP | ( | obj | ) | (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GO_COLOR_GROUP_TYPE)) |
Referenced by go_color_group_add_color().
| void go_color_group_add_color | ( | GOColorGroup * | cg, | |
| GOColor | c | |||
| ) |
go_color_group_add_color : : GOColorGroup : the color
Potentially slide the history to add the new colour. If it was already in the history reorder.
References GO_COLOR_GROUP_HISTORY_SIZE, go_color_group_signals, GO_IS_COLOR_GROUP, GOColorGroup::history, HISTORY_CHANGED, and IS_GO_COLOR_GROUP.
Referenced by get_index(), and set_color().
| GOColorGroup* go_color_group_fetch | ( | char const * | name, | |
| gpointer | context | |||
| ) |
References cg_equal(), cg_hash(), GOColorGroup::context, gchar, go_color_group_find(), go_color_group_get_type(), go_color_groups, and GOColorGroup::name.
Referenced by go_color_selector_new(), and EV_UnixToolbar::synthesize().
| GOColorGroup* go_color_group_find | ( | char const * | name, | |
| gpointer | context | |||
| ) |
| GType go_color_group_get_type | ( | void | ) |
1.7.1