summaryrefslogtreecommitdiff
path: root/src/Aspect/Aspect_Background.cxx
blob: 081a06b0b83e19033141eacf1953216fc843f7d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60

// File		Aspect_Background.cxx
// Created	Fevrier 1992
// Author	NW,JPB,CAL

//-Copyright	MatraDatavision 1991,1992

//-Version	

//-Design	Declaration des variables specifiques aux fonds d'ecran.

//-Warning	Un fond d'ecran est defini par une couleur.

//-References	

//-Language	C++ 2.0

//-Declarations

// for the class
#include <Aspect_Background.ixx>

//-Aliases

//-Global data definitions

//	-- la couleur associee au fond d'ecran
//	MyColor	:	Color;

//-Constructors

//-Destructors

//-Methods, in order

Aspect_Background::Aspect_Background () {

Quantity_Color MatraGray (Quantity_NOC_MATRAGRAY);

	MyColor	= MatraGray;

}

Aspect_Background::Aspect_Background (const Quantity_Color& AColor) {

	MyColor	= AColor;

}

void Aspect_Background::SetColor (const Quantity_Color& AColor) {

	MyColor	= AColor;

}

Quantity_Color Aspect_Background::Color () const {

	return (MyColor);

}