Logo Search packages:      
Sourcecode: gnome-compiz-manager version File versions


/* Generated by GOB (v2.0.14)   (do not edit directly) */

#include <glib.h>
#include <glib-object.h>
#ifndef __GCM_GL_COLOR_H__
#define __GCM_GL_COLOR_H__

#include <gdk/gdk.h>

 * Type checking and casting macros
#define GCM_TYPE_GL_COLOR     (gcm_gl_color_get_type())
#define GCM_GL_COLOR(obj)     G_TYPE_CHECK_INSTANCE_CAST((obj), gcm_gl_color_get_type(), GCMGLColor)
#define GCM_GL_COLOR_CONST(obj)     G_TYPE_CHECK_INSTANCE_CAST((obj), gcm_gl_color_get_type(), GCMGLColor const)
#define GCM_GL_COLOR_CLASS(klass)   G_TYPE_CHECK_CLASS_CAST((klass), gcm_gl_color_get_type(), GCMGLColorClass)
#define GCM_IS_GL_COLOR(obj)  G_TYPE_CHECK_INSTANCE_TYPE((obj), gcm_gl_color_get_type ())

#define GCM_GL_COLOR_GET_CLASS(obj) G_TYPE_INSTANCE_GET_CLASS((obj), gcm_gl_color_get_type(), GCMGLColorClass)

 * Main object structure
typedef struct _GCMGLColor GCMGLColor;
struct _GCMGLColor {
      GObject __parent__;
      /*< public >*/
      guint16 red;
      guint16 green;
      guint16 blue;
      guint16 alpha;

 * Class definition
typedef struct _GCMGLColorClass GCMGLColorClass;
struct _GCMGLColorClass {
      GObjectClass __parent__;

 * Public methods
GType gcm_gl_color_get_type   (void);
GCMGLColor *      gcm_gl_color_new_with_string  (gchar * color);
GCMGLColor *      gcm_gl_color_new_with_gdk_color     (GdkColor * color,
                              guint16 alpha);
gchar *     gcm_gl_color_to_string  (GCMGLColor * self);
GdkColor *  gcm_gl_color_to_gdk_color     (GCMGLColor * self);


Generated by  Doxygen 1.6.0   Back to index