/*
* Author:
* Nicholas Bishop <nicholasbishop@gmail.com>
*
* Copyright (C) 2007 Author
*
* Released under GNU GPL. Read the file 'COPYING' for more information.
*/
#ifndef INKSCAPE_UI_WIDGET_SPIN_SLIDER_H
#define INKSCAPE_UI_WIDGET_SPIN_SLIDER_H
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#include <gtkmm/adjustment.h>
#include <gtkmm/togglebutton.h>
#include "spinbutton.h"
#include "attr-widget.h"
/**
* Groups an HScale and a SpinButton together using the same Adjustment.
*/
{
double climb_rate, int digits, const SPAttributeEnum a = SP_ATTR_INVALID, const char* tip_text = NULL);
// Shortcuts to _adjustment
double get_value() const;
void set_value(const double);
#if WITH_GTKMM_3_0
#else
#endif
// Change the SpinSlider into a SpinButton with AttrWidget support)
void remove_scale();
#if WITH_GTKMM_3_0
#else
#endif
};
/**
* Contains two SpinSliders for controlling number-opt-number attributes.
*
* @see SpinSlider
*/
{
const SpinSlider& get_spinslider1() const;
const SpinSlider& get_spinslider2() const;
void remove_scale();
void link_toggled();
void update_linked();
};
} // namespace Widget
} // namespace UI
} // namespace Inkscape
#endif // INKSCAPE_UI_WIDGET_SPIN_SLIDER_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 :