0022627: Change OCCT memory management defaults
[occt.git] / src / Aspect / Aspect_Background.cdl
CommitLineData
7fd59977 1--
2-- File: Aspect_Background.cdl
3-- Created: Mercredi 2 Octobre 1991
4-- Author: NW,JPB,CAL
5--
6---Copyright: MatraDatavision 1991,1992,1993
7--
8
9class Background from Aspect
10
11
12 ---Purpose: This class allows the definition of
13 -- a window background.
14
15uses
16
17 Color from Quantity
18
19is
20
21 Create
22 returns Background from Aspect;
23 ---Level: Public
24 ---Purpose: Creates a window background.
25 -- Default color : NOC_MATRAGRAY.
26
27 Create ( AColor : Color from Quantity )
28 returns Background from Aspect;
29 ---Level: Public
30 ---Purpose: Creates a window background with the colour <AColor>.
31
32 ---------------------------------------------------
33 -- Category: Methods to modify the class definition
34 ---------------------------------------------------
35
36 SetColor ( me : in out;
37 AColor : Color from Quantity );
38 ---Level: Public
39 ---Purpose: Modifies the colour of the window background <me>.
40 ---Category: Methods to modify the class definition
41
42 ----------------------------
43 -- Category: Inquire methods
44 ----------------------------
45
46 Color ( me )
47 returns Color from Quantity;
48 ---Level: Public
49 ---Purpose: Returns the colour of the window background <me>.
50 ---Category: Inquire methods
51
52--\f
53
54fields
55
56--
57-- Class : Aspect_Background
58--
59-- Purpose : Declaration of variables specific to the window
60-- background.
61--
62-- Reminder : A background is defined by one colour
63--
64
65 -- the colour associated with the window background
66 MyColor : Color from Quantity;
67
68end Background;