From 9e5a7cf49ad84a5a3fa0aa61be11129fc4df1cc2 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 16 Apr 2011 19:02:36 +0000 Subject: Squeeze blank lines and delete trailing whitespace. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3152 a436a847-0d15-0410-975c-d299462d15a1 --- src/gui/PatchWindow.cpp | 40 ---------------------------------------- 1 file changed, 40 deletions(-) (limited to 'src/gui/PatchWindow.cpp') diff --git a/src/gui/PatchWindow.cpp b/src/gui/PatchWindow.cpp index ca045f2f..a91b2961 100644 --- a/src/gui/PatchWindow.cpp +++ b/src/gui/PatchWindow.cpp @@ -172,7 +172,6 @@ PatchWindow::PatchWindow(BaseObjectType* cobject, const Glib::RefPtrsignal_owner_change().connect(sigc::mem_fun(this, &PatchWindow::event_clipboard_changed)); } - PatchWindow::~PatchWindow() { // Prevents deletion @@ -181,7 +180,6 @@ PatchWindow::~PatchWindow() delete _breadcrumbs; } - /** Set the patch controller from a Path (for use by eg. BreadCrumbs) */ void @@ -197,7 +195,6 @@ PatchWindow::set_patch_from_path(const Path& path, SharedPtr view) } } - /** Sets the patch controller for this window and initializes everything. * * If @a view is NULL, a new view will be created. @@ -236,7 +233,6 @@ PatchWindow::set_patch(SharedPtr patch, SharedPtr view) _viewport->remove(); _viewport->add(*_view.get()); - if (_breadcrumbs->get_parent()) _breadcrumbs->get_parent()->remove(*_breadcrumbs); @@ -274,7 +270,6 @@ PatchWindow::set_patch(SharedPtr patch, SharedPtr view) _enable_signal = true; } - void PatchWindow::patch_port_added(SharedPtr port) { @@ -283,7 +278,6 @@ PatchWindow::patch_port_added(SharedPtr port) } } - void PatchWindow::patch_port_removed(SharedPtr port) { @@ -301,7 +295,6 @@ PatchWindow::patch_port_removed(SharedPtr port) _menu_view_control_window->property_sensitive() = false; } - void PatchWindow::show_status(ObjectModel* model) { @@ -322,7 +315,6 @@ PatchWindow::show_status(ObjectModel* model) } } - void PatchWindow::show_port_status(PortModel* port, const Raul::Atom& value) { @@ -347,28 +339,24 @@ PatchWindow::show_port_status(PortModel* port, const Raul::Atom& value) _status_bar->push(msg.str(), STATUS_CONTEXT_HOVER); } - void PatchWindow::object_entered(ObjectModel* model) { show_status(model); } - void PatchWindow::object_left(ObjectModel* model) { _status_bar->pop(STATUS_CONTEXT_HOVER); } - void PatchWindow::editable_changed(bool editable) { _menu_edit_controls->set_active(editable); } - void PatchWindow::event_show_engine() { @@ -376,7 +364,6 @@ PatchWindow::event_show_engine() App::instance().connect_window()->show(); } - void PatchWindow::event_clipboard_changed(GdkEventOwnerChange* ev) { @@ -384,35 +371,30 @@ PatchWindow::event_clipboard_changed(GdkEventOwnerChange* ev) _menu_paste->set_sensitive(clipboard->wait_is_text_available()); } - void PatchWindow::event_show_controls() { App::instance().window_factory()->present_controls(_patch); } - void PatchWindow::event_show_properties() { App::instance().window_factory()->present_properties(_patch); } - void PatchWindow::event_import() { App::instance().window_factory()->present_load_patch(_patch); } - void PatchWindow::event_import_location() { App::instance().window_factory()->present_load_remote_patch(_patch); } - void PatchWindow::event_save() { @@ -428,7 +410,6 @@ PatchWindow::event_save() } } - void PatchWindow::event_save_as() { @@ -526,14 +507,12 @@ more files and/or directories, recursively. Existing files will be overwritten. } } - void PatchWindow::event_upload() { App::instance().window_factory()->present_upload_patch(_patch); } - void PatchWindow::event_draw() { @@ -568,7 +547,6 @@ PatchWindow::event_draw() } } - void PatchWindow::event_edit_controls() { @@ -576,7 +554,6 @@ PatchWindow::event_edit_controls() _view->set_editable(_menu_edit_controls->get_active()); } - void PatchWindow::event_copy() { @@ -584,7 +561,6 @@ PatchWindow::event_copy() _view->canvas()->copy_selection(); } - void PatchWindow::event_paste() { @@ -592,7 +568,6 @@ PatchWindow::event_paste() _view->canvas()->paste(); } - void PatchWindow::event_delete() { @@ -600,7 +575,6 @@ PatchWindow::event_delete() _view->canvas()->destroy_selection(); } - void PatchWindow::event_select_all() { @@ -608,7 +582,6 @@ PatchWindow::event_select_all() _view->canvas()->select_all(); } - void PatchWindow::on_show() { @@ -618,7 +591,6 @@ PatchWindow::on_show() Gtk::Window::on_show(); } - void PatchWindow::on_hide() { @@ -627,7 +599,6 @@ PatchWindow::on_hide() Gtk::Window::on_hide(); } - bool PatchWindow::on_event(GdkEvent* event) { @@ -639,21 +610,18 @@ PatchWindow::on_event(GdkEvent* event) } } - void PatchWindow::event_close() { App::instance().window_factory()->remove_patch_window(this); } - void PatchWindow::event_quit() { App::instance().quit(*this); } - void PatchWindow::event_zoom_in() { @@ -666,21 +634,18 @@ PatchWindow::event_zoom_out() _view->canvas()->set_font_size(_view->canvas()->get_font_size() - 1.0); } - void PatchWindow::event_zoom_normal() { _view->canvas()->set_zoom_and_font_size(1.0, _view->canvas()->get_default_font_size()); } - void PatchWindow::event_arrange() { _view->canvas()->arrange(false, false); } - void PatchWindow::event_fullscreen_toggled() { @@ -696,7 +661,6 @@ PatchWindow::event_fullscreen_toggled() } } - void PatchWindow::event_status_bar_toggled() { @@ -706,8 +670,6 @@ PatchWindow::event_status_bar_toggled() _status_bar->hide(); } - - void PatchWindow::event_human_names_toggled() { @@ -718,7 +680,6 @@ PatchWindow::event_human_names_toggled() App::instance().configuration()->set_name_style(Configuration::PATH); } - void PatchWindow::event_port_names_toggled() { @@ -731,6 +692,5 @@ PatchWindow::event_port_names_toggled() } } - } // namespace GUI } // namespace Ingen -- cgit v1.2.1