Current Path : /compat/linux/proc/self/root/usr/local/include/Xm/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //compat/linux/proc/self/root/usr/local/include/Xm/DisplayP.h |
/* * @OPENGROUP_COPYRIGHT@ * COPYRIGHT NOTICE * Copyright (c) 1990, 1991, 1992, 1993 Open Software Foundation, Inc. * Copyright (c) 1996, 1997, 1998, 1999, 2000 The Open Group * ALL RIGHTS RESERVED (MOTIF). See the file named COPYRIGHT.MOTIF for * the full copyright text. * * This software is subject to an open license. It may only be * used on, with or for operating systems which are themselves open * source systems. You must contact The Open Group for a license * allowing distribution and sublicensing of this software on, with, * or for operating systems which are not Open Source programs. * * See http://www.opengroup.org/openmotif/license for full * details of the license agreement. Any use, reproduction, or * distribution of the program constitutes recipient's acceptance of * this agreement. * * EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS * PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY * WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY * OR FITNESS FOR A PARTICULAR PURPOSE * * EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT * NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL * DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN * ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE * EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGES. */ /* * HISTORY */ /* $XConsortium: DisplayP.h /main/13 1996/11/21 11:32:08 drk $ */ /* (c) Copyright 1989, 1990 DIGITAL EQUIPMENT CORPORATION, MAYNARD, MASS. */ /* (c) Copyright 1987, 1988, 1989, 1990, 1991, 1992 HEWLETT-PACKARD COMPANY */ /* (c) Copyright 1988 MASSACHUSETTS INSTITUTE OF TECHNOLOGY */ /* (c) Copyright 1988 MICROSOFT CORPORATION */ #ifndef _XmDisplayP_h #define _XmDisplayP_h #include <Xm/DesktopP.h> #include <Xm/VendorSEP.h> #include <Xm/DropSMgr.h> #include <Xm/Display.h> #include <Xm/ScreenP.h> /* A little incest */ #include <Xm/DragCP.h> #include <Xm/VirtKeysP.h> #include <Xm/TearOffP.h> #ifdef __cplusplus extern "C" { #endif typedef Widget (*XmDisplayGetDisplayProc)(Display *); typedef struct { XmDisplayGetDisplayProc GetDisplay; XtPointer extension; } XmDisplayClassPart; /* * we make it a appShell subclass so it can have it's own instance * hierarchy */ typedef struct _XmDisplayClassRec{ CoreClassPart core_class; CompositeClassPart composite_class; ShellClassPart shell_class; WMShellClassPart wm_shell_class; VendorShellClassPart vendor_shell_class; TopLevelShellClassPart top_level_shell_class; ApplicationShellClassPart application_shell_class; XmDisplayClassPart display_class; } XmDisplayClassRec; typedef struct _XmModalDataRec{ Widget wid; XmVendorShellExtObject ve; XmVendorShellExtObject grabber; Boolean exclusive; Boolean springLoaded; } XmModalDataRec, *XmModalData; typedef struct { unsigned char dragInitiatorProtocolStyle; unsigned char dragReceiverProtocolStyle; unsigned char userGrabbed; /* flag for menu vs dnd */ WidgetClass dragContextClass; WidgetClass dropTransferClass; WidgetClass dropSiteManagerClass; XmDragContext activeDC; XmDropSiteManagerObject dsm; Time lastDragTime; Window proxyWindow; XmModalData modals; Cardinal numModals; Cardinal maxModals; XtPointer xmim_info; String bindingsString; XmVKeyBindingRec *bindings; XKeyEvent *lastKeyEvent; /* unused */ unsigned char keycode_tag[XmKEYCODE_TAG_SIZE]; /* unused */ int shellCount; XtPointer displayInfo; /* extension */ XtPointer user_data; int motif_version ; XtEnum enable_warp ; Cardinal num_bindings; XtCallbackList dragStartCallback; XtCallbackList noFontCallback; XtCallbackList noRenditionCallback; Boolean displayHasShapeExtension; XtEnum enable_btn1_transfer ; Boolean enable_button_tab ; Boolean enable_etched_in_menu; Boolean default_button_emphasis; Boolean enable_toggle_color; Boolean enable_toggle_visual; Boolean enable_drag_icon; Boolean enable_unselectable_drag; Boolean enable_thin_thickness; Boolean enable_multi_key_bindings; } XmDisplayPart, *XmDisplayPartPtr; typedef struct _XmDisplayInfo { /* so much for information hiding */ Cursor SashCursor; /* Sash.c */ Widget destinationWidget; /* Dest.c */ Cursor TearOffCursor; /* TearOff.c */ XtPointer UniqueStamp; /* UniqueEvnt.c */ XmExcludedParentPaneRec excParentPane;/* TearOff.c */ unsigned short resetFocusFlag; /* TravAct.c */ Boolean traversal_in_progress; /* Traversal.c */ } XmDisplayInfo; typedef struct _XmDisplayRec{ CorePart core; CompositePart composite; ShellPart shell; WMShellPart wm; VendorShellPart vendor; TopLevelShellPart topLevel; ApplicationShellPart application; XmDisplayPart display; } XmDisplayRec; externalref XmDisplayClassRec xmDisplayClassRec; externalref String _Xm_MOTIF_DRAG_AND_DROP_MESSAGE ; #ifdef __cplusplus } /* Close scope of 'extern "C"' declaration which encloses file. */ #endif #endif /* _XmDisplayP_h */ /* DON'T ADD STUFF AFTER THIS #endif */