X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModelAPI%2FModelAPI_ResultConstruction.h;h=75593bdeac3b1d5dde129e10ee406584c6e051a2;hb=0fdfafcdf2500a8e7e895fca953d7ebfb9126f16;hp=ec89005c8ded3c1a09d55bf4cb2170ff021cdf7c;hpb=380f01e1fce1a012267d604a1190d04bf4659447;p=modules%2Fshaper.git diff --git a/src/ModelAPI/ModelAPI_ResultConstruction.h b/src/ModelAPI/ModelAPI_ResultConstruction.h index ec89005c8..75593bdea 100644 --- a/src/ModelAPI/ModelAPI_ResultConstruction.h +++ b/src/ModelAPI/ModelAPI_ResultConstruction.h @@ -1,4 +1,4 @@ -// Copyright (C) 2014-2020 CEA/DEN, EDF R&D +// Copyright (C) 2014-2023 CEA, EDF // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public @@ -53,6 +53,13 @@ class ModelAPI_ResultConstruction : public ModelAPI_Result return RESULT_CONSTRUCTION_COLOR; } + /// default color for a result construction + inline static const std::string& RESULT_COLOR_NAME() + { + static const std::string COLOR_NAME("result_construction_color"); + return COLOR_NAME; + } + /// default deflection for a result construction inline static const std::string DEFAULT_DEFLECTION() {