projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove internal edit mode and add "content" tool.
[ardour.git]
/
gtk2_ardour
/
tempo_lines.cc
diff --git
a/gtk2_ardour/tempo_lines.cc
b/gtk2_ardour/tempo_lines.cc
index c2f7df1c420901165b8ba76b26f390fafbc2a4c7..22efb6c3706b1e33b6a7cc064050742c8916c53d 100644
(file)
--- a/
gtk2_ardour/tempo_lines.cc
+++ b/
gtk2_ardour/tempo_lines.cc
@@
-28,7
+28,7
@@
using namespace std;
using namespace std;
-TempoLines::TempoLines (ArdourCanvas::
Group
* group, double)
+TempoLines::TempoLines (ArdourCanvas::
Container
* group, double)
: lines (group, ArdourCanvas::LineSet::Vertical)
{
lines.set_extent (ArdourCanvas::COORD_MAX);
: lines (group, ArdourCanvas::LineSet::Vertical)
{
lines.set_extent (ArdourCanvas::COORD_MAX);
@@
-83,12
+83,12
@@
TempoLines::draw (const ARDOUR::TempoMap::BBTPointList::const_iterator& begin,
for (i = begin; i != end; ++i) {
if ((*i).is_bar()) {
for (i = begin; i != end; ++i) {
if ((*i).is_bar()) {
- color = ARDOUR_UI::config()->
get_canvasvar_MeasureLineBar(
);
+ color = ARDOUR_UI::config()->
color ("measure line bar"
);
} else {
if (beat_density > 0.3) {
continue; /* only draw beat lines if the gaps between beats are large. */
}
} else {
if (beat_density > 0.3) {
continue; /* only draw beat lines if the gaps between beats are large. */
}
- color = ARDOUR_UI::config()->
get_canvasvar_MeasureLineBeat(
);
+ color = ARDOUR_UI::config()->
color_mod ("measure line beat", "measure line beat"
);
}
ArdourCanvas::Coord xpos = PublicEditor::instance().sample_to_pixel_unrounded ((*i).frame);
}
ArdourCanvas::Coord xpos = PublicEditor::instance().sample_to_pixel_unrounded ((*i).frame);