spin-slider.h revision 328fffb9854baed083286c6ff41b8a040298b340
/**
* \brief Groups an HScale and a SpinButton together using the same Adjustment
*
* 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
#include <gtkmm/adjustment.h>
#include <gtkmm/spinbutton.h>
#include "attr-widget.h"
{
// Shortcuts to _adjustment
double get_value() const;
void set_value(const double);
// Change the SpinSlider into a SpinButton with AttrWidget support)
void remove_scale();
};
// Contains two SpinSliders for controlling number-opt-number attributes
{
const SpinSlider& get_spinslider1() const;
const SpinSlider& get_spinslider2() const;
};
} // 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))
indent-tabs-mode:nil
fill-column:99
End:
*/
// vim: filetype=c++:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 :