libDtSvc: Change to ANSI function definitions
[oweals/cde.git] / cde / lib / DtWidget / TitleBox.h
1 /*
2  * CDE - Common Desktop Environment
3  *
4  * Copyright (c) 1993-2012, The Open Group. All rights reserved.
5  *
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)
10  * any later version.
11  *
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
16  * details.
17  *
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
22  */
23 /* $XConsortium: TitleBox.h /main/4 1995/10/26 09:34:50 rswiston $ */
24 /**---------------------------------------------------------------------
25 ***     
26 ***     file:           TitleBox.h
27 ***
28 ***     project:        MotifPlus Widgets
29 ***
30 ***     description:    Public include file for DtTitleBox class.
31 ***     
32 ***     
33 ***                     (c) Copyright 1990 by Hewlett-Packard Company.
34 ***
35 ***
36 ***-------------------------------------------------------------------*/
37
38
39 #ifndef _DtTitleBox_h
40 #define _DtTitleBox_h
41
42 #include <Xm/Xm.h>
43 #include <Dt/DtStrDefs.h>
44
45 #ifndef DtIsTitleBox
46 #define DtIsTitleBox(w) XtIsSubclass(w, DtTitleBoxClass)
47 #endif /* DtIsTitleBox */
48
49
50 /********    Public Function Declarations    ********/
51
52 extern Widget _DtCreateTitleBox( 
53                         Widget parent,
54                         char *name,
55                         ArgList arglist,
56                         Cardinal argcount) ;
57 extern Widget _DtTitleBoxGetTitleArea( 
58                         Widget w) ;
59 extern Widget _DtTitleBoxGetWorkArea( 
60                         Widget w) ;
61
62
63 extern WidgetClass      dtTitleBoxWidgetClass;
64
65 typedef struct _DtTitleBoxClassRec * DtTitleBoxWidgetClass;
66 typedef struct _DtTitleBoxRec      * DtTitleBoxWidget;
67
68
69 #define XmTITLE_TOP     0
70 #define XmTITLE_BOTTOM  1
71
72 #define XmTITLE_AREA    1
73
74
75 #endif /* _DtTitleBox_h */
76 /* DON'T ADD ANYTHING AFTER THIS #endif */