mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#8521 Summary Plot: Allow moving axis to other side of plot.
This commit is contained in:
committed by
Magne Sjaastad
parent
3e9d2a0af0
commit
6591de716b
@@ -114,7 +114,15 @@ bool RiuPlotAxis::operator<( const RiuPlotAxis& rhs ) const
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
bool RiuPlotAxis::operator==( const RiuPlotAxis& rhs )
|
||||
bool RiuPlotAxis::operator==( const RiuPlotAxis& rhs ) const
|
||||
{
|
||||
return m_axis == rhs.m_axis && m_index == rhs.m_index;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
bool RiuPlotAxis::operator!=( const RiuPlotAxis& rhs ) const
|
||||
{
|
||||
return !( *this == rhs );
|
||||
}
|
||||
|
||||
@@ -38,7 +38,8 @@ public:
|
||||
int index() const;
|
||||
|
||||
bool operator<( const RiuPlotAxis& rhs ) const;
|
||||
bool operator==( const RiuPlotAxis& rhs );
|
||||
bool operator==( const RiuPlotAxis& rhs ) const;
|
||||
bool operator!=( const RiuPlotAxis& rhs ) const;
|
||||
|
||||
private:
|
||||
RiaDefines::PlotAxis m_axis;
|
||||
|
||||
Reference in New Issue
Block a user