color-slider.h revision 1ec0e7318a4bf659c7f5703dccb1cef17c5adabd
/* Author:
* Lauris Kaplinski <lauris@kaplinski.com>
*
* Copyright (C) 2001-2002 Lauris Kaplinski
*
* This code is in public domain
*/
#ifndef SEEN_COLOR_SLIDER_H
#define SEEN_COLOR_SLIDER_H
#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 _onAdjustmentChanged();
void _onAdjustmentValueChanged();
bool _dragging;
#if GTK_CHECK_VERSION(3,0,0)
#else
#endif
};
}//namespace Widget
}//namespace UI
}//namespace Inkscape
#endif
/*
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 :