mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Add getters for RimColorLegend++.
This commit is contained in:
committed by
Magne Sjaastad
parent
0bf3ed91f0
commit
db384ea754
@@ -60,6 +60,30 @@ void RimColorLegendItem::setValues( const QString& categoryName, int categoryVal
|
||||
m_color = color;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
const cvf::Color3f& RimColorLegendItem::color() const
|
||||
{
|
||||
return m_color();
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
const QString& RimColorLegendItem::categoryName() const
|
||||
{
|
||||
return m_categoryName();
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
int RimColorLegendItem::categoryValue() const
|
||||
{
|
||||
return m_categoryValue();
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user