diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2012-07-10 15:44:56 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2012-07-10 15:44:56 +0000 |
commit | e89bdcd9ebb774294119cf349b3faaf0fa9ffd1f (patch) | |
tree | 90d75964e9fcdb2346737ca90da56d987a684a55 /gtk2_ardour/automation_line.h | |
parent | cf49671ab462926139e8b9f5d9a98453d03b3827 (diff) |
provide some numerical data during automation trim (range) drags, and correct computation of y-fraction for such drags
git-svn-id: svn://localhost/ardour2/branches/3.0@13011 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/automation_line.h')
-rw-r--r-- | gtk2_ardour/automation_line.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk2_ardour/automation_line.h b/gtk2_ardour/automation_line.h index b78c2da676..6be7ccd6b8 100644 --- a/gtk2_ardour/automation_line.h +++ b/gtk2_ardour/automation_line.h @@ -113,7 +113,9 @@ class AutomationLine : public sigc::trackable, public PBD::StatefulDestructible ArdourCanvas::Item& grab_item() const { return *line; } std::string get_verbose_cursor_string (double) const; + std::string get_verbose_cursor_relative_string (double, double) const; std::string fraction_to_string (double) const; + std::string fraction_to_relative_string (double, double) const; double string_to_fraction (std::string const &) const; void view_to_model_coord (double& x, double& y) const; void view_to_model_coord_y (double &) const; |