color-slider.h revision 827fbd361779d76f0dff3dff3962b8486426ea01
#ifndef __SP_COLOR_SLIDER_H__
#define __SP_COLOR_SLIDER_H__
/* Author:
* Lauris Kaplinski <lauris@kaplinski.com>
*
* Copyright (C) 2001-2002 Lauris Kaplinski
*
* This code is in public domain
*/
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#endif
{
{
{
/*
* A slider with colored background
*/
//if GTK2
~ColorSlider();
void on_realize();
void on_unrealize();
//if GTK2
//if GTK3
//endif
//TODO: on_adjustment_changed method
//TODO: on_adjustment value changed method + connection
bool _dragging;
};
}//namespace Widget
}//namespace UI
}//namespace Inkscape
#include <glib.h>
struct SPColorSlider;
struct SPColorSliderClass;
#define SP_TYPE_COLOR_SLIDER (sp_color_slider_get_type ())
#define SP_COLOR_SLIDER_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), SP_TYPE_COLOR_SLIDER, SPColorSliderClass))
struct SPColorSlider {
};
struct SPColorSliderClass {
};
GType sp_color_slider_get_type (void);
#endif