mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-20 13:46:30 +01:00
add braces and move a destructor into its .cc file
git-svn-id: svn://localhost/ardour2/branches/3.0@9830 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
574333fef3
commit
549de1f298
3 changed files with 7 additions and 2 deletions
|
|
@ -54,6 +54,10 @@ AutomationRegionView::AutomationRegionView (ArdourCanvas::Group*
|
||||||
group->raise_to_top();
|
group->raise_to_top();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
AutomationRegionView::~AutomationRegionView ()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
AutomationRegionView::init (Gdk::Color const & basic_color, bool /*wfd*/)
|
AutomationRegionView::init (Gdk::Color const & basic_color, bool /*wfd*/)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -46,7 +46,7 @@ public:
|
||||||
double initial_samples_per_unit,
|
double initial_samples_per_unit,
|
||||||
Gdk::Color const & basic_color);
|
Gdk::Color const & basic_color);
|
||||||
|
|
||||||
~AutomationRegionView() {}
|
~AutomationRegionView();
|
||||||
|
|
||||||
void init (Gdk::Color const & basic_color, bool wfd);
|
void init (Gdk::Color const & basic_color, bool wfd);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -95,8 +95,9 @@ AutomationStreamView::add_region_view_internal (boost::shared_ptr<Region> region
|
||||||
/* great. we already have an AutomationRegionView for this Region. use it again. */
|
/* great. we already have an AutomationRegionView for this Region. use it again. */
|
||||||
AutomationRegionView* arv = dynamic_cast<AutomationRegionView*>(*i);;
|
AutomationRegionView* arv = dynamic_cast<AutomationRegionView*>(*i);;
|
||||||
|
|
||||||
if (arv->line())
|
if (arv->line()) {
|
||||||
arv->line()->set_list (list);
|
arv->line()->set_list (list);
|
||||||
|
}
|
||||||
(*i)->set_valid (true);
|
(*i)->set_valid (true);
|
||||||
(*i)->enable_display(wfd);
|
(*i)->enable_display(wfd);
|
||||||
display_region(arv);
|
display_region(arv);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue