1 -- Created on: 1993-06-24
3 -- Copyright (c) 1993-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.
26 ---Purpose: This package contains the common X graphic interface.
27 -- Warning: All the interface is described by a set of C routines.
28 -- All these C routines are stored in the library
51 ---Purpose: Creates the X driver.
52 -- Activates the c routines of the X interface.
56 ---Purpose: Creates the X Window drawable.
60 ---Purpose: Creates a X pixmap
64 ---Purpose: Creates the X Colormap
68 ---Purpose: Creates the X Typemap
72 ---Purpose: Creates the X Widthmap
76 ---Purpose: Creates the X Fontmap
80 ---Purpose: Creates the X Markmap
84 ---Purpose: Creates the X Device (Connexion & Visual)
88 ---Purpose: Creates the X Icon Box
92 ---Purpose: Creates a text manager for MFT fonts.
95 -------------------------
96 -- Category: Enumerations
97 -------------------------
99 enumeration WindowQuality is WQ_3DQUALITY,
106 ---Purpose: Definition of the Window graphic quality
108 enumeration TypeOfVisual is TOV_STATICGRAY,
115 TOV_PREFERRED_PSEUDOCOLOR,
116 TOV_PREFERRED_TRUECOLOR,
117 TOV_PREFERRED_OVERLAY,
119 end TypeOfVisual from Xw;
120 ---Purpose: Definition of the visual type
122 enumeration TypeOfMapping is TOM_HARDRAMP,
127 end TypeOfMapping from Xw;
128 ---Purpose: Definition of the colormap type
130 ---------------------------------
131 -- Category: Instantiated classes
132 ---------------------------------
134 class ListOfMFTFonts instantiates
135 Array1 from TCollection (FontManager from MFT);
136 class HListOfMFTFonts instantiates
137 HArray1 from TCollection (FontManager from MFT, ListOfMFTFonts);
139 -----------------------------
140 -- Category: Trace management
141 -----------------------------
143 SetTrace( TraceLevel,ErrorLevel : Integer ) ;
144 ---Purpose: Global Trace Level for Maintenance Only
145 ---Category: Trace management
147 TraceLevel returns Integer is private ;
148 ---Purpose: Return current global Trace level .
149 ---Category: Trace management
151 ErrorLevel returns Integer is private ;
152 ---Purpose: Return current global Error level .
153 ---Category: Trace management