(#51) Use contrast color for overlay item text and grid colors

This commit is contained in:
Magne Sjaastad
2015-11-23 13:31:01 +01:00
parent 469ffdf920
commit ca9b1cf683
4 changed files with 75 additions and 24 deletions

View File

@@ -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;

View File

@@ -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();