grim/guifications3

e62da38a5799
removed gflib-query-plugins since we're using gplugin now...
/*
* Guifications - The end-all, be-all notification framework
* Copyright (C) 2003-2009 Gary Kramlich <grim@reaperworld.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef GF_GTK_COLOR_H
#define GF_GTK_COLOR_H
#include <gdk/gdk.h>
#include <gflib-ui/gf_color.h>
#define GF_GTK_TYPE_COLORMAP (gf_gtk_colormap_get_gtype())
#define GF_GTK_COLORMAP(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GF_GTK_TYPE_COLORMAP, GfGtkColormap))
#define GF_GTK_COLORMAP_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GF_GTK_TYPE_COLORMAP, GfGtkColormapClass))
#define GF_GTK_IS_COLORMAP(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GF_GTK_TYPE_COLORMAP))
#define GF_GTK_IS_COLORMAP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GF_GTK_TYPE_COLORMAP))
#define GF_GTK_COLORMAP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GF_GTK_TYPE_COLORMAP, GfGtkColormapClass))
typedef struct _GfGtkColormap GfGtkColormap;
typedef struct _GfGtkColormapClass GfGtkColormapClass;
struct _GfGtkColormap {
GfColormap parent;
GdkColormap *native;
void (*gf_reserved1)(void);
void (*gf_reserved2)(void);
void (*gf_reserved3)(void);
void (*gf_reserved4)(void);
};
struct _GfGtkColormapClass {
GfColormapClass parent;
void (*gf_reserved1)(void);
void (*gf_reserved2)(void);
void (*gf_reserved3)(void);
void (*gf_reserved4)(void);
};
G_BEGIN_DECLS
void gf_color_to_gdk_color(const GfColor *gf_color, GdkColor *gdk_color);
void gf_color_from_gdk_color(const GdkColor *gdk_color, GfColor *gf_color);
GType gf_gtk_colormap_get_gtype(void);
G_END_DECLS
#endif /* GF_GTK_COLOR_H */