Initial import of the CDE 2.1.30 sources from the Open Group.

This commit is contained in:
Peter Howkins
2012-03-10 18:21:40 +00:00
commit 83b6996daa
18978 changed files with 3945623 additions and 0 deletions

View File

@@ -0,0 +1,34 @@
/* $XConsortium: Sep.C /main/2 1995/07/17 14:07:18 drk $ */
/* *
* (c) Copyright 1993, 1994 Hewlett-Packard Company *
* (c) Copyright 1993, 1994 International Business Machines Corp. *
* (c) Copyright 1993, 1994 Sun Microsystems, Inc. *
* (c) Copyright 1993, 1994 Novell, Inc. *
*/
#include "Sep.h"
#include <Xm/Separator.h>
Sep::Sep(MotifUI *parent,
SeparatorStyle style)
: MotifUI(parent, "sep", NULL)
{
_style = style;
_w = XtVaCreateManagedWidget("sep", xmSeparatorWidgetClass,
parent->InnerWidget(),
XmNseparatorType, style, NULL);
}
Sep::Sep(char *category,
MotifUI *parent,
SeparatorStyle style)
: MotifUI(parent, "sep", category)
{
_style = style;
_w = XtVaCreateManagedWidget("sep", xmSeparatorWidgetClass,
parent->InnerWidget(),
XmNseparatorType, style, NULL);
}