X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModelAPI%2FModelAPI_ResultConstruction.h;h=75593bdeac3b1d5dde129e10ee406584c6e051a2;hb=0fdfafcdf2500a8e7e895fca953d7ebfb9126f16;hp=2a2cf8bff1b1124ff95a0afbf280e3cd58486440;hpb=749e980caeebfe4d16441703b7028dbbb1f1d91a;p=modules%2Fshaper.git diff --git a/src/ModelAPI/ModelAPI_ResultConstruction.h b/src/ModelAPI/ModelAPI_ResultConstruction.h index 2a2cf8bff..75593bdea 100644 --- a/src/ModelAPI/ModelAPI_ResultConstruction.h +++ b/src/ModelAPI/ModelAPI_ResultConstruction.h @@ -1,4 +1,4 @@ -// Copyright (C) 2014-2019 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() {