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
57 ---Purpose: Creates the graphic device associated with DISPLAY.
61 ---Purpose: Creates the Window drawable.
65 ---Purpose: Creates a Windows NT window class.
69 ---Purpose: Creates the Icon Box window.
73 ---Purpose: Creates and manages images and/or icons.
77 ---Purpose: Defines the class
81 ---Purpose: Defines the class
84 ---------------------------
85 -- Category: Enumerations
86 ---------------------------
88 enumeration OrientationType is
94 ---Purpose: Portrait/landscape orientation.
95 enumeration TypeOfImage is
97 TOI_BMP, --Windows NT's device independent bitmap
98 TOI_XWD, --X windows's image format
99 TOI_GIF --CompuServe's Graphic Interchange Format
104 ---------------------------
105 -- Category: Imported types
106 ---------------------------
110 ---Purpose: Defines a Windows NT LONG type.
111 ---Category: Imported types
114 ---Purpose: Defines a Windows NT DWORD type.
115 ---Category: Imported types
118 ---Purpose: Defines a Windows NT UINT type.
119 ---Category: Imported types
122 ---Purpose: Defines a Windows NT LOGFONT type.
123 ---Category: Imported types
126 ---Purpose: Defines a Windows NT COLORREF type.
127 ---Category: Imported types
130 ---Purpose: Defines additional window data type.
131 ---Category: Imported types
134 ---------------------------------
135 -- Category: Pointers
136 ---------------------------------
138 pointer WindowPtr to Window from WNT;
140 ---------------------------------
141 -- Category: Instantiated classes
142 ---------------------------------
144 class ColorTable instantiates
145 Array1 from TCollection ( ColorRef from WNT );
147 class HColorTable instantiates
148 HArray1 from TCollection ( ColorRef from WNT, ColorTable from WNT );
150 class SequenceOfImage instantiates
151 Sequence from TCollection ( Image from WNT );