Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:14:25

0001 /*
0002 
0003 Copyright 1987, 1998  The Open Group
0004 
0005 Permission to use, copy, modify, distribute, and sell this software and its
0006 documentation for any purpose is hereby granted without fee, provided that
0007 the above copyright notice appear in all copies and that both that
0008 copyright notice and this permission notice appear in supporting
0009 documentation.
0010 
0011 The above copyright notice and this permission notice shall be included in
0012 all copies or substantial portions of the Software.
0013 
0014 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
0015 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
0016 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
0017 OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
0018 AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
0019 CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
0020 
0021 Except as contained in this notice, the name of The Open Group shall not be
0022 used in advertising or otherwise to promote the sale, use or other dealings
0023 in this Software without prior written authorization from The Open Group.
0024 
0025 */
0026 
0027 #ifndef _Template_h
0028 #define _Template_h
0029 
0030 #include <X11/Intrinsic.h>
0031 
0032 /****************************************************************
0033  *
0034  * Template widget
0035  *
0036  ****************************************************************/
0037 
0038 /* Resources:
0039 
0040  Name            Class      RepType     Default Value
0041  ----            -----      -------     -------------
0042  background      Background     Pixel       XtDefaultBackground
0043  border          BorderColor    Pixel       XtDefaultForeground
0044  borderWidth         BorderWidth    Dimension   1
0045  destroyCallback     Callback       Pointer     NULL
0046  height          Height     Dimension   0
0047  mappedWhenManaged   MappedWhenManaged  Boolean     True
0048  sensitive       Sensitive      Boolean     True
0049  width           Width      Dimension   0
0050  x           Position       Position    0
0051  y           Position       Position    0
0052 
0053 */
0054 
0055 /* define any special resource names here that are not in <X11/StringDefs.h> */
0056 #define XtNtemplateResource "templateResource"
0057 
0058 #define XtCTemplateResource "TemplateResource"
0059 
0060 /* declare specific TemplateWidget class and instance datatypes */
0061 typedef struct _TemplateClassRec *TemplateWidgetClass;
0062 typedef struct _TemplateRec *TemplateWidget;
0063 
0064 /* declare the class constant */
0065 extern WidgetClass templateWidgetClass;
0066 
0067 #endif /* _Template_h */