26#ifndef _COLOR_PALETTE_H_
27#define _COLOR_PALETTE_H_
36#define TYPE_GDS_RENDER_COLOR_PALETTE (color_palette_get_type())
unsigned int color_palette_get_color_count(ColorPalette *palette)
Return amount of stored colors in palette.
G_BEGIN_DECLS G_DECLARE_FINAL_TYPE(ColorPalette, color_palette, GDS_RENDER, COLOR_PALETTE, GObject)
ColorPalette * color_palette_new_from_resource(char *resource_name)
Create a new object with from a resource containing the html hex color scheme.
GdkRGBA * color_palette_get_color(ColorPalette *palette, GdkRGBA *color, unsigned int index)
Get the n-th color in the palette identified by the index.