Fixed background color setting for legends and refactored Legend class hierarchy

* Added a new cafTitledOverlayFrame as a base-class for all ResInsight legend classes
  * Inherits cvf::OverlayItem
This commit is contained in:
Gaute Lindkvist
2018-04-05 15:25:33 +02:00
parent 7a09b9a146
commit 507229f84b
14 changed files with 315 additions and 390 deletions

View File

@@ -573,7 +573,7 @@ void Rim2dIntersectionView::updateLegends()
RimGeoMechView * geoView = nullptr;
m_intersection->firstAncestorOrThisOfType(geoView);
cvf::OverlayItem* legend = nullptr;
caf::TitledOverlayFrame* legend = nullptr;
if (eclView)
{