Ardour  8.7-14-g57a6773833
gdkcolor.h File Reference
#include <cairo.h>
#include <gdk/gdktypes.h>
Include dependency graph for gdkcolor.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _GdkColor
 
struct  _GdkColormap
 
struct  _GdkColormapClass
 

Macros

#define GDK_TYPE_COLORMAP   (gdk_colormap_get_type ())
 
#define GDK_COLORMAP(object)   (G_TYPE_CHECK_INSTANCE_CAST ((object), GDK_TYPE_COLORMAP, GdkColormap))
 
#define GDK_COLORMAP_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), GDK_TYPE_COLORMAP, GdkColormapClass))
 
#define GDK_IS_COLORMAP(object)   (G_TYPE_CHECK_INSTANCE_TYPE ((object), GDK_TYPE_COLORMAP))
 
#define GDK_IS_COLORMAP_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), GDK_TYPE_COLORMAP))
 
#define GDK_COLORMAP_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), GDK_TYPE_COLORMAP, GdkColormapClass))
 
#define GDK_TYPE_COLOR   (gdk_color_get_type ())
 

Typedefs

typedef struct _GdkColormapClass GdkColormapClass
 

Functions

GType gdk_colormap_get_type (void) G_GNUC_CONST
 
GdkColormapgdk_colormap_new (GdkVisual *visual, gboolean allocate)
 
GdkColormapgdk_colormap_ref (GdkColormap *cmap)
 
void gdk_colormap_unref (GdkColormap *cmap)
 
GdkColormapgdk_colormap_get_system (void)
 
GdkScreengdk_colormap_get_screen (GdkColormap *cmap)
 
gint gdk_colormap_get_system_size (void)
 
void gdk_colormap_change (GdkColormap *colormap, gint ncolors)
 
gint gdk_colormap_alloc_colors (GdkColormap *colormap, GdkColor *colors, gint n_colors, gboolean writeable, gboolean best_match, gboolean *success)
 
gboolean gdk_colormap_alloc_color (GdkColormap *colormap, GdkColor *color, gboolean writeable, gboolean best_match)
 
void gdk_colormap_free_colors (GdkColormap *colormap, const GdkColor *colors, gint n_colors)
 
void gdk_colormap_query_color (GdkColormap *colormap, gulong pixel, GdkColor *result)
 
GdkVisualgdk_colormap_get_visual (GdkColormap *colormap)
 
GdkColorgdk_color_copy (const GdkColor *color)
 
void gdk_color_free (GdkColor *color)
 
gboolean gdk_color_parse (const gchar *spec, GdkColor *color)
 
guint gdk_color_hash (const GdkColor *colora)
 
gboolean gdk_color_equal (const GdkColor *colora, const GdkColor *colorb)
 
gchar * gdk_color_to_string (const GdkColor *color)
 
GType gdk_color_get_type (void) G_GNUC_CONST
 
void gdk_colors_store (GdkColormap *colormap, GdkColor *colors, gint ncolors)
 
gint gdk_color_white (GdkColormap *colormap, GdkColor *color)
 
gint gdk_color_black (GdkColormap *colormap, GdkColor *color)
 
gint gdk_color_alloc (GdkColormap *colormap, GdkColor *color)
 
gint gdk_color_change (GdkColormap *colormap, GdkColor *color)
 
gint gdk_colors_alloc (GdkColormap *colormap, gboolean contiguous, gulong *planes, gint nplanes, gulong *pixels, gint npixels)
 
void gdk_colors_free (GdkColormap *colormap, gulong *pixels, gint npixels, gulong planes)
 

Macro Definition Documentation

◆ GDK_COLORMAP

#define GDK_COLORMAP (   object)    (G_TYPE_CHECK_INSTANCE_CAST ((object), GDK_TYPE_COLORMAP, GdkColormap))

Definition at line 60 of file gdkcolor.h.

◆ GDK_COLORMAP_CLASS

#define GDK_COLORMAP_CLASS (   klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), GDK_TYPE_COLORMAP, GdkColormapClass))

Definition at line 61 of file gdkcolor.h.

◆ GDK_COLORMAP_GET_CLASS

#define GDK_COLORMAP_GET_CLASS (   obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), GDK_TYPE_COLORMAP, GdkColormapClass))

Definition at line 64 of file gdkcolor.h.

◆ GDK_IS_COLORMAP

#define GDK_IS_COLORMAP (   object)    (G_TYPE_CHECK_INSTANCE_TYPE ((object), GDK_TYPE_COLORMAP))

Definition at line 62 of file gdkcolor.h.

◆ GDK_IS_COLORMAP_CLASS

#define GDK_IS_COLORMAP_CLASS (   klass)    (G_TYPE_CHECK_CLASS_TYPE ((klass), GDK_TYPE_COLORMAP))

Definition at line 63 of file gdkcolor.h.

◆ GDK_TYPE_COLOR

#define GDK_TYPE_COLOR   (gdk_color_get_type ())

Definition at line 66 of file gdkcolor.h.

◆ GDK_TYPE_COLORMAP

#define GDK_TYPE_COLORMAP   (gdk_colormap_get_type ())

Definition at line 59 of file gdkcolor.h.

Typedef Documentation

◆ GdkColormapClass

Definition at line 37 of file gdkcolor.h.

Function Documentation

◆ gdk_color_alloc()

gint gdk_color_alloc ( GdkColormap colormap,
GdkColor color 
)

◆ gdk_color_black()

gint gdk_color_black ( GdkColormap colormap,
GdkColor color 
)

◆ gdk_color_change()

gint gdk_color_change ( GdkColormap colormap,
GdkColor color 
)

◆ gdk_color_copy()

GdkColor* gdk_color_copy ( const GdkColor color)

◆ gdk_color_equal()

gboolean gdk_color_equal ( const GdkColor colora,
const GdkColor colorb 
)

◆ gdk_color_free()

void gdk_color_free ( GdkColor color)

◆ gdk_color_get_type()

GType gdk_color_get_type ( void  )

◆ gdk_color_hash()

guint gdk_color_hash ( const GdkColor colora)

◆ gdk_color_parse()

gboolean gdk_color_parse ( const gchar *  spec,
GdkColor color 
)

◆ gdk_color_to_string()

gchar* gdk_color_to_string ( const GdkColor color)

◆ gdk_color_white()

gint gdk_color_white ( GdkColormap colormap,
GdkColor color 
)

◆ gdk_colormap_alloc_color()

gboolean gdk_colormap_alloc_color ( GdkColormap colormap,
GdkColor color,
gboolean  writeable,
gboolean  best_match 
)

◆ gdk_colormap_alloc_colors()

gint gdk_colormap_alloc_colors ( GdkColormap colormap,
GdkColor colors,
gint  n_colors,
gboolean  writeable,
gboolean  best_match,
gboolean *  success 
)

◆ gdk_colormap_change()

void gdk_colormap_change ( GdkColormap colormap,
gint  ncolors 
)

◆ gdk_colormap_free_colors()

void gdk_colormap_free_colors ( GdkColormap colormap,
const GdkColor colors,
gint  n_colors 
)

◆ gdk_colormap_get_screen()

GdkScreen* gdk_colormap_get_screen ( GdkColormap cmap)

◆ gdk_colormap_get_system()

GdkColormap* gdk_colormap_get_system ( void  )

◆ gdk_colormap_get_system_size()

gint gdk_colormap_get_system_size ( void  )

◆ gdk_colormap_get_type()

GType gdk_colormap_get_type ( void  )

◆ gdk_colormap_get_visual()

GdkVisual* gdk_colormap_get_visual ( GdkColormap colormap)

◆ gdk_colormap_new()

GdkColormap* gdk_colormap_new ( GdkVisual visual,
gboolean  allocate 
)

◆ gdk_colormap_query_color()

void gdk_colormap_query_color ( GdkColormap colormap,
gulong  pixel,
GdkColor result 
)

◆ gdk_colormap_ref()

GdkColormap* gdk_colormap_ref ( GdkColormap cmap)

◆ gdk_colormap_unref()

void gdk_colormap_unref ( GdkColormap cmap)

◆ gdk_colors_alloc()

gint gdk_colors_alloc ( GdkColormap colormap,
gboolean  contiguous,
gulong *  planes,
gint  nplanes,
gulong *  pixels,
gint  npixels 
)

◆ gdk_colors_free()

void gdk_colors_free ( GdkColormap colormap,
gulong *  pixels,
gint  npixels,
gulong  planes 
)

◆ gdk_colors_store()

void gdk_colors_store ( GdkColormap colormap,
GdkColor colors,
gint  ncolors 
)