color-slider.h revision b2580ad82da5aabba685dfe4a4eab86442cc11ff
#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 GTK_CHECK_VERSION(3,0,0)
#else
#endif
~ColorSlider();
#if GTK_CHECK_VERSION(3,0,0)
#else
#endif
void on_realize();
void on_unrealize();
#if GTK_CHECK_VERSION(3,0,0)
void get_preferred_width_for_height_vfunc(int height, int& minimum_width, int& natural_width) const;
void get_preferred_height_for_width_vfunc(int width, int& minimum_height, int& natural_height) const;
#else
#endif
void _on_adjustment_changed();
void _on_adjustment_value_changed();
bool _dragging;
#if GTK_CHECK_VERSION(3,0,0)
#else
#endif
};
}//namespace Widget
}//namespace UI
}//namespace Inkscape
#endif