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: XUICreateI.h /main/10 1996/03/21 15:38:59 rcs $ */
24 /************************************<+>*************************************
25 ****************************************************************************
29 ** Project: Cde Help System
31 ** Description: Internal file for XUICreate.c
33 ****************************************************************************
34 ************************************<+>*************************************/
36 * (c) Copyright 1996 Digital Equipment Corporation.
37 * (c) Copyright 1987, 1988, 1989, 1990, 1991, 1992,
38 1993, 1994, 1996 Hewlett-Packard Company.
39 * (c) Copyright 1993, 1994, 1996 International Business Machines Corp.
40 * (c) Copyright 1993, 1994, 1996 Sun Microsystems, Inc.
41 * (c) Copyright 1993, 1994, 1996 Novell, Inc.
42 * (c) Copyright 1996 FUJITSU LIMITED.
43 * (c) Copyright 1996 Hitachi.
46 #ifndef _DtHelpCreateI_h
47 #define _DtHelpCreateI_h
49 #include "Dt/CanvasP.h"
54 /*****************************************************************************
56 *****************************************************************************/
61 #define _DtHelpSTATIC 1
62 #define _DtHelpAS_NEEDED 2
64 #define _DtHelpVERTICAL_SCROLLBAR 0
65 #define _DtHelpHORIZONTAL_SCROLLBAR 1
70 #define _DtHelpSET_AS_NEEDED(x,y) ((x) | (1 << y))
71 #define _DtHelpIS_AS_NEEDED(x, y) ((x) & (1 << y))
73 /*****************************************************************************
74 * Semi-Public Routines
75 *****************************************************************************/
76 extern void __DtHelpInitializeFontList (
78 XFontStruct *default_font);
80 /*****************************************************************************
82 *****************************************************************************/
83 extern XtPointer _DtHelpCreateDisplayArea (
91 void (*hyperTextCB)(),
93 int (*exec_ok_routine)(),
94 XtPointer client_data,
95 XmFontList default_list );
97 extern XtPointer _DtHelpCreateOutputArea (
103 _DtCvValue honor_size,
104 _DtCvRenderType render_type,
107 unsigned short media_resolution,
108 void (*hyperTextCB)(),
110 int (*exec_ok_routine)(),
111 XtPointer client_data,
112 XmFontList default_list );
117 #endif /* _DtHelpCreateI_h */