1 // Created by: NW,JPB,CAL
2 // Copyright (c) 1991-1999 Matra Datavision
3 // Copyright (c) 1999-2014 OPEN CASCADE SAS
5 // This file is part of Open CASCADE Technology software library.
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
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.
13 // Alternatively, this file may be used under the terms of Open CASCADE
14 // commercial license or contractual agreement.
17 //-Design Declaration des variables specifiques aux fonds d'ecran.
18 //-Warning Un fond d'ecran est defini par une couleur.
24 #include <Aspect_Background.hxx>
25 #include <Quantity_Color.hxx>
28 //-Global data definitions
29 // -- la couleur associee au fond d'ecran
34 Aspect_Background::Aspect_Background () {
36 Quantity_Color MatraGray (Quantity_NOC_MATRAGRAY);
42 Aspect_Background::Aspect_Background (const Quantity_Color& AColor) {
48 void Aspect_Background::SetColor (const Quantity_Color& AColor) {
54 Quantity_Color Aspect_Background::Color () const {