Template.h

Go to the documentation of this file.
00001 /* $XConsortium: Template.h,v 1.6 94/04/17 20:12:59 converse Exp $ */
00002 
00003 /*
00004 
00005 Copyright (c) 1987  X Consortium
00006 
00007 Permission is hereby granted, free of charge, to any person obtaining a copy
00008 of this software and associated documentation files (the "Software"), to deal
00009 in the Software without restriction, including without limitation the rights
00010 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
00011 copies of the Software, and to permit persons to whom the Software is
00012 furnished to do so, subject to the following conditions:
00013 
00014 The above copyright notice and this permission notice shall be included in
00015 all copies or substantial portions of the Software.
00016 
00017 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
00018 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
00019 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
00020 X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
00021 AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
00022 CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
00023 
00024 Except as contained in this notice, the name of the X Consortium shall not be
00025 used in advertising or otherwise to promote the sale, use or other dealings
00026 in this Software without prior written authorization from the X Consortium.
00027 
00028 */
00029 
00030 #ifndef _Template_h
00031 #define _Template_h
00032 
00033 /****************************************************************
00034  *
00035  * Template widget
00036  *
00037  ****************************************************************/
00038 
00039 /* Resources:
00040 
00041  Name                Class              RepType         Default Value
00042  ----                -----              -------         -------------
00043  background          Background         Pixel           XtDefaultBackground
00044  border              BorderColor        Pixel           XtDefaultForeground
00045  borderWidth         BorderWidth        Dimension       1
00046  destroyCallback     Callback           Pointer         NULL
00047  height              Height             Dimension       0
00048  mappedWhenManaged   MappedWhenManaged  Boolean         True
00049  sensitive           Sensitive          Boolean         True
00050  width               Width              Dimension       0
00051  x                   Position           Position        0
00052  y                   Position           Position        0
00053 
00054 */
00055 
00056 /* define any special resource names here that are not in <X11/StringDefs.h> */
00057 
00058 #define XtNtemplateResource "templateResource"
00059 
00060 #define XtCTemplateResource "TemplateResource"
00061 
00062 /* declare specific TemplateWidget class and instance datatypes */
00063 
00064 typedef struct _TemplateClassRec*       TemplateWidgetClass;
00065 typedef struct _TemplateRec*            TemplateWidget;
00066 
00067 /* declare the class constant */
00068 
00069 extern WidgetClass templateWidgetClass;
00070 
00071 #endif /* _Template_h */

Generated on Sun Mar 4 15:03:55 2007 for Scilab [trunk] by  doxygen 1.5.1