Logo Search packages:      
Sourcecode: inkscape version File versions  Download package

sp-color-gtkselector.h

#ifndef SEEN_SP_COLOR_GTKSELECTOR_H
#define SEEN_SP_COLOR_GTKSELECTOR_H

#include <gtk/gtkcolorsel.h>
#include "../color.h"
#include "sp-color-selector.h"

#include <glib.h>



struct SPColorGtkselector;



00016 class ColorGtkselector: public ColorSelector
{
public:
    ColorGtkselector( SPColorSelector* csel );
    virtual ~ColorGtkselector();

    virtual void init();

protected:
    static void _gtkChanged( GtkColorSelection *colorselection, SPColorGtkselector *gtksel );

    virtual void _colorChanged();

    GtkColorSelection* _gtkThing;
    gulong _sigId;
};



#define SP_TYPE_COLOR_GTKSELECTOR (sp_color_gtkselector_get_type ())
#define SP_COLOR_GTKSELECTOR(o) (GTK_CHECK_CAST ((o), SP_TYPE_COLOR_GTKSELECTOR, SPColorGtkselector))
#define SP_COLOR_GTKSELECTOR_CLASS(k) (GTK_CHECK_CLASS_CAST ((k), SP_TYPE_COLOR_GTKSELECTOR, SPColorGtkselectorClass))
#define SP_IS_COLOR_GTKSELECTOR(o) (GTK_CHECK_TYPE ((o), SP_TYPE_COLOR_GTKSELECTOR))
#define SP_IS_COLOR_GTKSELECTOR_CLASS(k) (GTK_CHECK_CLASS_TYPE ((k), SP_TYPE_COLOR_GTKSELECTOR))

00041 struct SPColorGtkselector {
    SPColorSelector base;
};

00045 struct SPColorGtkselectorClass {
    SPColorSelectorClass parent_class;
};

GType sp_color_gtkselector_get_type (void);

GtkWidget *sp_color_gtkselector_new( GType selector_type );



#endif // SEEN_SP_COLOR_GTKSELECTOR_H

Generated by  Doxygen 1.6.0   Back to index