projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
skip LV2 ports on GUI according to port-properties: notOnGUI and reportsLatency
[ardour.git]
/
gtk2_ardour
/
canvas_patch_change.h
diff --git
a/gtk2_ardour/canvas_patch_change.h
b/gtk2_ardour/canvas_patch_change.h
index 2a219fdbb631aad2c3217a7eed758cdf938e8ac0..2c103173dfda766536a827fe6541a5aefcbaebcb 100644
(file)
--- a/
gtk2_ardour/canvas_patch_change.h
+++ b/
gtk2_ardour/canvas_patch_change.h
@@
-30,6
+30,10
@@
namespace MIDI {
}
}
}
}
+namespace ARDOUR {
+ class InstrumentInfo;
+}
+
namespace Gnome {
namespace Canvas {
namespace Gnome {
namespace Canvas {
@@
-43,8
+47,7
@@
public:
double height,
double x,
double y,
double height,
double x,
double y,
- string& model_name,
- string& custom_device_mode,
+ ARDOUR::InstrumentInfo& info,
ARDOUR::MidiModel::PatchChangePtr patch,
bool
);
ARDOUR::MidiModel::PatchChangePtr patch,
bool
);
@@
-53,8
+56,6
@@
public:
virtual bool on_event(GdkEvent* ev);
virtual bool on_event(GdkEvent* ev);
- string model_name () const { return _model_name; }
- string custom_device_mode () const { return _custom_device_mode; }
ARDOUR::MidiModel::PatchChangePtr patch () const { return _patch; }
void initialize_popup_menus();
ARDOUR::MidiModel::PatchChangePtr patch () const { return _patch; }
void initialize_popup_menus();
@@
-62,8
+63,7
@@
public:
void on_patch_menu_selected(const MIDI::Name::PatchPrimaryKey& key);
private:
void on_patch_menu_selected(const MIDI::Name::PatchPrimaryKey& key);
private:
- string _model_name;
- string _custom_device_mode;
+ ARDOUR::InstrumentInfo& _info;
ARDOUR::MidiModel::PatchChangePtr _patch;
Gtk::Menu _popup;
bool _popup_initialized;
ARDOUR::MidiModel::PatchChangePtr _patch;
Gtk::Menu _popup;
bool _popup_initialized;