blob: 92239265d0dfa477582f7acb4d347cb1f474975f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
/** \file
* \brief
*
* This widget is part of the Document properties dialog.
*
* Authors:
* Ralf Stephan <ralf@ark.in-berlin.de>
*
* Copyright (C) 2006 Authors
*
* Released under GNU GPL. Read the file 'COPYING' for more information.
*/
#ifndef INKSCAPE_UI_WIDGET_TOLERANCE_SLIDER__H_
#define INKSCAPE_UI_WIDGET_TOLERANCE_SLIDER__H_
namespace Inkscape {
namespace UI {
namespace Widget {
class Registry;
class ToleranceSlider {
public:
ToleranceSlider();
~ToleranceSlider();
void init (const Glib::ustring& label1,
// const Glib::ustring& label2,
const Glib::ustring& tip,
const Glib::ustring& key,
Registry& wr);
void setValue (double, bool);
void setLimits (double, double);
Gtk::HBox* _hbox;
protected:
void on_scale_changed();
void update();
sigc::connection _scale_changed_connection;
Gtk::HScale *_hscale;
Registry *_wr;
Glib::ustring _key;
};
} // namespace Widget
} // namespace UI
} // namespace Inkscape
#endif // INKSCAPE_UI_WIDGET_TOLERANCE_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 :
|