projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
consolidate zoom-to-range and zoom-to-regions into: zoom-to-selection. ToDo: zoom...
[ardour.git]
/
gtk2_ardour
/
processor_box.h
diff --git
a/gtk2_ardour/processor_box.h
b/gtk2_ardour/processor_box.h
index 52ed36a9b2a997de944598ee3d9c035d3188dbba..9622011654a7eee104812a452a63ff3d9aff795b 100644
(file)
--- a/
gtk2_ardour/processor_box.h
+++ b/
gtk2_ardour/processor_box.h
@@
-91,9
+91,6
@@
class ProcessorWindowProxy : public WM::ProxyBase
void toggle();
void set_custom_ui_mode(bool use_custom) { want_custom = use_custom; }
void toggle();
void set_custom_ui_mode(bool use_custom) { want_custom = use_custom; }
- bool marked;
- bool valid () const;
-
void set_state (const XMLNode&);
XMLNode& get_state () const;
void set_state (const XMLNode&);
XMLNode& get_state () const;
@@
-119,6
+116,9
@@
public:
std::string drag_text () const;
void set_visual_state (Gtkmm2ext::VisualState, bool);
std::string drag_text () const;
void set_visual_state (Gtkmm2ext::VisualState, bool);
+ bool is_selectable() const {return _selectable;}
+ void set_selectable(bool s) { _selectable = s; }
+
enum Position {
PreFader,
Fader,
enum Position {
PreFader,
Fader,
@@
-149,6
+149,7
@@
protected:
virtual void setup_visuals ();
private:
virtual void setup_visuals ();
private:
+ bool _selectable;
void led_clicked();
void processor_active_changed ();
void processor_property_changed (const PBD::PropertyChange&);
void led_clicked();
void processor_active_changed ();
void processor_property_changed (const PBD::PropertyChange&);
@@
-159,7
+160,6
@@
private:
ProcessorBox* _parent;
boost::shared_ptr<ARDOUR::Processor> _processor;
Width _width;
ProcessorBox* _parent;
boost::shared_ptr<ARDOUR::Processor> _processor;
Width _width;
- Gtk::StateType _visual_state;
PBD::ScopedConnection active_connection;
PBD::ScopedConnection name_connection;
PBD::ScopedConnection config_connection;
PBD::ScopedConnection active_connection;
PBD::ScopedConnection name_connection;
PBD::ScopedConnection config_connection;
@@
-439,8
+439,8
@@
class ProcessorBox : public Gtk::HBox, public PluginInterestedObject, public ARD
void route_property_changed (const PBD::PropertyChange&);
std::string generate_processor_title (boost::shared_ptr<ARDOUR::PluginInsert> pi);
void route_property_changed (const PBD::PropertyChange&);
std::string generate_processor_title (boost::shared_ptr<ARDOUR::PluginInsert> pi);
- typedef std::list<ProcessorWindowProxy*> ProcessorWindowProxies;
- ProcessorWindowProxies _processor_window_info;
+
//
typedef std::list<ProcessorWindowProxy*> ProcessorWindowProxies;
+
//
ProcessorWindowProxies _processor_window_info;
ProcessorWindowProxy* find_window_proxy (boost::shared_ptr<ARDOUR::Processor>) const;
ProcessorWindowProxy* find_window_proxy (boost::shared_ptr<ARDOUR::Processor>) const;