Commit Graph
14 Commits
Author SHA1 Message Date
Gaute Lindkvist 2cc93fb09d 3D Well Log Curves: Command to Delete curve #2667
* Add delete command with explicit delete feature class.
2018-04-10 10:57:04 +02:00
Gaute Lindkvist a73526f85b Remove compile warning for OverlayScalarMapperLegend
* apply explicit unsigned int -> float cast.
2018-04-10 08:36:20 +02:00
Gaute Lindkvist dd38543dd2 Fix Ubuntu build (#2696)
* std::ceil -> cvf::Math::ceil to avoid header issues.
2018-04-10 08:31:03 +02:00
Gaute Lindkvist ab736ab46b #2693. Fix overlap of category legend with other legends.
* CategoryLegend should not use the matchedWidth. They have their own columns.
  * Change shifts to using minimumWidth instead.
2018-04-09 14:30:21 +02:00
Gaute Lindkvist b488d99f81 #2696 Fix ubuntu build after Legend updates.
* Was missing <cmath> to get std::ceil, but cvf::Math also has ceil, so switch
   to that.
2018-04-09 14:19:43 +02:00
Gaute Lindkvist 3116a4a223 Shifted pure virtual updateLegends to RiuViewerToViewInterface 2018-04-09 13:14:19 +02:00
Gaute Lindkvist b6fb60115a Refactored after review 2018-04-09 13:14:19 +02:00
Gaute Lindkvist fe56375be6 Added toggle option for legends. 2018-04-09 13:14:19 +02:00
Gaute Lindkvist e93f79790e Make sure Ternary legends also expand and renamed width method. 2018-04-09 13:14:19 +02:00
Gaute Lindkvist 38aa447dcd Unify the width of all visible legends.
* Calculate the minimum width to fit the content before the render pass.
  * Set the actual width of all the legends to the largest of the minimum widths.
  * This resizes the legends to always be the same size and reduces the size of you remove
     the widest legend.
2018-04-09 13:14:19 +02:00
Gaute Lindkvist 63ffade452 Set background and frame color from the view plus update frame margins. 2018-04-09 13:14:19 +02:00
Gaute Lindkvist 507229f84b 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
2018-04-09 13:14:19 +02:00
Gaute Lindkvist 054263b94a Apply guard to additional MohrsCirclePlot use 2018-04-04 11:19:59 +02:00
Gaute Lindkvist 8b3f980079 Fix crash on selection when there's no MohrsCirclePlot
* Check if the pointer is valid before dereferencing
2018-04-02 10:17:09 +02:00