projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
reasonable dB range for waveform clipping indicator
[ardour.git]
/
gtk2_ardour
/
automation_time_axis.h
diff --git
a/gtk2_ardour/automation_time_axis.h
b/gtk2_ardour/automation_time_axis.h
index 343c6b5e5cd2d854bf418a4b073f63a52970ffda..a468c12459a7962d8197be5f4d040f72761719b7 100644
(file)
--- a/
gtk2_ardour/automation_time_axis.h
+++ b/
gtk2_ardour/automation_time_axis.h
@@
-34,6
+34,7
@@
#include "time_axis_view.h"
#include "automation_controller.h"
#include "time_axis_view.h"
#include "automation_controller.h"
+#include "ardour_button.h"
namespace ARDOUR {
class Session;
namespace ARDOUR {
class Session;
@@
-72,7
+73,7
@@
class AutomationTimeAxisView : public TimeAxisView {
void set_samples_per_pixel (double);
std::string name() const { return _name; }
void set_samples_per_pixel (double);
std::string name() const { return _name; }
-
void add_automation_event (GdkEvent *, framepos_t, double
);
+
void add_automation_event (GdkEvent *, framepos_t, double, bool with_guard_points
);
void clear_lines ();
void clear_lines ();
@@
-143,8
+144,8
@@
class AutomationTimeAxisView : public TimeAxisView {
bool ignore_toggle;
bool first_call_to_set_height;
bool ignore_toggle;
bool first_call_to_set_height;
-
Gtk::Button
hide_button;
-
Gtk::Button
auto_button;
+
ArdourButton
hide_button;
+
ArdourButton
auto_button;
Gtk::Menu* automation_menu;
Gtk::Label* plugname;
bool plugname_packed;
Gtk::Menu* automation_menu;
Gtk::Label* plugname;
bool plugname_packed;
@@
-165,6
+166,8
@@
class AutomationTimeAxisView : public TimeAxisView {
void hide_clicked ();
void auto_clicked ();
void hide_clicked ();
void auto_clicked ();
+ virtual bool can_edit_name() const {return false;}
+
void build_display_menu ();
void cut_copy_clear_one (AutomationLine&, Selection&, Editing::CutCopyOp);
void build_display_menu ();
void cut_copy_clear_one (AutomationLine&, Selection&, Editing::CutCopyOp);