2 * CDE - Common Desktop Environment
4 * Copyright (c) 1993-2012, The Open Group. All rights reserved.
6 * These libraries and programs are free software; you can
7 * redistribute them and/or modify them under the terms of the GNU
8 * Lesser General Public License as published by the Free Software
9 * Foundation; either version 2 of the License, or (at your option)
12 * These libraries and programs are distributed in the hope that
13 * they will be useful, but WITHOUT ANY WARRANTY; without even the
14 * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15 * PURPOSE. See the GNU Lesser General Public License for more
18 * You should have received a copy of the GNU Lesser General Public
19 * License along with these libraries and programs; if not, write
20 * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
21 * Floor, Boston, MA 02110-1301 USA
23 /* $XConsortium: XInterfaceI.h /main/8 1995/12/18 16:23:57 cde-hp $ */
24 /*************************************<+>*************************************
25 *****************************************************************************
31 ** Description: Public Header file for Canvas.c
33 ** (c) Copyright 1987, 1988, 1989, 1990, 1991, 1992 Hewlett-Packard Company
35 ** (c) Copyright 1993, 1994 Hewlett-Packard Company
36 ** (c) Copyright 1993, 1994 International Business Machines Corp.
37 ** (c) Copyright 1993, 1994 Sun Microsystems, Inc.
38 ** (c) Copyright 1993, 1994 Novell, Inc.
40 *******************************************************************
41 *************************************<+>*************************************/
50 /******** Public Defines Declarations ********/
52 /******** Public Typedef Declarations ********/
54 /******** Public Structures Declarations ********/
56 /******** Public Macro Declarations ********/
58 /******** Semi-Private Function Declarations ********/
59 extern void _DtHelpDADestroyRegion (
60 _DtCvPointer client_data,
61 _DtCvPointer reg_info);
62 extern void _DtHelpDADestroyGraphic (
63 _DtCvPointer client_data,
64 _DtCvPointer graphic_ptr);
65 extern void _DtHelpDADestroySpc (
66 _DtCvPointer client_data,
67 _DtCvPointer spc_handle);
68 extern const char *_DtHelpDAGetSpcString(int idx);
69 extern _DtCvStatus _DtHelpDALoadGraphic (
70 _DtCvPointer client_data,
77 _DtCvUnit *ret_height,
78 _DtCvPointer *ret_region);
79 extern void _DtHelpDAResolveFont (
80 _DtCvPointer client_data,
83 _DtHelpFontHints font_attr,
84 _DtCvPointer *ret_font);
85 extern _DtCvStatus _DtHelpDAResolveSpc (
86 _DtCvPointer client_data,
89 _DtHelpFontHints font_attr,
90 const char *spc_string,
91 _DtCvPointer *ret_handle,
93 _DtCvUnit *ret_height,
94 _DtCvUnit *ret_ascent);
96 /******** Virtual UI Function Declarations ********/
98 extern _DtCvStatus _DtHelpDABuildSelection (
99 _DtCvPointer client_data,
100 _DtCvElemType elem_type,
102 _DtCvPointer *prev_info,
107 extern void _DtHelpDAGetCvsMetrics (
108 _DtCvPointer client_data,
109 _DtCvElemType elem_type,
110 _DtCvPointer ret_metrics);
111 extern void _DtHelpDAGetFontMetrics (
112 _DtCvPointer client_data,
113 _DtCvPointer font_ptr,
114 _DtCvUnit *ret_ascent,
115 _DtCvUnit *ret_descent,
116 _DtCvUnit *char_width,
117 _DtCvUnit *ret_super,
119 extern _DtCvUnit _DtHelpDAGetStrWidth (
120 _DtCvPointer client_data,
121 _DtCvElemType elem_type,
123 extern void _DtHelpDARenderElem (
124 _DtCvPointer client_data,
125 _DtCvElemType elem_type,
129 _DtCvFlags old_flags,
130 _DtCvFlags new_flags,
131 _DtCvElemType trav_type,
132 _DtCvPointer trav_data,
134 extern void _DtHelpDATocMarker (
135 XtPointer client_data,
139 } /* Close scope of 'extern "C"' declaration which encloses file. */
143 #endif /* _XInterface_h */
144 /* DON'T ADD ANYTHING AFTER THIS #endif */