Template.h revision 7a84e134
17a84e134Smrg/* $Xorg: Template.h,v 1.5 2001/02/09 02:03:46 xorgcvs Exp $ */
27a84e134Smrg
37a84e134Smrg/*
47a84e134Smrg
57a84e134SmrgCopyright 1987, 1998  The Open Group
67a84e134Smrg
77a84e134SmrgPermission to use, copy, modify, distribute, and sell this software and its
87a84e134Smrgdocumentation for any purpose is hereby granted without fee, provided that
97a84e134Smrgthe above copyright notice appear in all copies and that both that
107a84e134Smrgcopyright notice and this permission notice appear in supporting
117a84e134Smrgdocumentation.
127a84e134Smrg
137a84e134SmrgThe above copyright notice and this permission notice shall be included in
147a84e134Smrgall copies or substantial portions of the Software.
157a84e134Smrg
167a84e134SmrgTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
177a84e134SmrgIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
187a84e134SmrgFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
197a84e134SmrgOPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
207a84e134SmrgAN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
217a84e134SmrgCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
227a84e134Smrg
237a84e134SmrgExcept as contained in this notice, the name of The Open Group shall not be
247a84e134Smrgused in advertising or otherwise to promote the sale, use or other dealings
257a84e134Smrgin this Software without prior written authorization from The Open Group.
267a84e134Smrg
277a84e134Smrg*/
287a84e134Smrg/* $XFree86: xc/lib/Xaw/Template.h,v 1.5 2001/01/17 19:42:32 dawes Exp $ */
297a84e134Smrg
307a84e134Smrg#ifndef _Template_h
317a84e134Smrg#define _Template_h
327a84e134Smrg
337a84e134Smrg#include <X11/Intrinsic.h>
347a84e134Smrg
357a84e134Smrg/****************************************************************
367a84e134Smrg *
377a84e134Smrg * Template widget
387a84e134Smrg *
397a84e134Smrg ****************************************************************/
407a84e134Smrg
417a84e134Smrg/* Resources:
427a84e134Smrg
437a84e134Smrg Name		     Class		RepType		Default Value
447a84e134Smrg ----		     -----		-------		-------------
457a84e134Smrg background	     Background		Pixel		XtDefaultBackground
467a84e134Smrg border		     BorderColor	Pixel		XtDefaultForeground
477a84e134Smrg borderWidth	     BorderWidth	Dimension	1
487a84e134Smrg destroyCallback     Callback		Pointer		NULL
497a84e134Smrg height		     Height		Dimension	0
507a84e134Smrg mappedWhenManaged   MappedWhenManaged	Boolean		True
517a84e134Smrg sensitive	     Sensitive		Boolean		True
527a84e134Smrg width		     Width		Dimension	0
537a84e134Smrg x		     Position		Position	0
547a84e134Smrg y		     Position		Position	0
557a84e134Smrg
567a84e134Smrg*/
577a84e134Smrg
587a84e134Smrg/* define any special resource names here that are not in <X11/StringDefs.h> */
597a84e134Smrg#define XtNtemplateResource "templateResource"
607a84e134Smrg
617a84e134Smrg#define XtCTemplateResource "TemplateResource"
627a84e134Smrg
637a84e134Smrg/* declare specific TemplateWidget class and instance datatypes */
647a84e134Smrgtypedef struct _TemplateClassRec *TemplateWidgetClass;
657a84e134Smrgtypedef struct _TemplateRec *TemplateWidget;
667a84e134Smrg
677a84e134Smrg/* declare the class constant */
687a84e134Smrgextern WidgetClass templateWidgetClass;
697a84e134Smrg
707a84e134Smrg#endif /* _Template_h */
71