27 #ifndef __GDK_COLOR_H__
28 #define __GDK_COLOR_H__
30 #if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GDK_H_INSIDE__) && !defined (GDK_COMPILATION)
31 #error "Only <gdk/gdk.h> can be included directly."
59 #define GDK_TYPE_COLORMAP (gdk_colormap_get_type ())
60 #define GDK_COLORMAP(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), GDK_TYPE_COLORMAP, GdkColormap))
61 #define GDK_COLORMAP_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GDK_TYPE_COLORMAP, GdkColormapClass))
62 #define GDK_IS_COLORMAP(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GDK_TYPE_COLORMAP))
63 #define GDK_IS_COLORMAP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GDK_TYPE_COLORMAP))
64 #define GDK_COLORMAP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GDK_TYPE_COLORMAP, GdkColormapClass))
66 #define GDK_TYPE_COLOR (gdk_color_get_type ())
80 gpointer
GSEAL (windowing_data);
94 #ifndef GDK_DISABLE_DEPRECATED
99 #ifndef GDK_MULTIHEAD_SAFE
105 #ifndef GDK_DISABLE_DEPRECATED
109 #if !defined (GDK_DISABLE_DEPRECATED) || defined (GDK_COMPILATION)
124 gboolean best_match);
146 #ifndef GDK_DISABLE_DEPRECATED
160 #if !defined (GDK_DISABLE_DEPRECATED) || defined (GDK_COMPILATION)
gint gdk_color_alloc(GdkColormap *colormap, GdkColor *color)
void gdk_colors_store(GdkColormap *colormap, GdkColor *colors, gint ncolors)
GdkVisual * gdk_colormap_get_visual(GdkColormap *colormap)
gint gdk_color_white(GdkColormap *colormap, GdkColor *color)
gint gdk_color_black(GdkColormap *colormap, GdkColor *color)
GdkScreen * gdk_colormap_get_screen(GdkColormap *cmap)
void gdk_colors_free(GdkColormap *colormap, gulong *pixels, gint npixels, gulong planes)
GType gdk_color_get_type(void) G_GNUC_CONST
GdkColormap * gdk_colormap_new(GdkVisual *visual, gboolean allocate)
gint gdk_colors_alloc(GdkColormap *colormap, gboolean contiguous, gulong *planes, gint nplanes, gulong *pixels, gint npixels)
GType gdk_colormap_get_type(void) G_GNUC_CONST
gint gdk_color_change(GdkColormap *colormap, GdkColor *color)
void gdk_colormap_query_color(GdkColormap *colormap, gulong pixel, GdkColor *result)
gboolean gdk_colormap_alloc_color(GdkColormap *colormap, GdkColor *color, gboolean writeable, gboolean best_match)
gboolean gdk_color_equal(const GdkColor *colora, const GdkColor *colorb)
guint gdk_color_hash(const GdkColor *colora)
gint gdk_colormap_alloc_colors(GdkColormap *colormap, GdkColor *colors, gint n_colors, gboolean writeable, gboolean best_match, gboolean *success)
gboolean gdk_color_parse(const gchar *spec, GdkColor *color)
void gdk_colormap_unref(GdkColormap *cmap)
void gdk_colormap_change(GdkColormap *colormap, gint ncolors)
gchar * gdk_color_to_string(const GdkColor *color)
GdkColormap * gdk_colormap_ref(GdkColormap *cmap)
void gdk_colormap_free_colors(GdkColormap *colormap, const GdkColor *colors, gint n_colors)
void gdk_color_free(GdkColor *color)
GdkColor * gdk_color_copy(const GdkColor *color)
gint gdk_colormap_get_system_size(void)
GdkColormap * gdk_colormap_get_system(void)
PBD::PropertyDescriptor< uint32_t > color
GObjectClass parent_class
gpointer GSEAL(windowing_data)
GdkVisual * GSEAL(visual)