summaryrefslogtreecommitdiffstats
path: root/src/ui
diff options
context:
space:
mode:
authorBryce Harrington <bryce@bryceharrington.org>2007-12-30 23:40:41 +0000
committerbryce <bryce@users.sourceforge.net>2007-12-30 23:40:41 +0000
commit839e7e7279023ab60c9beaaf3f1d73cc4217e5b0 (patch)
treef67cd36fa8de65f5c0f3d428991f32a1d5d40f49 /src/ui
parentcomment fix (diff)
downloadinkscape-839e7e7279023ab60c9beaaf3f1d73cc4217e5b0.tar.gz
inkscape-839e7e7279023ab60c9beaaf3f1d73cc4217e5b0.zip
Set teeth selector in lpe-gears to an integer value >= 3.
Fix trailing whitespace. (bzr r4342)
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/widget/registered-widget.cpp4
-rw-r--r--src/ui/widget/registered-widget.h32
2 files changed, 18 insertions, 18 deletions
diff --git a/src/ui/widget/registered-widget.cpp b/src/ui/widget/registered-widget.cpp
index 4b1c2a5f8..aac9ff25c 100644
--- a/src/ui/widget/registered-widget.cpp
+++ b/src/ui/widget/registered-widget.cpp
@@ -256,14 +256,14 @@ RegisteredScalar::RegisteredScalar()
RegisteredScalar::~RegisteredScalar()
{
- if (_widget)
+ if (_widget)
delete _widget;
_value_changed_connection.disconnect();
}
void
-RegisteredScalar::init ( const Glib::ustring& label, const Glib::ustring& tip,
+RegisteredScalar::init ( const Glib::ustring& label, const Glib::ustring& tip,
const Glib::ustring& key, Registry& wr, Inkscape::XML::Node* repr_in,
SPDocument * doc_in )
{
diff --git a/src/ui/widget/registered-widget.h b/src/ui/widget/registered-widget.h
index 33d7c29cd..90fb44983 100644
--- a/src/ui/widget/registered-widget.h
+++ b/src/ui/widget/registered-widget.h
@@ -1,5 +1,5 @@
/** \file
- * \brief
+ * \brief
*
* Authors:
* Ralf Stephan <ralf@ark.in-berlin.de>
@@ -93,15 +93,15 @@ public:
Gtk::ToggleButton *_button;
std::list<Gtk::ToggleButton*> _slavebuttons;
-
+
// a slave button is only sensitive when the master button is active
// i.e. a slave button is greyed-out when the master button is not checked
-
+
void setSlaveButton(std::list<Gtk::ToggleButton*> btns) {
_slavebuttons = btns;
}
- bool setProgrammatically; // true if the value was set by setValue, not changed by the user;
+ bool setProgrammatically; // true if the value was set by setValue, not changed by the user;
// if a callback checks it, it must reset it back to false
@@ -138,16 +138,16 @@ class RegisteredScalarUnit : public RegisteredWidget {
public:
RegisteredScalarUnit();
~RegisteredScalarUnit();
- void init (const Glib::ustring& label,
- const Glib::ustring& tip,
- const Glib::ustring& key,
+ void init (const Glib::ustring& label,
+ const Glib::ustring& tip,
+ const Glib::ustring& key,
const RegisteredUnitMenu &rum,
Registry& wr,
Inkscape::XML::Node* repr_in,
SPDocument *doc_in);
- inline void init ( const Glib::ustring& label,
- const Glib::ustring& tip,
- const Glib::ustring& key,
+ inline void init ( const Glib::ustring& label,
+ const Glib::ustring& tip,
+ const Glib::ustring& key,
const RegisteredUnitMenu &rum,
Registry& wr)
{ init(label, tip, key, rum, wr, NULL, NULL); };
@@ -166,15 +166,15 @@ class RegisteredScalar : public RegisteredWidget {
public:
RegisteredScalar();
~RegisteredScalar();
- void init (const Glib::ustring& label,
- const Glib::ustring& tip,
- const Glib::ustring& key,
+ void init (const Glib::ustring& label,
+ const Glib::ustring& tip,
+ const Glib::ustring& key,
Registry& wr,
Inkscape::XML::Node* repr_in,
SPDocument *doc_in);
- inline void init ( const Glib::ustring& label,
- const Glib::ustring& tip,
- const Glib::ustring& key,
+ inline void init ( const Glib::ustring& label,
+ const Glib::ustring& tip,
+ const Glib::ustring& key,
Registry& wr)
{ init(label, tip, key, wr, NULL, NULL); };