0024624: Lost word in license statement in source files
[occt.git] / src / Aspect / Aspect_Background.cxx
CommitLineData
b311480e 1// Created by: NW,JPB,CAL
2// Copyright (c) 1991-1999 Matra Datavision
973c2be1 3// Copyright (c) 1999-2014 OPEN CASCADE SAS
b311480e 4//
973c2be1 5// This file is part of Open CASCADE Technology software library.
b311480e 6//
d5f74e42 7// This library is free software; you can redistribute it and/or modify it under
8// the terms of the GNU Lesser General Public License version 2.1 as published
973c2be1 9// by the Free Software Foundation, with special exception defined in the file
10// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
11// distribution for complete text of the license and disclaimer of any warranty.
b311480e 12//
973c2be1 13// Alternatively, this file may be used under the terms of Open CASCADE
14// commercial license or contractual agreement.
7fd59977 15
16//-Version
17
18//-Design Declaration des variables specifiques aux fonds d'ecran.
19
20//-Warning Un fond d'ecran est defini par une couleur.
21
22//-References
23
24//-Language C++ 2.0
25
26//-Declarations
27
28// for the class
29#include <Aspect_Background.ixx>
30
31//-Aliases
32
33//-Global data definitions
34
35// -- la couleur associee au fond d'ecran
36// MyColor : Color;
37
38//-Constructors
39
40//-Destructors
41
42//-Methods, in order
43
44Aspect_Background::Aspect_Background () {
45
46Quantity_Color MatraGray (Quantity_NOC_MATRAGRAY);
47
48 MyColor = MatraGray;
49
50}
51
52Aspect_Background::Aspect_Background (const Quantity_Color& AColor) {
53
54 MyColor = AColor;
55
56}
57
58void Aspect_Background::SetColor (const Quantity_Color& AColor) {
59
60 MyColor = AColor;
61
62}
63
64Quantity_Color Aspect_Background::Color () const {
65
66 return (MyColor);
67
68}