Add getters for RimColorLegend++.

This commit is contained in:
Kristian Bendiksen
2020-05-06 22:30:51 +02:00
committed by Magne Sjaastad
parent 0bf3ed91f0
commit db384ea754
6 changed files with 48 additions and 2 deletions

View File

@@ -47,6 +47,14 @@ void RimColorLegendCollection::appendColorLegend( RimColorLegend* colorLegend )
m_colorLegends.push_back( colorLegend );
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
std::vector<RimColorLegend*> RimColorLegendCollection::colorLegends() const
{
return m_colorLegends.childObjects();
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------