2 ** Copyright (c) 1990 David E. Smyth
4 ** Redistribution and use in source and binary forms are permitted
5 ** provided that the above copyright notice and this paragraph are
6 ** duplicated in all such forms and that any documentation, advertising
7 ** materials, and other materials related to such distribution and use
8 ** acknowledge that the software was developed by David E. Smyth. The
9 ** name of David E. Smyth may not be used to endorse or promote products
10 ** derived from this software without specific prior written permission.
11 ** THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
12 ** WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
13 ** MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
18 * SCCS_data: @(#)AriRegAll.c 1.0 ( 19 June 1990 )
22 * Widget Creation Library - Athena Resource Interpreter
26 * This module contains registration routine for all Athena
27 * widget constructors and classes.
29 * Module_interface_summary:
31 * void AriRegisterAthena ( XtAppContext app )
35 * mm/dd/yy initials function action
36 * -------- -------- -------- ---------------------------------------------
37 * 06/19/90 D.Smyth all create.
41 *******************************************************************************
44 *******************************************************************************
46 *******************************************************************************
49 #include <X11/Xatom.h>
50 #include <X11/Intrinsic.h>
51 #include <X11/StringDefs.h>
53 #include <X11/Xaw/AsciiText.h>
54 #include <X11/Xaw/Clock.h>
55 #include <X11/Xaw/Command.h>
56 #include <X11/Xaw/Dialog.h>
57 #include <X11/Xaw/Form.h>
58 #include <X11/Xaw/Label.h>
59 #include <X11/Xaw/MenuButton.h>
60 #include <X11/Xaw/SimpleMenu.h>
61 #include <X11/Xaw/SmeBSB.h>
62 #include <X11/Xaw/SmeLine.h>
64 #ifdef Use_AtLabel /* djf's formatted text stuff... */
69 #include <X11/Xaw/Cardinals.h>
71 void AriRegisterAthena ( app )
75 #define RCN( name, class ) WcRegisterClassName ( app, name, class );
77 /* -- register all Athena widget classes */
78 /* Simple Widgets (Chapt 3) */
79 RCN("Command", commandWidgetClass );
80 RCN("Label", labelWidgetClass );
83 RCN("SimpleMenu", simpleMenuWidgetClass );
84 RCN("SmeBSB", smeBSBObjectClass );
85 RCN("SmeLine", smeLineObjectClass );
86 RCN("MenuButton", menuButtonWidgetClass );
88 /* Text Widgets (Chapt 5) */
89 RCN("AsciiText", asciiTextWidgetClass );
90 RCN("Text", textWidgetClass );
92 /* Composite and Constraint Widgets (Chapt 6) */
93 RCN("Dialog", dialogWidgetClass );
94 RCN("Form", formWidgetClass );
96 /* Other Interestng Widgets (not in ref manual) */
97 RCN("Clock", clockWidgetClass );
99 #ifdef Use_AtLabel /* djf's formatted text stuff... */
100 RCN("AtLabel", atLabelWidgetClass );