summaryrefslogtreecommitdiffstats
path: root/src/libs/gui/PatchWindow.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-07-24 19:26:47 +0000
committerDavid Robillard <d@drobilla.net>2007-07-24 19:26:47 +0000
commitbb1c49dfa484db080938cff6f8f70167c9026a1c (patch)
tree6f6382fcbfddfead6d5c32d19977aed8020d32e4 /src/libs/gui/PatchWindow.h
parentf0f64e4425acfb8b8633a47faa70f87fc32a4399 (diff)
downloadingen-bb1c49dfa484db080938cff6f8f70167c9026a1c.tar.gz
ingen-bb1c49dfa484db080938cff6f8f70167c9026a1c.tar.bz2
ingen-bb1c49dfa484db080938cff6f8f70167c9026a1c.zip
Consistently rename all C++ files .cpp/.hpp.
Fix (some) inclusion guard names to not clash with other libs. git-svn-id: http://svn.drobilla.net/lad/ingen@613 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/gui/PatchWindow.h')
-rw-r--r--src/libs/gui/PatchWindow.h150
1 files changed, 0 insertions, 150 deletions
diff --git a/src/libs/gui/PatchWindow.h b/src/libs/gui/PatchWindow.h
deleted file mode 100644
index daa4af08..00000000
--- a/src/libs/gui/PatchWindow.h
+++ /dev/null
@@ -1,150 +0,0 @@
-/* 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
- */
-
-#ifndef PATCHWINDOW_H
-#define PATCHWINDOW_H
-
-#include <string>
-#include <list>
-#include <gtkmm.h>
-#include <libglademm/xml.h>
-#include <libglademm.h>
-#include <raul/Path.h>
-#include <raul/SharedPtr.h>
-#include "client/PatchModel.h"
-#include "PatchView.h"
-using Ingen::Client::PatchModel;
-
-using std::string; using std::list;
-
-
-namespace Ingen { namespace Client {
- class PatchModel;
- class PortModel;
- class ControlModel;
- class MetadataModel;
-} }
-using namespace Ingen::Client;
-
-
-namespace Ingen {
-namespace GUI {
-
-class LoadPluginWindow;
-class LoadPatchWindow;
-class NewSubpatchWindow;
-class LoadSubpatchWindow;
-class NewSubpatchWindow;
-class NodeControlWindow;
-class PatchDescriptionWindow;
-class SubpatchModule;
-class OmPort;
-class BreadCrumbBox;
-
-
-/** A window for a patch.
- *
- * \ingroup GUI
- */
-class PatchWindow : public Gtk::Window
-{
-public:
- PatchWindow(BaseObjectType* cobject, const Glib::RefPtr<Gnome::Glade::Xml>& glade_xml);
- ~PatchWindow();
-
- void set_patch_from_path(const Path& path, SharedPtr<PatchView> view);
- void set_patch(SharedPtr<PatchModel> pc, SharedPtr<PatchView> view);
-
- SharedPtr<PatchModel> patch() const { return _patch; }
-
- Gtk::MenuItem* menu_view_control_window() { return _menu_view_control_window; }
-
-protected:
- void on_show();
- void on_hide();
- bool on_key_press_event(GdkEventKey* event);
-
-private:
-
- void patch_port_added(SharedPtr<PortModel> port);
- void patch_port_removed(SharedPtr<PortModel> port);
-
- void event_import();
- void event_import_location();
- void event_save();
- void event_save_as();
- void event_upload();
- void event_copy();
- void event_delete();
- void event_quit();
- void event_destroy();
- void event_clear();
- void event_fullscreen_toggled();
- void event_arrange();
- void event_show_properties();
- void event_show_controls();
- void event_show_engine();
-
- SharedPtr<PatchModel> _patch;
- SharedPtr<PatchView> _view;
-
- sigc::connection new_port_connection;
- sigc::connection removed_port_connection;
-
- bool _enable_signal;
- bool _position_stored;
- int _x;
- int _y;
-
- Gtk::MenuItem* _menu_import;
- Gtk::MenuItem* _menu_import_location;
- Gtk::MenuItem* _menu_save;
- Gtk::MenuItem* _menu_save_as;
- Gtk::MenuItem* _menu_upload;
- Gtk::MenuItem* _menu_cut;
- Gtk::MenuItem* _menu_copy;
- Gtk::MenuItem* _menu_paste;
- Gtk::MenuItem* _menu_delete;
- Gtk::MenuItem* _menu_configuration;
- Gtk::MenuItem* _menu_close;
- Gtk::MenuItem* _menu_quit;
- Gtk::MenuItem* _menu_fullscreen;
- Gtk::MenuItem* _menu_clear;
- Gtk::MenuItem* _menu_destroy_patch;
- Gtk::MenuItem* _menu_arrange;
- Gtk::MenuItem* _menu_view_engine_window;
- Gtk::MenuItem* _menu_view_control_window;
- Gtk::MenuItem* _menu_view_patch_properties;
- Gtk::MenuItem* _menu_view_messages_window;
- Gtk::MenuItem* _menu_view_patch_tree_window;
- Gtk::MenuItem* _menu_help_about;
-
- Gtk::VBox* _vbox;
- Gtk::Viewport* _viewport;
- BreadCrumbBox* _breadcrumb_box;
-
- //Gtk::Statusbar* _status_bar;
-
- /** Invisible bin used to store breadcrumbs when not shown by a view */
- Gtk::Alignment _breadcrumb_bin;
-};
-
-
-} // namespace GUI
-} // namespace Ingen
-
-#endif // PATCHWINDOW_H