summaryrefslogtreecommitdiff
path: root/src/WNT/WNT_Image.cdl
blob: f738e1a4ae454d41266e8506067ba1950a33aa3e (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
-- File:	WNT_Image.cdl
-- Created:	Th Mar 28 09:48:57 1996
-- Author:	PLOTNIKOV Eugeny
--		<eugeny@maniax>
---Copyright:	 Matra Datavision 1996


class Image from WNT inherits TShared from MMgt

	---Purpose: Internal class for image management

 uses

    Handle from Aspect

 is

    Create ( aBitmap : Handle from Aspect; aHashCode : Integer from Standard )
     returns mutable Image from WNT;
    	---Purpose: Creates a class.

    Destroy ( me : mutable ) is virtual;
	---Level:   Public
	---Purpose: Destroys all ressources attached to the Image
    ---C++:     alias ~

    HBITMAP ( me ) returns Handle from Aspect;
    ---Level:   Public
    ---Purpose: Returns bitmap handle
    ---C++:     inline

    Image ( me ) returns Address from Standard;
    ---Level:   Public
    ---Purpose: Returns pointer to internal structure
    ---C++:     inline

 fields

    myImage    : Address from Standard is protected;
    myHashCode : Integer from Standard is protected;

 friends
 
    class ImageManager from WNT

end Image;