1 -- Created on: 1996-01-23
2 -- Created by: s: LAVNIKOV Alexey, PLOTNIKOV Eugeny & CHABROVSKY Dmitry
3 -- Copyright (c) 1996-1999 Matra Datavision
4 -- Copyright (c) 1999-2012 OPEN CASCADE SAS
6 -- The content of this file is subject to the Open CASCADE Technology Public
7 -- License Version 6.5 (the "License"). You may not use the content of this file
8 -- except in compliance with the License. Please obtain a copy of the License
9 -- at http://www.opencascade.org and read it completely before using this file.
11 -- The Initial Developer of the Original Code is Open CASCADE S.A.S., having its
12 -- main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France.
14 -- The Original Code and all software distributed under the License is
15 -- distributed on an "AS IS" basis, without warranty of any kind, and the
16 -- Initial Developer hereby disclaims all such warranties, including without
17 -- limitation, any warranties of merchantability, fitness for a particular
18 -- purpose or non-infringement. Please see the License for the specific terms
19 -- and conditions governing the rights and limitations under the License.
21 -- Modifications: DCB at March 1998 Porting MFT for Windows NT (95)
22 -- PLOTNIKOV Eugeny at July 1998 (BUC60286)
26 ---Purpose: This package contains common Windows NT graphics interface.
42 -----------------------
43 -- Category: Exceptions
44 -----------------------
47 exception ClassDefinitionError inherits ConstructionError;
48 ---Category: Exceptions
56 ---Purpose: Creates the Window drawable.
60 ---Purpose: Creates a Windows NT window class.
64 ---Purpose: Defines the class
67 ---------------------------
68 -- Category: Enumerations
69 ---------------------------
71 enumeration OrientationType is
77 ---Purpose: Portrait/landscape orientation.
78 enumeration TypeOfImage is
80 TOI_BMP, --Windows NT's device independent bitmap
81 TOI_XWD, --X windows's image format
82 TOI_GIF --CompuServe's Graphic Interchange Format
87 ---------------------------
88 -- Category: Imported types
89 ---------------------------
93 ---Purpose: Defines a Windows NT LONG type.
94 ---Category: Imported types
97 ---Purpose: Defines a Windows NT DWORD type.
98 ---Category: Imported types
101 ---Purpose: Defines a Windows NT UINT type.
102 ---Category: Imported types
105 ---Purpose: Defines a Windows NT LOGFONT type.
106 ---Category: Imported types
109 ---Purpose: Defines a Windows NT COLORREF type.
110 ---Category: Imported types
113 ---Purpose: Defines additional window data type.
114 ---Category: Imported types
117 ---------------------------------
118 -- Category: Pointers
119 ---------------------------------
121 pointer WindowPtr to Window from WNT;
123 ---------------------------------
124 -- Category: Instantiated classes
125 ---------------------------------
127 class ColorTable instantiates
128 Array1 from TCollection ( ColorRef from WNT );
130 class HColorTable instantiates
131 HArray1 from TCollection ( ColorRef from WNT, ColorTable from WNT );
133 class SequenceOfImage instantiates
134 Sequence from TCollection ( Image from WNT );