sp-color-gtkselector.cpp revision 95f1c87a21d171a48aab671a3567847702ff72e8
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include "sp-color-gtkselector.h"
static SPColorSelectorClass *parent_class;
#define XPAD 4
#define YPAD 1
{
if (!type) {
sizeof (SPColorGtkselectorClass),
NULL, /* base_init */
NULL, /* base_finalize */
NULL, /* class_finalize */
NULL, /* class_data */
sizeof (SPColorGtkselector),
0, /* n_preallocs */
NULL,
};
"SPColorGtkselector",
&info,
static_cast< GTypeFlags > (0) );
}
return type;
}
static void
{
}
{
{
}
}
void ColorGtkselector::init()
{
_sigId = g_signal_connect( GTK_OBJECT(gtksel), "color-changed", GTK_SIGNAL_FUNC( _gtkChanged ), _csel);
}
static void
{
}
static void
{
}
static void
{
}
{
return GTK_WIDGET (csel);
}
: ColorSelector( csel ),
_gtkThing(0)
{
}
{
}
{
// g_message( "***** _colorChanged %04x %04x %04x", gcolor.red, gcolor.green, gcolor.blue );
}
{
// g_message( "***** _gtkChanged %04x %04x %04x", color.red, color.green, color.blue );
gtkInst->_updateInternals( ourColor, static_cast< gfloat > (alpha) / 65535.0, gtk_color_selection_is_adjusting(colorselection) );
}