⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 compositep.h

📁 早期freebsd实现
💻 H
字号:
/* $XConsortium: CompositeP.h,v 1.15 91/10/24 13:20:18 converse Exp $ *//***********************************************************Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts,and the Massachusetts Institute of Technology, Cambridge, Massachusetts.                        All Rights ReservedPermission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copies and thatboth that copyright notice and this permission notice appear in supporting documentation, and that the names of Digital or MIT not beused in advertising or publicity pertaining to distribution of thesoftware without specific, written prior permission.  DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDINGALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALLDIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES ORANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THISSOFTWARE.******************************************************************/#ifndef _XtCompositeP_h#define _XtCompositeP_h#include <X11/Composite.h>/************************************************************************ * * Additional instance fields for widgets of (sub)class 'Composite'  * ************************************************************************/typedef struct _CompositePart {    WidgetList  children;	     /* array of ALL widget children	     */    Cardinal    num_children;	     /* total number of widget children	     */    Cardinal    num_slots;           /* number of slots in children array    */    XtOrderProc insert_position;     /* compute position of new child	     */} CompositePart,*CompositePtr;typedef struct _CompositeRec {    CorePart      core;    CompositePart composite;} CompositeRec;/********************************************************************* * *  Additional class fields for widgets of (sub)class 'Composite' * ********************************************************************/typedef struct _CompositeClassPart {    XtGeometryHandler geometry_manager;	  /* geometry manager for children   */    XtWidgetProc      change_managed;	  /* change managed state of child   */    XtWidgetProc      insert_child;	  /* physically add child to parent  */    XtWidgetProc      delete_child;	  /* physically remove child	     */    XtPointer	      extension;	  /* pointer to extension record     */} CompositeClassPart,*CompositePartPtr;typedef struct {    XtPointer next_extension;	/* 1st 4 mandated for all extension records */    XrmQuark record_type;	/* NULLQUARK; on CompositeClassPart */    long version;		/* must be XtCompositeExtensionVersion */    Cardinal record_size;	/* sizeof(CompositeClassExtensionRec) */    Boolean accepts_objects;} CompositeClassExtensionRec, *CompositeClassExtension;typedef struct _CompositeClassRec {     CoreClassPart      core_class;     CompositeClassPart composite_class;} CompositeClassRec;externalref CompositeClassRec compositeClassRec;#define XtCompositeExtensionVersion 1L#define XtInheritGeometryManager ((XtGeometryHandler) _XtInherit)#define XtInheritChangeManaged ((XtWidgetProc) _XtInherit)#define XtInheritInsertChild ((XtWidgetProc) _XtInherit)#define XtInheritDeleteChild ((XtWidgetProc) _XtInherit)#endif /* _XtCompositeP_h *//* DON'T ADD STUFF AFTER THIS #endif */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -