|
||||
File indexing completed on 2025-01-18 10:14:30
0001 /*********************************************************** 0002 0003 Copyright 1987, 1988, 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 Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts. 0027 0028 All Rights Reserved 0029 0030 Permission to use, copy, modify, and distribute this software and its 0031 documentation for any purpose and without fee is hereby granted, 0032 provided that the above copyright notice appear in all copies and that 0033 both that copyright notice and this permission notice appear in 0034 supporting documentation, and that the name of Digital not be 0035 used in advertising or publicity pertaining to distribution of the 0036 software without specific, written prior permission. 0037 0038 DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING 0039 ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL 0040 DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR 0041 ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, 0042 WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, 0043 ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS 0044 SOFTWARE. 0045 0046 ******************************************************************/ 0047 0048 #ifndef _Xt_RectObjP_h_ 0049 #define _Xt_RectObjP_h_ 0050 0051 #include <X11/RectObj.h> 0052 #include <X11/ObjectP.h> 0053 0054 _XFUNCPROTOBEGIN 0055 0056 /********************************************************** 0057 * Rectangle Object Instance Data Structures 0058 * 0059 **********************************************************/ 0060 /* these fields match CorePart and can not be changed */ 0061 0062 typedef struct _RectObjPart { 0063 Position x, y; /* rectangle position */ 0064 Dimension width, height; /* rectangle dimensions */ 0065 Dimension border_width; /* rectangle border width */ 0066 Boolean managed; /* is widget geometry managed? */ 0067 Boolean sensitive; /* is widget sensitive to user events*/ 0068 Boolean ancestor_sensitive; /* are all ancestors sensitive? */ 0069 }RectObjPart; 0070 0071 typedef struct _RectObjRec { 0072 ObjectPart object; 0073 RectObjPart rectangle; 0074 } RectObjRec; 0075 0076 0077 0078 /******************************************************** 0079 * Rectangle Object Class Data Structures 0080 * 0081 ********************************************************/ 0082 /* these fields match CoreClassPart and can not be changed */ 0083 /* ideally these structures would only contain the fields required; 0084 but because the CoreClassPart cannot be changed at this late date 0085 extraneous fields are necessary to make the field offsets match */ 0086 0087 typedef struct _RectObjClassPart { 0088 0089 WidgetClass superclass; /* pointer to superclass ClassRec */ 0090 String class_name; /* widget resource class name */ 0091 Cardinal widget_size; /* size in bytes of widget record */ 0092 XtProc class_initialize; /* class initialization proc */ 0093 XtWidgetClassProc class_part_initialize; /* dynamic initialization */ 0094 XtEnum class_inited; /* has class been initialized? */ 0095 XtInitProc initialize; /* initialize subclass fields */ 0096 XtArgsProc initialize_hook; /* notify that initialize called */ 0097 XtProc rect1; /* NULL */ 0098 XtPointer rect2; /* NULL */ 0099 Cardinal rect3; /* NULL */ 0100 XtResourceList resources; /* resources for subclass fields */ 0101 Cardinal num_resources; /* number of entries in resources */ 0102 XrmClass xrm_class; /* resource class quarkified */ 0103 Boolean rect4; /* NULL */ 0104 XtEnum rect5; /* NULL */ 0105 Boolean rect6; /* NULL */ 0106 Boolean rect7; /* NULL */ 0107 XtWidgetProc destroy; /* free data for subclass pointers */ 0108 XtWidgetProc resize; /* geom manager changed widget size */ 0109 XtExposeProc expose; /* rediplay rectangle */ 0110 XtSetValuesFunc set_values; /* set subclass resource values */ 0111 XtArgsFunc set_values_hook; /* notify that set_values called */ 0112 XtAlmostProc set_values_almost; /* set values almost for geometry */ 0113 XtArgsProc get_values_hook; /* notify that get_values called */ 0114 XtProc rect9; /* NULL */ 0115 XtVersionType version; /* version of intrinsics used */ 0116 XtPointer callback_private; /* list of callback offsets */ 0117 String rect10; /* NULL */ 0118 XtGeometryHandler query_geometry; /* return preferred geometry */ 0119 XtProc rect11; /* NULL */ 0120 XtPointer extension; /* pointer to extension record */ 0121 } RectObjClassPart; 0122 0123 typedef struct _RectObjClassRec { 0124 RectObjClassPart rect_class; 0125 } RectObjClassRec; 0126 0127 externalref RectObjClassRec rectObjClassRec; 0128 0129 _XFUNCPROTOEND 0130 0131 #endif /*_Xt_RectObjP_h_*/
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |