diff options
author | David Robillard <d@drobilla.net> | 2014-01-24 17:28:43 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2014-01-24 17:28:43 +0000 |
commit | a659a13c531e991851e013db3d4223bf16a343b8 (patch) | |
tree | 583112a95bc6abeb39dd514c987ff1c82b3d2e9e /src/gui/PropertiesWindow.cpp | |
parent | 28ab52045a429eb190ea1a23cef92d81c36748f5 (diff) | |
download | ingen-a659a13c531e991851e013db3d4223bf16a343b8.tar.gz ingen-a659a13c531e991851e013db3d4223bf16a343b8.tar.bz2 ingen-a659a13c531e991851e013db3d4223bf16a343b8.zip |
Fix various whitespace and formatting issues.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5325 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/gui/PropertiesWindow.cpp')
-rw-r--r-- | src/gui/PropertiesWindow.cpp | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/src/gui/PropertiesWindow.cpp b/src/gui/PropertiesWindow.cpp index 2db38c8e..f6524e77 100644 --- a/src/gui/PropertiesWindow.cpp +++ b/src/gui/PropertiesWindow.cpp @@ -211,9 +211,9 @@ PropertiesWindow::set_object(SPtr<const ObjectModel> model) _table->show_all(); _property_connection = model->signal_property().connect( - sigc::mem_fun(this, &PropertiesWindow::property_changed)); + sigc::mem_fun(this, &PropertiesWindow::property_changed)); _property_removed_connection = model->signal_property_removed().connect( - sigc::mem_fun(this, &PropertiesWindow::property_removed)); + sigc::mem_fun(this, &PropertiesWindow::property_removed)); } Gtk::Widget* @@ -226,9 +226,9 @@ PropertiesWindow::create_value_widget(const Raul::URI& uri, const Atom& value) widget->set_range(INT_MIN, INT_MAX); widget->set_increments(1, 10); widget->set_value(value.get<int32_t>()); - widget->signal_value_changed().connect(sigc::bind( - sigc::mem_fun(this, &PropertiesWindow::value_edited), - uri)); + widget->signal_value_changed().connect( + sigc::bind(sigc::mem_fun(this, &PropertiesWindow::value_edited), + uri)); return widget; } else if (value.type() == forge.Float) { Gtk::SpinButton* widget = manage(new Gtk::SpinButton(0.0, 4)); @@ -237,23 +237,23 @@ PropertiesWindow::create_value_widget(const Raul::URI& uri, const Atom& value) widget->set_range(-FLT_MAX, FLT_MAX); widget->set_value(value.get<float>()); widget->set_increments(0.1, 1.0); - widget->signal_value_changed().connect(sigc::bind( - sigc::mem_fun(this, &PropertiesWindow::value_edited), - uri)); + widget->signal_value_changed().connect( + sigc::bind(sigc::mem_fun(this, &PropertiesWindow::value_edited), + uri)); return widget; } else if (value.type() == forge.Bool) { Gtk::CheckButton* widget = manage(new Gtk::CheckButton()); widget->set_active(value.get<int32_t>()); - widget->signal_toggled().connect(sigc::bind( - sigc::mem_fun(this, &PropertiesWindow::value_edited), - uri)); + widget->signal_toggled().connect( + sigc::bind(sigc::mem_fun(this, &PropertiesWindow::value_edited), + uri)); return widget; } else if (value.type() == forge.URI) { Gtk::Entry* widget = manage(new Gtk::Entry()); widget->set_text(value.ptr<char>()); - widget->signal_changed().connect(sigc::bind( - sigc::mem_fun(this, &PropertiesWindow::value_edited), - uri)); + widget->signal_changed().connect( + sigc::bind(sigc::mem_fun(this, &PropertiesWindow::value_edited), + uri)); return widget; } else if (value.type() == forge.URID) { const char* val_uri = _app->world()->uri_map().unmap_uri(value.get<int32_t>()); @@ -261,16 +261,16 @@ PropertiesWindow::create_value_widget(const Raul::URI& uri, const Atom& value) if (val_uri) { widget->set_text(val_uri); } - widget->signal_changed().connect(sigc::bind( - sigc::mem_fun(this, &PropertiesWindow::value_edited), - uri)); + widget->signal_changed().connect( + sigc::bind(sigc::mem_fun(this, &PropertiesWindow::value_edited), + uri)); return widget; } else if (value.type() == forge.String) { Gtk::Entry* widget = manage(new Gtk::Entry()); widget->set_text(value.ptr<char>()); - widget->signal_changed().connect(sigc::bind( - sigc::mem_fun(this, &PropertiesWindow::value_edited), - uri)); + widget->signal_changed().connect( + sigc::bind(sigc::mem_fun(this, &PropertiesWindow::value_edited), + uri)); return widget; } |