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 librararies and programs; if not, write
20 * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
21 * Floor, Boston, MA 02110-1301 USA
24 * $XConsortium: TermView.h /main/1 1996/04/21 19:20:17 drk $";
28 * (c) Copyright 1993, 1994 Hewlett-Packard Company *
29 * (c) Copyright 1993, 1994 International Business Machines Corp. *
30 * (c) Copyright 1993, 1994 Sun Microsystems, Inc. *
31 * (c) Copyright 1993, 1994 Novell, Inc. *
34 #ifndef _Dt_TermView_h
35 #define _Dt_TermView_h
41 #endif /* __cplusplus */
46 DtTermSCROLLBAR_WIDGET,
48 } _DtTermViewChildType;
50 #define TermRECOLOR_FUNCTIONKEY_AREA (1 << 0)
51 #define TermRECOLOR_FUNCTIONKEY_BUTTONS (1 << 1)
52 #define TermRECOLOR_STATUS_AREA (1 << 2)
55 externalref WidgetClass dtTermViewWidgetClass;
57 typedef struct _DtTermViewClassRec *DtTermViewWidgetClass;
58 typedef struct _DtTermViewRec *DtTermViewWidget;
60 /* public function declarations... */
69 } DtTermViewCallbackStruct;
71 extern Widget DtCreateTermView(
76 extern Boolean DtTermViewGetCloneEnabled(Widget w);
77 extern void DtTermViewCloneCallback(
79 XtPointer client_data,
81 extern void _DtTermViewMapHelp(Widget w, char *volume, char *id);
82 extern Widget _DtTermViewGetChild(Widget w, _DtTermViewChildType child);
85 } /* close scope of 'extern "C"'... */
86 #endif /* __cplusplus */
88 #ifndef DtNfunctionKeys
89 #define DtNfunctionKeys "functionKeys"
92 #define DtNmenuBar "menuBar"
95 #define DtNmenuPopup "menuPopup"
97 #ifndef DtNnewCallback
98 #define DtNnewCallback "newCallback"
101 #define DtNscrollBar "scrollBar"
104 #define DtNspacing XmNspacing
106 #ifndef DtNuserFontList
107 #define DtNuserFontList "userFontList"
109 #ifndef DtCFunctionKeys
110 #define DtCFunctionKeys "FunctionKeys"
113 #define DtCMenuBar "MenuBar"
116 #define DtCMenuPopup "MenuPopup"
119 #define DtCSpacing XmCSpacing
122 #define DtCScrollBar "ScrollBar"
124 #ifndef DtCUserFontList
125 #define DtCUserFontList "UserFontList"
128 #endif /* _Dt_TermView_h */
130 /* DON'T ADD ANYTHING AFTER THIS #endif... */