summaryrefslogtreecommitdiff
path: root/gtk2_ardour/automation_controller.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2011-01-28 01:04:33 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2011-01-28 01:04:33 +0000
commit9a87f854f797cf3b0f72324d3cfba9c8b4f66829 (patch)
tree2fbb762443a5314fad8949c6d00a5a6714828e1d /gtk2_ardour/automation_controller.cc
parent4d1d35572056979b6750660f918dc15296b49a76 (diff)
allow derived children of BarController to set label position as a width fraction, not an absolute position
git-svn-id: svn://localhost/ardour2/branches/3.0@8597 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/automation_controller.cc')
-rw-r--r--gtk2_ardour/automation_controller.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk2_ardour/automation_controller.cc b/gtk2_ardour/automation_controller.cc
index 540612c8d4..5c00d5a779 100644
--- a/gtk2_ardour/automation_controller.cc
+++ b/gtk2_ardour/automation_controller.cc
@@ -85,8 +85,9 @@ AutomationController::create(
}
std::string
-AutomationController::get_label (int&)
+AutomationController::get_label (double& xpos)
{
+ xpos = 0.5;
return _owner->value_as_string (_controllable);
}