From b84b50d2bbbfcd196d62344eaeef7fb08e3d686c Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 13 May 2009 16:04:14 +0000 Subject: Strip trailing whitespace. git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@1999 a436a847-0d15-0410-975c-d299462d15a1 --- src/PatchageModule.hpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/PatchageModule.hpp') diff --git a/src/PatchageModule.hpp b/src/PatchageModule.hpp index 0eac76f..363e459 100644 --- a/src/PatchageModule.hpp +++ b/src/PatchageModule.hpp @@ -1,15 +1,15 @@ /* This file is part of Patchage. * Copyright (C) 2007 Dave Robillard - * + * * Patchage is free software; you can redistribute it and/or modify it under the * terms of the GNU General Public License as published by the Free Software * Foundation; either version 2 of the License, or (at your option) any later * version. - * + * * Patchage is distributed in the hope that it will be useful, but WITHOUT ANY * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU General Public License for details. - * + * * You should have received a copy of the GNU General Public License along * with this program; if not, write to the Free Software Foundation, Inc., * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA @@ -57,12 +57,12 @@ public: items.push_back(Gtk::Menu_Helpers::MenuElem("Disconnect All", sigc::mem_fun(this, &PatchageModule::menu_disconnect_all))); } - + void move(double dx, double dy) { FlowCanvas::Module::move(dx, dy); store_location(); } - + void load_location() { boost::shared_ptr canvas = _canvas.lock(); if (!canvas) @@ -76,12 +76,12 @@ public: move_to((canvas->width()/2) - 100 + rand() % 400, (canvas->height()/2) - 100 + rand() % 400); } - + virtual void store_location() { Coord loc(property_x().get_value(), property_y().get_value()); _app->state_manager()->set_module_location(_name, _type, loc); } - + void split() { assert(_type == InputOutput); _app->state_manager()->set_module_split(_name, true); @@ -95,7 +95,7 @@ public: } virtual void show_dialog() {} - + virtual void menu_disconnect_all() { for (PortVector::iterator p = _ports.begin(); p != _ports.end(); ++p) (*p)->disconnect_all(); -- cgit v1.2.1