summaryrefslogtreecommitdiffstats
path: root/src/gui/PatchCanvas.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/PatchCanvas.hpp')
-rw-r--r--src/gui/PatchCanvas.hpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/gui/PatchCanvas.hpp b/src/gui/PatchCanvas.hpp
index d3b55936..6a708869 100644
--- a/src/gui/PatchCanvas.hpp
+++ b/src/gui/PatchCanvas.hpp
@@ -1,15 +1,15 @@
/* This file is part of Ingen.
* Copyright (C) 2007 Dave Robillard <http://drobilla.net>
- *
+ *
* Ingen 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.
- *
+ *
* Ingen 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
@@ -45,7 +45,7 @@ namespace Client { class PatchModel; }
using Ingen::Client::PatchModel;
namespace GUI {
-
+
class NodeModule;
@@ -57,7 +57,7 @@ class PatchCanvas : public FlowCanvas::Canvas
{
public:
PatchCanvas(SharedPtr<PatchModel> patch, int width, int height);
-
+
virtual ~PatchCanvas() {}
void build();
@@ -82,13 +82,13 @@ public:
void select_all();
void show_menu(GdkEvent* event);
-
+
bool canvas_key_event(GdkEventKey* event);
-
+
private:
enum ControlType { NUMBER, BUTTON };
void menu_add_control(ControlType type);
-
+
void generate_port_name(
const string& sym_base, string& sym,
const string& name_base, string& name);
@@ -96,7 +96,7 @@ private:
void menu_add_port(
const string& sym_base, const string& name_base,
const string& type, bool is_output);
-
+
void menu_load_plugin();
void menu_new_patch();
void menu_load_patch();
@@ -116,11 +116,11 @@ private:
SLV2PluginClasses classes,
const LV2Children& children);
#endif
-
+
GraphObject::Properties get_initial_data();
bool canvas_event(GdkEvent* event);
-
+
SharedPtr<FlowCanvas::Port> get_port_view(SharedPtr<PortModel> port);
void connect(boost::shared_ptr<FlowCanvas::Connectable> src,
@@ -140,7 +140,7 @@ private:
typedef std::multimap<const std::string, Gtk::Menu*> ClassMenus;
ClassMenus _class_menus;
-
+
bool _human_names;
bool _show_port_names;
Gtk::Menu* _menu;