sp-color-selector.h revision 1d994377120ae3648582fd3918230c220d0e844f
#ifndef SEEN_SP_COLOR_SELECTOR_H
#define SEEN_SP_COLOR_SELECTOR_H
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#include "color.h"
struct SPColorSelector;
{
virtual ~ColorSelector();
void _grabbed();
void _released();
virtual void _colorChanged();
static double _epsilon;
// By default, disallow copy constructor and assignment operator
bool virgin; // if true, no color is set yet
};
#define SP_TYPE_COLOR_SELECTOR (sp_color_selector_get_type ())
#define SP_COLOR_SELECTOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), SP_TYPE_COLOR_SELECTOR, SPColorSelector))
#define SP_COLOR_SELECTOR_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), SP_TYPE_COLOR_SELECTOR, SPColorSelectorClass))
#define SP_COLOR_SELECTOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SP_TYPE_COLOR_SELECTOR, SPColorSelectorClass))
struct SPColorSelector {
#if GTK_CHECK_VERSION(3,0,0)
#else
#endif
};
struct SPColorSelectorClass {
#if GTK_CHECK_VERSION(3,0,0)
#else
#endif
};
GType sp_color_selector_get_type(void);
#endif // SEEN_SP_COLOR_SELECTOR_H
/*
Local Variables:
mode:c++
c-file-style:"stroustrup"
c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
indent-tabs-mode:nil
fill-column:99
End:
*/
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :