mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
(#51) Use contrast color for overlay item text and grid colors
This commit is contained in:
@@ -649,7 +649,7 @@ cvf::Vec3f RivGridBoxGenerator::cornerDirection(FaceType face1, FaceType face2)
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RivGridBoxGenerator::updateFromBackgroundColor(const cvf::Color3f backgroundColor)
|
||||
void RivGridBoxGenerator::updateFromBackgroundColor(const cvf::Color3f& backgroundColor)
|
||||
{
|
||||
double adjustmentFactor = 0.3;
|
||||
|
||||
|
||||
@@ -48,7 +48,7 @@ public:
|
||||
void setScaleZ(double scaleZ);
|
||||
void setDisplayModelOffset(cvf::Vec3d offset);
|
||||
void setGridBoxDomainCoordBoundingBox(const cvf::BoundingBox& boundingBox);
|
||||
void updateFromBackgroundColor(const cvf::Color3f backgroundColor);
|
||||
void updateFromBackgroundColor(const cvf::Color3f& backgroundColor);
|
||||
|
||||
void createGridBoxParts();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user