mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#2727 Legends : Add RimLegendConfig as base for Regular and Ternary
This commit is contained in:
@@ -497,6 +497,25 @@ const RivTernaryScalarMapper* RimTernaryLegendConfig::scalarMapper() const
|
||||
return m_scalarMapper.p();
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
const caf::TitledOverlayFrame* RimTernaryLegendConfig::titledOverlayFrame() const
|
||||
{
|
||||
return m_legend.p();
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
caf::TitledOverlayFrame* RimTernaryLegendConfig::titledOverlayFrame()
|
||||
{
|
||||
return m_legend.p();
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
caf::PdmFieldHandle* RimTernaryLegendConfig::objectToggleField()
|
||||
{
|
||||
return &m_showLegend;
|
||||
|
||||
Reference in New Issue
Block a user