RiaColorTables : Add and use undefinedCellColor()

This commit is contained in:
Magne Sjaastad
2018-01-22 11:18:45 +01:00
parent 9a420183e1
commit 348b492cc1
7 changed files with 24 additions and 5 deletions

View File

@@ -451,3 +451,11 @@ const caf::ColorTable& RiaColorTables::timestepsPaletteColors()
return colorTable;
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
cvf::Color3f RiaColorTables::undefinedCellColor()
{
return cvf::Color3::GRAY;
}

View File

@@ -51,4 +51,5 @@ public:
static const caf::ColorTable& selectionPaletteColors();
static const caf::ColorTable& timestepsPaletteColors();
static cvf::Color3f undefinedCellColor();
};