mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
* #6616 Make contour map and 2d intersection view follow the theme.
This commit is contained in:
@@ -39,6 +39,7 @@
|
||||
#include "RiuCadNavigation.h"
|
||||
#include "RiuComparisonViewMover.h"
|
||||
#include "RiuGeoQuestNavigation.h"
|
||||
#include "RiuGuiTheme.h"
|
||||
#include "RiuRmsNavigation.h"
|
||||
#include "RiuSimpleHistogramWidget.h"
|
||||
#include "RiuViewerCommands.h"
|
||||
@@ -201,6 +202,11 @@ RiuViewer::RiuViewer( const QGLFormat& format, QWidget* parent )
|
||||
m_windowEdgeAxisOverlay = new RivWindowEdgeAxesOverlayItem( standardFont );
|
||||
m_showWindowEdgeAxes = false;
|
||||
|
||||
auto backgroundColor = RiuGuiTheme::getColorByVariableName( "backgroundColor2" );
|
||||
auto textColor = RiuGuiTheme::getColorByVariableName( "textColor" );
|
||||
m_windowEdgeAxisOverlay->setFrameColor( cvf::Color4f( RiaColorTools::fromQColorTo3f( backgroundColor ) ) );
|
||||
m_windowEdgeAxisOverlay->setTextColor( RiaColorTools::fromQColorTo3f( textColor ) );
|
||||
|
||||
m_selectionVisualizerManager = new caf::PdmUiSelection3dEditorVisualizer( this );
|
||||
|
||||
m_scaleLegend = new caf::OverlayScaleLegend( standardFont );
|
||||
|
||||
Reference in New Issue
Block a user